🚧 stub for CoinmarketCap lib
parent
ef6c04b1cc
commit
5ebc00f311
|
|
@ -0,0 +1,22 @@
|
|||
exports.getQuoteLatest = function(slug) {
|
||||
// Bangle.http("https://pur3.co.uk/hello.txt").then(data=>{
|
||||
// console.log("Got ",data);
|
||||
// // actual response is in data.resp
|
||||
// });
|
||||
// -------------
|
||||
// Prints:
|
||||
//Got {
|
||||
// "t": "http",
|
||||
// "id": "89875941444",
|
||||
// "resp": "Hello World!\n"
|
||||
// }
|
||||
|
||||
// return Bangle.http(serverUrl, {
|
||||
// method: 'GET',
|
||||
// headers: {
|
||||
// 'Authorization': `Basic ${credentials}`
|
||||
// }
|
||||
// });
|
||||
|
||||
return { result: "yo"};
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{ "id": "coin_info",
|
||||
"name": "Crypto-Coins Info",
|
||||
"shortName":"Coins Info",
|
||||
"version": "0.03.28",
|
||||
"version": "0.03.30",
|
||||
"description": "Crypto-Coins Infos with the help of the Coinmarketcap API",
|
||||
"icon": "app.png",
|
||||
"tags": "clkinfo",
|
||||
|
|
@ -16,6 +16,7 @@
|
|||
{"name":"coin_info.app.js","url":"app.js"},
|
||||
{"name":"coin_info.clkinfo.js","url":"clkinfo.js"},
|
||||
{"name":"coin_info.settings.js","url":"settings.js"},
|
||||
{"name":"coin_info.img","url":"app-icon.js","evaluate":true}
|
||||
{"name":"coin_info.img","url":"app-icon.js","evaluate":true},
|
||||
{"name":"coin_info.libCmC.js","url":"libCmC.js"}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue