# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 5
# self = https://watcher.sour.is/conv/6jag67q
@mckinley having a hard time with go and http/json
@novaburst What's the trouble?
@novaburst What's the trouble?
@prologic https://codeberg.org/SimpleWeb/SimplyTranslate-Web/src/branch/master/api.md trying to figure out this thing on 076/novaburst/stcli/cmd/stcli-go
@novaburst

go run main.go -T "stuff" -e "google" -t "es" -f "en" does indeed spit out a response from the api, but you'll likely need to build a struct to map the return values to just what you want (ie the text translation for instance).

you'll likely need to unmarshall the response to pluck out what you need into a string format and return only that.