lai-crypto
v1.0.0
Published
## Description
Readme
lai-crypto
Description
Package to access CoinMarketCap API
Installation
Run one of the following commands to install the library:
npm install lai-cryptoyarn add lai-cryptoRequirements
CoinMarketCap requires an API Key on every request, so you need to sign up here to get your key if you don't have one yet.
It's recommended to keep your key on an .env file and not share it for safety. Then you can use a lib like dotenv and inicialize the Crypto class like below:
const crypto = new Crypto(process.env.API_KEY);