1.0.6 • Published 2 years ago
versacrypt v1.0.6
#Versa - Cryptos
##Description
With this Lib you can access in your Js Project the CoinMarketCap API
Important
To use this Lib you need to get your API Key on the CoinMarketCap website ('KEY_VALUE')
Methods
To Access the results use as the follow structure
const response = Versa.[method](params).then((response) => {
...
})
Quotes
The Quotes method can receive one or more parameters, always type string.
For example: Versa.quotes(coinCapKey, 'btc', 'eth', ...)
Conversion
The Conversion method receives two strings, first the crypto and then the currency to convert.
For example: Versa.conversion(coinCapKey, "btc", "usd)
coinCapKey
coinCapKey is your CoinMarketCap api Key