Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
7digital-api
Advanced tools
Current head build status:
7digital.com is an online music store operating in over 16 countries and offering more than 11 million high quality DRM free MP3s (320kbps) from all major labels and wide range of idependent labels and distributors. 7digital API will give you access to the full catalogue including high quality album art, 30s preview clips for all tracks, commissions on sales, integrated purchasing and full length streaming. More details at developer.7digital.net
A serverside javascript wrapper round the 7digital API which returns the responses parsed into JavaScript objects. Full code documentation can be found here
Install it via npm
npm install --save 7digital-api
See the examples folder for examples of how to use this. If you have included 7digital-api in your dependencies in the package.json file, you can use the like so:
var api = require('7digital-api'),
artists = new api.Artists();
artists.getReleases({ artistid: 1 }, function(err, data) {
console.dir(data);
});
If you need to supply your own config or want XML responses, you do so like this:
var api, artists;
api = require('7digital-api').configure({
format: 'XML',
consumerkey: 'MY_KEY_HERE',
consumersecret: 'MY_SECRET_HERE',
});
artists = new api.Artists();
artists.getReleases({ artistid: 1 }, function(err, data) {
console.dir(data);
});
See oauth.js in the examples folder for an example of how to acquire an oauth access token to access any of the protected endpoints.
The bundled OAuth module must be used in place of a standard OAuth client
require('7digital-api').oauth,
This is to ensure the tokens are correctly parsed from the XML response.
See developer.7digital.net for full details of the API endpoints and the parameters they accept.
To run the tests:
npm test
FAQs
7digital API client for nodeJS
The npm package 7digital-api receives a total of 290 weekly downloads. As such, 7digital-api popularity was classified as not popular.
We found that 7digital-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.