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
It is:
The easiest way to use this wrapper is to install it via npm
npm install 7digital-api
or globally
sudo npm install -g 7digital-api
If you have a clean checkout of the code, you must update the git submodules before installing:
git submodule update --init --recursive
Then you can install via npm as usual (for npm >=1.0)
npm install ../path/to/checkout
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, you do so like this:
var api, artists;
api = require('7digital-api').with({
oauthkey: 'MY_KEY_HERE',
oauthsecret: 'MY_SECRET_HERE',
});
artists = new api.Artists()
artists.getReleases({ artistid: 1 }, function(err, data) {
console.dir(data);
});
The 7digital wrapper currently only supports the portions of the API which do not require OAUTH authentication.
To run the tests:
cd spec && node specs.js
To run the json proxy and API explorer:
node server.js
curl http://localhost:3000/artist/details?artistid=1
Please note, This has only really been tested with recent versions of node (>=0.3.1). If you have problems with older versions of node, please try upgrading. You may want to try n if you want to manage multiple versions of node.
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.