Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A suggestion regarding API generation #101

Closed
merl-dev opened this issue Aug 13, 2017 · 4 comments
Closed

A suggestion regarding API generation #101

merl-dev opened this issue Aug 13, 2017 · 4 comments

Comments

@merl-dev
Copy link
Contributor

I have been using a botocore wrapper in Julia using PyCall.jl for the last 6 months or so with zero issues. Digging through the boto3 library I discovered a json api definitions for almost every AWS API. Would it not be best to build the julia interface using these json defs? They seem to kept up to date.

@samoconnor
Copy link

Hi @merl-dev,

You might be interested in similar code-generation stuff that I've been working on in AWSCore.jl.

Here are the results so far:

Generated low-level service-call functions for all the public Amazon Web Services:
https://github.com/JuliaCloud/AWSCore.jl/blob/master/src/Services.jl

Service API packages for all Amazon Web Services:
https://github.com/JuliaAWS

Monolithic AWSSDK package: https://github.com/JuliaCloud/AWSSDK.jl

Documentation generated from docstrings in the API packages:
https://juliacloud.github.io/AWSCore.jl/build/AmazonEC2.html

Code to retrieve official Amazon service definition metadata:
https://github.com/JuliaCloud/AWSCore.jl/blob/master/src/AWSMetadata.jl

Service interface generation code:
https://github.com/JuliaCloud/AWSCore.jl/blob/master/src/AWSAPI.jl

@samoconnor
Copy link

See also JuliaLang/METADATA.jl#10674

@samoconnor
Copy link

@merl-dev
Copy link
Contributor Author

Looks good, will start some tests this w/e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants