DEV Community


Discussion on: How to use the API to fetch your article statistics

coderallan profile image
Allan Simonsen Author


You can make a GET request to the url just like in the code above.
Then you can loop through the returned json and for each article you can use the id to make a GET request to the{id}
In the returned json you get the body_html or the body_markdown to get the article body.

Have a look at the docs here for more details.

Hope that helps you on your way.