DEV Community

loading...
Cover image for Getting Json array of articles

Getting Json array of articles

jaynsenda profile image Jules Updated on ・1 min read

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

Discussion (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 Author

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 Author

Thanks. Guess I will wait for someone to assist

Collapse
jaynsenda profile image
Jules Author • 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.

Forem Open with the Forem app