DEV Community

Cover image for This post was updated 2 minutes ago: 263900 posts gathered, 0 Days 00 Hours 00 Mins to go!

This post was updated 2 minutes ago: 263900 posts gathered, 0 Days 00 Hours 00 Mins to go!

GrahamTheDev on March 22, 2021

Quick Links About this page and why I created it Last 50 articles added Stats About this page and why I created it! ❤ I ...
Collapse
 
12944qwerty profile image
12944qwerty •

I assume that April 9th was that last day for gathering every single article? Nice

Collapse
 
grahamthedev profile image
GrahamTheDev •

Yeah so I am currently analysing 9.3 gigs of articles (no images in that).

Going to be doing a post on the best time to post to DEV.to and some other fun stuff with it soon.

Collapse
 
12944qwerty profile image
12944qwerty •

Holy...
How much storage do you have :O

Thread Thread
 
grahamthedev profile image
GrahamTheDev •

Oh loads - I think we currently have 250gb provisioned and only use about 100gb day to day, but it is a VPS so I can add 25gb for about £4 / £5 a month.

Thread Thread
 
12944qwerty profile image
12944qwerty •

Nice! Can I borrow your VPS really quick? XD

Thread Thread
 
grahamthedev profile image
GrahamTheDev •

Haha - if only I could I would but I wouldn’t want anyone seeing all my cobbled together backend code 😜

Collapse
 
grahamthedev profile image
GrahamTheDev •

Has anybody else used the dev.to API yet?

If you have and you have written about it in the past reply to this comment and I will feature your article within this post.

Collapse
 
afif profile image
Temani Afif •

I have use it on my CSS related website to grab my own articles with their stat here: css-challenges.com/blog/

Collapse
 
grahamthedev profile image
GrahamTheDev •

Have you written about it anywhere? I will link to your article if you have!

Thread Thread
 
afif profile image
Temani Afif •

not yet :) will probably do it in the future.

Collapse
 
grahamthedev profile image
GrahamTheDev • • Edited

Actually - hang on, where did you get the viewcounts? Is that a different endpoint?

Nevermind, I realised you can get view counts for your own articles but not for everybody elses.

Thread Thread
 
afif profile image
Temani Afif •

You will find different endpoint for the same purpose and some them requires the API key. This one: docs.forem.com/api/#operation/getU... can give you the viewcounts. I don't think you can get the viewcounts for articles that aren't yours.