I've being tryng to make a command that uses this Tarot API:
https://rws-cards-api.herokuapp.com/
the api itself -> https://rws-cards-api.herokuapp.com/api/v1/cards
I want to make something like !tarot Death and get the "meaning_up" from the result of the urlfetch https://rws-cards-api.herokuapp.com/api/v1/cards/search?name=Death
but I don't know hot to get only that field to show up as a response from the command.
I've tried things like this:
or things that look like this```$(eval JSON.parse(decodeURIComponent($(urlfetch json https://rws-cards-api.herokuapp.com/api/v1/cards/search?name=$(querystring).cards.0.meaning_up||`Error!`)```but I still can't figure out how to do it.This is my first time trying to do that kind of commands using jsons, APIs and urlfetchI'll appreciate any advice in the right direction