Generating a client via OpenAPI
The Marketplace API uses Swagger (https://swagger.io/) to facilitate the generation of a ready-to-use client in a wide variety of languages. How does it work?
- Retrieve the Marketplace API template via this address:
Copy the model in the left window of the Swagger editor (https://editor.swagger.io/).
You can safely ignore the error “Semantic error at paths./orders/.post.operationId Operations must have unique operationIds”.
- In the menu of the Swagger editor, click Generate Client and select the language of your choice (PHP, Python, etc.).
- After downloading and extracting the generated code, follow the instructions of the README.md file.