DEV Community

My DEV birthday gift for you: DEV.to Analytics!

Sandor Dargo on November 20, 2019

I joined DEV.to a bit more than two years ago. I don't remember at all how I found this website, but it seemed welcoming. I particularly liked its ...
Collapse
 
helleworld_ profile image
DesirΓ© πŸ‘©β€πŸŽ“πŸ‘©β€πŸ«

Hello, Sandor!

First of all thank you so much for this, I find it really interesting!

However, it isn't working for me. Already have my API key and the project cloned, but the error 'analyzer.py command not found' keeps showing in the console... I'm not really familiar with API's and such, not sure if I'm probably doing something wrong, still would love to test this amazing gift of yours!

Thank you again for this, good day!

Collapse
 
sandordargo profile image
Sandor Dargo

Hi DesirΓ©,

I updated the README, I concentrated on the filename and the option, you have to pass, but you have to put python in front:

python analyzer.py --api-key <YOUR API KEY>

Let me know if this works.

Thanks

Collapse
 
helleworld_ profile image
DesirΓ© πŸ‘©β€πŸŽ“πŸ‘©β€πŸ«

Thank you for your reply Sandor, as I said I'm not familiar with this.

I tried this time including the 'python' at the beggining, and I'm having this message.

I'm probably missing something? Sorry and thank you so much for your patience

Thread Thread
 
sandordargo profile image
Sandor Dargo

No worries! What does this tell you?
python --version

Thread Thread
 
helleworld_ profile image
DesirΓ© πŸ‘©β€πŸŽ“πŸ‘©β€πŸ«

Hello again;

So I was using Python2. Installed Python3 in the Mac and tried again, but now I see this.

I will try again this afternoon with my own laptop at home since I'm not sure this Mac is giving me permission problems or something similar... I will update my answer as soon as I can try this in my laptop!

Thread Thread
 
sandordargo profile image
Sandor Dargo

Thanks for the feedback, indeed I depend on python 3. As it's working with my network settings I can't say I fixed it, but I made an attempt updating how I create a HTTPS connection, please try if you have some time.

Thanks!

Thread Thread
 
helleworld_ profile image
DesirΓ© πŸ‘©β€πŸŽ“πŸ‘©β€πŸ«

Sandor, I'm really happy to announce that it WORKS! 🀩

See here! I'm so happy, thank you for your patience, this is an amazing feature!

Thread Thread
 
sandordargo profile image
Sandor Dargo

That's awesome! Thanks for your comments, you helped me fix two issues already!

Collapse
 
awwsmm profile image
Andrew (he/him) • Edited

This is great, Sandor, thanks! DEV has a "premium" mode where you get some simple statistics on each post (daily reaction and comment counts), plus your daily follower total. It would be interesting if your work could be incorporated into that already-existing dashboard!

This is seriously cool, though. I'm inspired to go out and write my own DEV extension now!

Collapse
 
sandordargo profile image
Sandor Dargo

I might check it with the DEV team. But I would also like to keep this completely open for everyone without having "premium" membership.
@ben what do you think about this?

Collapse
 
ben profile image
Ben Halpern

This is really neat. The in-the-works premium stuff, which has sort of stalled for no other reason than we've had other things rise in priority, is "premium" because we'd ultimately like to make it "non-scalable", so offer folks who really want lots of data access to heavily optimized endpoints rather than having to create realtime data for everyone.

We'll be shipping more general API endpoints and little projects like this really push the ecosystem forward!

Collapse
 
camerenisonfire profile image
Cameren Dolecheck

Excellent write up and even cooler tool. Thank you for your work! I tried it out and it worked perfectly.

Collapse
 
sandordargo profile image
Sandor Dargo

Thanks for your nice words!

Collapse
 
visheshpatel profile image
Vishal Chovatiya

Hey Sandor,

Your each & every article is informative & I am learning a lot from you.

Keep going man.

And yes! those numbers are really spectacular.

Collapse
 
sandordargo profile image
Sandor Dargo

Thanks a lot for your message, such comments mean a lot to me!

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€ • Edited

I'm about the same in posts and following over time so there is a trend here. Very interesting. I suspect but not sure if factors in your Dev membership lifecycle change your traffic.

Collapse
 
sandordargo profile image
Sandor Dargo

What factors do you have in mind?

Collapse
 
torianne02 profile image
Tori Crawford

Sandor this is really neat!! Thank you for taking the time to create it.

Collapse
 
cemuka profile image
Cem Ugur Karacam

Cool work, thanks for this one pretty straightforward. It would be better to use if you make a cli tool from it.