Author

Topic: API - JSON FORMAT decode? (Read 526 times)

sr. member
Activity: 308
Merit: 250
verified ✔
February 01, 2014, 05:24:13 PM
#4
sr. member
Activity: 294
Merit: 250
February 01, 2014, 05:20:38 PM
#3
Depends on the scripting language, but most likely you'll get an array or object.
sr. member
Activity: 332
Merit: 250
AwesomeDice.net
February 01, 2014, 05:19:17 PM
#2
What scripting language do you use? Here are examples of different languages used for the API.
To extract the values you want, most often you want to use a JSON-RPC library to parse the results.
newbie
Activity: 2
Merit: 0
February 01, 2014, 03:42:37 PM
#1
Hi, how do I "interpret" the json format from the api call in my script ? I mean, what do I do to get only the 'funds':{'usd':0 (for example) in my string variable at the end ?
Jump to: