Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@coinpaprika/api-nodejs-client
Advanced tools
This library provides convenient way to use Coinpaprika.com API in NodeJS
This library provides convenient way to use Coinpaprika.com API in NodeJS.
Coinpaprika delivers full market data to the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.
npm install @coinpaprika/api-nodejs-client
const CoinpaprikaAPI = require('@coinpaprika/api-nodejs-client');
const client = new CoinpaprikaAPI();
client.getTicker().then(console.log).catch(console.error);
client.getGlobal().then(console.log).catch(console.error);
Check out the Coinpaprika API documentation for more information!
Get global information
const client = new CoinpaprikaAPI();
client.getGlobal().then(console.log).catch(console.error);
Get a list of all cryptocurrencies available on coinpaprika.com.
const client = new CoinpaprikaAPI();
client.getCoins().then(console.log).catch(console.error);
(DEPRECATED) Get information on all tickers or specifed ticker.
args
(optional, default {}
)options
Object Options for the request
options.coinId
String Coinpaprika ID from getCoins()
(optional, default ``)const client = new CoinpaprikaAPI();
client.getTicker().then(console.log).catch(console.error);
client.getTicker({coinId: 'btc-bitcoin'}).then(console.log).catch(console.error);
Get tickers for all coins
params
(optional, default {}
)
coinId
string (optional but required
with historical key)quotes
array of strings (optional)historical
object (optional)
const client = new CoinpaprikaAPI()
client.getAllTickers({
coinId:'btc-bitcoin',
quotes: ['BTC', 'ETH']
}).then(console.log).catch(console.error)
client.getAllTickers({
coinId:'btc-bitcoin',
historical: {
start: '2018-02-15',
end: '2018-02-16',
limit: 2000,
quote: 'btc',
interval: '30m'
}
}).then(console.log).catch(console.error)
CoinpaprikaAPI is available under the MIT license. See the LICENSE file for more info.
FAQs
This library provides convenient way to use Coinpaprika.com API in NodeJS
The npm package @coinpaprika/api-nodejs-client receives a total of 45 weekly downloads. As such, @coinpaprika/api-nodejs-client popularity was classified as not popular.
We found that @coinpaprika/api-nodejs-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
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.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.