I currently working on community discord bot for EQDKP and i would like to ask something about the JSON API.
I currently parsing this domain: https://EQDKP_SERVER/api.php?function=points&atoken=APIKEY&atype=api&format=json
This will be a single discord command !dkp <Character Name> which is gives back a character current DKP point, class, is it hidden or not.
This is how i parse the DKP Points:
$.players[?(@.name == "Character Name")].points[*].points_current_with_twink
This is working fine, and with the class_name is also working.
But when i try to retrieve the "hidden" value it hangs.
This is how i want to retrieve the hidden:
$.players[?(@.name == "Character Name")].hidden
I asked someone, who said the "hidden" var is not in commas, that's why it hangs.
Can someone help how can i solve this issue?