As you may already know, dev.to has an API to fetch articles and users.
Let's give it a try with my favorite HTTP client, httpie:
http https://...
For further actions, you may consider blocking this person and/or reporting abuse
Cool!!
I guess you might want to add throttling on the API based on IP ;)
Yes, but itโs also served from our CDN so itโs not a resource-gobbling endpoint.
๐ฑ
Although cool in and of itself, this also highlights why using autoincremented ids is not a good idea when it comes to protecting users privacy (this is not the case of course since I don't see any critical data in the JSON response).
I always use UUIDs for exactly that reason, and also because it helps when building distributed systems (id clashing is less probable with them)
I'm sorry, my english level is quite low. Should I have written "scrape" ?
I wouldn't say your English is bad, your writing is better than a lot of native speakers ๐
At the time of posting this, DEV has 119,105 registered users. This is so cool ๐
dev.to/api/users/119105
yeah => dev.to/api/users/254188
What about me? I'm in Norway...says so on my profile :P
Norway: 33 users.
38 with Oslo.
i'm sure there's quite a few from Denmark as well :)
Sure, but there are a lot of other countries I didn't put in the list because their count of users is low.
Ah I see, I just assumed it was a complete list because of this line:
Let's have a look at the full statistics below:
And to be fair 38 is more than Ireland ;)
In fact, Norway and Denmark are in "other locations".
I am from Romania. :D
Romania: 45 (Incl Bucharest)
Why?
I've been on the internet since 1997. I have never bothered about location, age, sex, species. (Although secretly I would be excited to converse with a cat.)
1 of 57 from South Africa!
Nice, it shows that this is a small world!
I'm ๐ซ๐ท, but living in Barbados ๐ง๐ง, i would be interested in knowing if i'm the only one from there? ๐ค
I'll have a look at your query this evening.
๐ฆ๐ท ๐ช
Looks like I didn't fill my location, add one for chile
Seem like there is not a lot of people from Cameroon....๐จ๐ฒ๐จ๐ฒ๐จ๐ฒ
I even did not know here is registration.
I'm probably responsible for ~10% of users from South Africa. And might grow ๐
South Africa: 72 (Incl Cape town, Johannesburg)
A bit late.
I'm from India! ๐ฎ๐ณ
I'm from Turkey.
Good Job, I'm from Indonesia
"Full" statistics
It might be interesting to see how the proportion of the different nationalities evolve with time!
Maybe one day we'll spot that dev.to is booming in an unexpected country!
Cheers from France ๐ซ๐ท :)
Where my other 32 Irish at? ๐ฎ๐ช
Oh, that's interesting, how many arr there people from Kazakhstan and Belarus?) Just curious
Latam represent!
No Koreans? :(
ืืฉืจืื ืืคืืื ืื ืืืคืืข ืืจืฉืืื! ืืืื ืืืจ''ื ืงืฆืช ืืืืื ืื ืืืจืื ืืชืื.
ืจืง ืฉืืืฉืื ืืฉืืืฉื ืืฉืชืืฉืื ืืืืขืื ืืืฉืจืื
ืื ืขืืืื ืืืืืื ืืฉืคืจ ืืช ืืืฆื. ืื ืืืจืฅ ืืืืขื ืืื dev.to!
ืกืืื! ื ืชืืื ืืืชืื ืืื ืคืืกืืื ืืืืื ืืขืืจืืช
ืืื, ืื ื ืจืง ืจืืื ืืช ืื ืืืืื ืืฉืืื ืชืืืื ืืฉืคื ืื ืืืื ืืื.
ืชืจืืื ืืืคืฉื: PR in flight?
@ben How can we improve support for RTL languages on dev.to?
Formatting punctuation marks not to automatically be placed at the beginning of a sentence in a RTL language would be a big help.
See github.com/thepracticaldev/dev.to/...