ZaparooProject / zaparoo-core

Core Zaparoo service software
GNU General Public License v3.0
105 stars 14 forks source link

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

Open wizzomafizzo opened 3 weeks ago

wizzomafizzo commented 3 weeks 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 3 weeks ago

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

asturur commented 3 weeks ago

is tapto.sh -api

?

wizzomafizzo commented 3 weeks 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

Tom-Neverwinter commented 1 week ago

I cannot access either of these pages:

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

attempted to change address to zaparoo instead of tapto

wizzomafizzo commented 1 week ago

I cannot access either of these pages:

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

attempted to change address to zaparoo instead of tapto

Thanks for mentioning. Links should work now. I've made the redirect smarter.