correct request

master
Martin Zwigl 2025-03-21 22:34:45 +01:00
parent 3631681367
commit e9f03ab2bc
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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",