Closed eb2ai closed 10 months ago
Good idea, I will try to add more ways to manipulate the response.
It's done... I have used the same format you used (chess_daily -> last -> rating
) because I found it simpler than using a period (chess_daily.last.raiting
) or square brackets (chess_daily[last][raiting]
).
I appreciate it! I'm not getting it to work, though. I'm sure I'm missing something.
I tried many variations of that with no luck. All them come back with undefined.
Did you update the plugin?
I'm embarrassed. I copied the files and didn't hit update ;)
Result = json:: rating : 2239
Super cool! Any way to remove "json::"?
You don't have to copy them manually, the plugin is on the Community Plugins.
Yes, I was thinking the same thing haha. I'll remove it in the next release.. I dont even remember why did I added in the first place.
For now, you could try with JSON insted of Variable, look at the settings.
I would like to get information that is nested inside the json.
Example https://api.chess.com/pub/player/hikaru/stats
Returns
If Data to show in modal set to
chess_daily
it returns the subset of as expected.I would like to be able to target chess_daily --> last --> rating