Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 707 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 707 Bytes

etf-ticker-widget.js

A Scriptable widget that shows the yesterday's etf course based on leeway API.

Prerequisites

  • To use this Widget you need an API key from Leeway.
  • You can get this by creating an account here for free:
  • https://leeway.tech/auth/signup
  • You will find your API key in the Account settings.
  • Copy the API key and paste it in line 14:
  • const apiKey = '<INSERT API KEY>

Setup

  • (if not done yet) Download the scriptable app form AppStore
  • In Scriptable create a new script
  • Copy the code from script file crypto-ticker-widget.js
  • Create a new widget on homescreen and select this script in scriptable

TODOs

  • Errorhandling (No API Key / API calls reached / API fail)