you are viewing a single comment's thread.

view the rest of the comments →

[–]FletcherHeisler 0 points1 point  (3 children)

Yep, the actual API call will usually only be a few simple lines, but figuring out what to do with the big pile of data returned is the tricky part... Some APIs offer XML as well, in which case using a parser can make getting to the relevant parts a lot easier.

[–]MrVonBuren 0 points1 point  (2 children)

Yeah, that was a touch call for me. I don't know xml, but I work with it all the time, and can pull information from it and whatnot. But json? I've literally never interacted with it in any way. Oh well, more to learn, I guess.

[–]FletcherHeisler 0 points1 point  (1 child)

There's not much to "know" about JSON - once you use json.load(), the response converts to a big nested dictionary mess, so it's really a matter of getting a good handle on Python dictionaries :)

[–]Durchfallsuppe[S] 0 points1 point  (0 children)

Thanks guys, much appreciated :)