correct request
parent
3631681367
commit
e9f03ab2bc
|
|
@ -131,7 +131,7 @@ function setLoadMsg(x) {
|
|||
}
|
||||
function showDetails() {
|
||||
const token = csTokens[ticker];
|
||||
const url = `https://openapiv1.coinstats.app/coins/${token}/info`;
|
||||
const url = `https://openapiv1.coinstats.app/coins/${token}`;
|
||||
Bangle.http(url, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
|
|
@ -142,7 +142,7 @@ function showDetails() {
|
|||
const tokenInfo = JSON.parse(data.resp);
|
||||
const msg = `
|
||||
Details for ${token.toUpperCase()}\n
|
||||
Name: ${tokenInfo.name}\n
|
||||
// Name: ${tokenInfo.name}\n
|
||||
Price: ${tokenInfo.price}\n
|
||||
Market Cap: ${tokenInfo.marketCap}\n
|
||||
// Add more fields as needed
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ "id": "coin_info",
|
||||
"name": "Crypto-Coins Info",
|
||||
"shortName":"Coins Info",
|
||||
"version": "0.06.59",
|
||||
"version": "0.06.60",
|
||||
"description": "Crypto-Coins Infos with the help of the Binance API",
|
||||
"icon": "app.png",
|
||||
"tags": "clkinfo",
|
||||
|
|
|
|||
Loading…
Reference in New Issue