Getting data from a complex JSON object
in
Contributed Library Questions
•
1 year ago
Hi
I want to do some data viz with a website's metrics by grabbing a JSON object through an API.
This is an example of the data I'll be using in the JSON object,
I've managed grab the text back from the URL, but I want to extract the data so that can start visually drawing and plotting. For example, getting the number of visitors on a particular article, or getting the headline of the article, and corresponding data etc etc.
I just need to know how to access the data in a JSON object, finding out a particular stat on a particular article etc.
I've looked at every available tutorial and through the forums, but it's very difficult to make sense of, or not clearly explained for a complete noob.
Any help appreciated.
1