const OpenAPIClientAxios = require('openapi-client-axios').default
const definition = 'https://github.com/allengrant/shopify_openapi/raw/master/shopify_openapi.yaml'
let api = new OpenAPIClientAxios({ definition })
api = await api.init()# Generate the Python Client
openapi-python-client generate \
--url https://github.com/allengrant/shopify_openapi/raw/master/shopify_openapi.yaml
cd shopify-admin-api-clientfrom shopify_admin_api_client import Client
client = Client(base_url="https://example.myshopify.com")Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
We don't currently accept pull requests that directly modify the description artifacts found in this repository. If you have feedback on the descriptions or have found a mismatch between the behavior that is described in this repo and the runtime behavior of the API, please open an issue.
We will gladly accept pull requests for contributions to other files in this repository.
- Fork and clone the repository
- Create a new branch:
git checkout -b my-branch-name - Make your change
- Push to your fork and submit a pull request
- Pat your self on the back and wait for your pull request to be reviewed and merged.
If you find a bug, open an issue. We're actively maintaining this. We understand that Shopify's documentation doesn't always line up exactly with its behavior. That's why this spec is so important. We're documenting how the API really works.