TapToCommunity / tapto

Core TapTo service software
GNU General Public License v3.0
98 stars 13 forks source link

Update taptui.sh script to work with new API #114

Open wizzomafizzo opened 2 days ago

wizzomafizzo commented 2 days ago

Current version of taptui script used the old REST API which no longer exists. All REST calls must be replaced with an equivalent call to the new API, which can with with the tapto.sh -api ... commands.

API CLI command: https://tapto.wiki/Command_Line_Interface#API_Request API https://tapto.wiki/API

wizzomafizzo commented 2 days ago

https://github.com/TapToCommunity/tapto/blob/main/scripts/taptui/taptui.sh

asturur commented 2 days ago

is tapto.sh -api

?

wizzomafizzo commented 1 day ago

is tapto.sh -api

  • a necessity
  • a preference
  • an possibility

?

no preference. it's an easy way to access a websocket client that handles the json-rpc protocol already. i'm not sure if anything ships on mister or not.

my understanding is a combination of that command and the jq command would drop in replace all the broken stuff