Alfredo Salzillo
Posted on March 25, 2019
To prevente the abuse of web scraper on dev.to i want to share what i learn about the dev.to v0 api.
Articles
- https://dev.to/api/articles get a list of the latest 30 articles with tags career, discuss and productivity (it seems to be the default list of tags)
- https://dev.to/api/articles?tag=react get the latest 30 articles tagged with react
- https://dev.to/api/articles?page=23&tag=react get the 30 articles at page 23 tagged with react
- https://dev.to/api/articles?username=alfredosalzillo get the latest 30 articles of the user with username alfredosalzillo
Users
- https://dev.to/api/users/by_username?url=alfredosalzillo get the info of the user with username alfredosalzillo
- https://dev.to/api/users/149157 get the info of the user with id 149157
- https://dev.to/api/users/?state=follow_suggestions get a list of follow suggestions
- https://dev.to/api/users/?state=sidebar_suggestions&tag=react i don't now what this really do
- https://dev.to/api/users/by_username get an user with a null username, i think this is a bug.
Tags
- https://dev.to/api/tags get the list of the latest 10 tags
- https://dev.to/api/tags?page=2 get the list of the 10 tags at page 2
💖 💪 🙅 🚩
Alfredo Salzillo
Posted on March 25, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.