Open API to get Steemit view counts
I needed to access posts' view counts in a programmable way. After some digging I found that Steemit has a private API for that. (Page views are not actually stored at the chain.)
API
In order to replicate same request you need to
- Send a request to steemit.com and get a valid CSRF token.
- Use that token and session, send another request to api/v1/page_view.
or
Just pass the Steemit Post URL to pageview.steem.rocks:
http://pageview.steem.rocks/?url=https://steemit.com/roadmap2018/@steemitblog/steemit-roadmap-2018-community-input-requested
This post has 4897 page views at the moment. :)
Woot. Well said!
@not-a-bird, I knew you were curious about this. ^
good luck to try
Thanks for sharing bro ;)
img credz: pixabay.com
Nice, you got a 62.0% @peaceandlove christmas upgoat, thanks to @omersurer
Want a christmas boost? Minnowbooster's got your back!
The @OriginalWorks bot has determined this post by @emrebeyler to be original material and upvoted it!
To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!
2 years old !BEER
View or trade
BEER
.Hey @emrebeyler, here is a little bit of
BEER
from @isnochys for you. Enjoy it!