jamendo-openapi
v1.0.3
Published
An OpenAPI description of Jamendo API (https://devportal.jamendo.com/)
Downloads
3
Readme
jamendo-openapi
An OpenAPI description of Jamendo API (https://devportal.jamendo.com/)
Disclaimer
The author of this specification does not work for Jamendo. The effort is independent from Jamendo API development.
This initial version offers only support for two operations of the Jamendo API:
\tracks
and \tracks\files
.
The current state is experimental. While the idea is to extend the current spec to the whole Jamendo API, there is no defined schedule.
Contributions and feedback are more than welcome! :)
Install module with npm
npm install jamendo-openapi
Use json description with node.js
jamendoSpec = require('jamendo-openapi');
Use with node.js and swagger-client
Install also swagger-client
:
npm install swagger-client
Use it (a valid API key is needed for API calls):
Swagger = require('swagger-client');
Swagger(require('jamendo-openapi'))
.then(client => {
client.execute({
securities: {authorized: {apikey_auth: '709fa152'}},
operationId: 'searchTracks',
parameters: {search: 'punk'}}).then(...);
});
Access spec files
distr/jamendo.json
distr/jamendo.yaml