DEV Community

Cover image for Getting Json array of articles
Jules
Jules

Posted on • Updated on

Getting Json array of articles

After writing my first article on Dev.to, I am unable to get the Json array containing the article I wrote to add this on my website.

I am using the below link to view the Json array:

https://dev.to/api/articles?username=jaynsenda

Is there any configuration I need to do in order to get this array?
Can anyone please help me?

Thanks

Top comments (6)

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

You should probably use the #meta and #json (not #jason) tags, in addition to the #api and #rest tags you already selected. :)

Collapse
 
jaynsenda profile image
Jules

Thanks Jason. I have done the changes.
Will you help me with the issue?

Collapse
 
codemouse92 profile image
Jason C. McDonald

Afraid this is outside my wheelhouse. Just making the community mod rounds. :)

Thread Thread
 
jaynsenda profile image
Jules

Thanks. Guess I will wait for someone to assist

Collapse
 
jaynsenda profile image
Jules • Edited

Never mind, just tried again and got the results.
Seams like articles are visible on API after 24 hours

Collapse
 
stuchl4n3k profile image
Petr Stuchlík

I assume that you have already figured out, but for anyone else: it usually takes some time to propagate articles through the portal and to API.