16 C
New York
Thursday, April 3, 2025

Exploring DEV.to API. You typically overlook that APIs exist for… | by Joseph Maurer


Joseph Maurer

You typically overlook that APIs exist for many of the platforms you utilize. Whereas some firms lock down their APIs to solely present very restricted data, DEV.to goes the additional mile to supply an especially strong API. Let’s go over what is on the market!

Hyperlink to Challenge: https://www.josephamaurer.com/Tasks/DevAPI/RecentDevPosts.html

Hyperlink to DEV API Documentation: https://docs.forem.com/api/

DEV’s API permits for many fascinating performance. Within the video above, I’m going over a use case the place you pull the newest 100 posts, and create bootstrap playing cards for every. In every card I show three buttons. The primary is both energetic or disabled if the person has a twitter account. That is helpful as a result of I prefer to retweet articles and tag their creators. The second button is a hyperlink to the DEV submit. Lastly the third button opens the API response for the article.

Whereas my instance confirmed articles, there are many various things that the API can return to you. One of many extra fascinating performance is the flexibility to submit an article fully from the API. I don’t know why you’d need to try this, but it surely could possibly be helpful.

All in all, it’s cool to suppose that this performance exists, even in case you can’t discover a sensible use case for it. One of many extra helpful use instances may simply be populating your current articles out of your weblog to your web site.

Let me know what you’d need to do with this API!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles