BangleApps/apps/coin_info
Martin Zwigl 4af1d136d0 📝 finalize documentation for v1 2025-03-26 12:42:40 +01:00
..
icons try to implent icon for 24h change 2025-03-08 15:46:20 +01:00
screenshots More documentation 2025-03-23 12:11:18 +01:00
.gitignore local copy of pebblePP app with wider font 2025-03-22 22:32:07 +01:00
ChangeLog 📝 finalize documentation for v1 2025-03-26 12:42:40 +01:00
README.md 📝 finalize documentation for v1 2025-03-26 12:42:40 +01:00
app-icon.js app icon 2025-02-23 21:50:57 +01:00
app.js clean up; fix test errors 2025-03-24 15:15:53 +01:00
app.png 🎉 create first files; nightly check-in 2025-02-22 22:45:51 +01:00
app_mono.png 🎉 create first files; nightly check-in 2025-02-22 22:45:51 +01:00
clkinfo.js Fixing with Espruino help - remove last semi-colon; who knew :-) 2025-03-24 19:01:04 +01:00
interface.html 📝 finalize documentation for v1 2025-03-26 12:42:40 +01:00
lib.js minor improvements 2025-03-23 00:06:18 +01:00
metadata.json 📝 finalize documentation for v1 2025-03-26 12:42:40 +01:00
settings.js Also adjusted settings to new Binance API 2025-03-08 02:43:41 +01:00

README.md

Crypto-Coin Info

Crypto-Coins Infos with the help of the Binance and CoinStats API

Description

  • Is a clock_info module and an app
  • I use Pebble++ watch to show a bigger size of clock_info
  • I use a wider, more readable font for Pebble++
  • Upload data via App-Loader interface first!!!

Screenshot Click_Info 01 Screenshot Click_Info 02 Screenshot App BTC Graph Screenshot APP BTC Details Screenshot APP STORJ Low/High

Creator

Martin Zwigl

Parts Infos

App-Loader web-interface

  • Binance
    • Find docs here Binance API
    • For Binance use symbols like BTC,ETH,STORJ
    • For the calc counterpart use USDT (I don't know why USD is measured on the stablecoin) or EUR or other fiat currency
  • Coinstats
    • Find docs here Coinstats API
    • Get an API key at the website. Free is worth 1Mio token, which in turn is worth around 250k - 300k requests per month
    • Supply crypto token in the form of its IDs like bitcoin,ethereum,storj
  • It is not necessary to re-upload the app when uploading data. Data is read with app start

Clock-Info

  • Updates prices with the free Binance API
  • clkInfo updates after around 15 sec and then every x minutes (via settings) thereafter.
  • The token you want to have tracked and compared to what currency have to be uploaded via app loader web-interface
  • After that you can decide which token to display in settings

App

  • Using CoinStats for chart-data
  • token-names on CoinStats are different to Binance; they also have to be uploaded via Interface
  • You also need a CoinStats API access key which is good for a fair amount of calls
  • I tried with gridy for the axis, but for this data - it is just not readable...
  • Let me know when you have good suggestions for improvement.
  • ".." button shows current details for current token
  • "LH" button shows low and high on graph as well as the first and last point in series
  • Swipe L-R changes token you supplied via interface
  • Not much guard-rails in the app -> you should have at least one token (each) present
  • Also the API token and fiat currency you want to match against (eg. USD, EUR)
  • New data is requested every minute, except on button touch

Settings

  • Choose which of the uploaded tokens to display in clock_info
  • Choose update-time for clock_info HTTP requests to Binance

Possible Improvements / TODOs

  • Better choosing of fonts for more space
  • set UI properly to have back button next to widgets
  • clean-up code structure