Anyone knows how to get api data to Max/MSP?

Shaun Hu's icon

I found a api:
https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD
if you just open it, it provides us a real time data like {"USD":4430.19}
I tried use maxurl object to get the data in max but it don't works, may I ask can we just get the pure number(like 4430.19)without any punctuation? I mean then we can use it as a flonum object to control something.
Thanks!

yaniki's icon

It's a question of parsing:

test.zip
application/zip 3.76 KB
Shaun Hu's icon

Hey Yaniki thank you sooooooooooooo much!!!! it works really well!!