DEV Community

Discussion on: How to use the dev.to API!

Collapse
 
nataliedeweerd profile image
𝐍𝐚𝐭𝐚𝐥𝐢𝐞 𝐝𝐞 𝐖𝐞𝐞𝐫𝐝

If it's only 1 specific article you want to extract, you can use https://dev.to/api/articles/148356, and replace 148356 with the unique post ID. You can then access the title and url keys.

Still trying to find the easiest way to obtain the unique post ID... however you can use this endpoint https://dev.to/api/articles?username=nataliedeweerd and look for the "id" key to find the unique post's ID.

See here for more info docs.forem.com/api/#operation/getU...

Hope that helps somewhat... if not, let me know what you're trying to achieve and I'll help further :)