Loading proofofbrain-blog...

Hidden dPoll API endpoints


Interns and APIs by commitstrip

We're planning to build a SPASingle page application for dPoll's new interface. I have been onboarding @fka (a real frontend wizard, give him a follow) to the STEEM and dPoll. He's interested in building a draft for dPoll's new interface.

He asked mock data examples for the particular dPoll pages. It's very simple and easy to build simple REST APIs with Django, thanks to DRF, so instead of mocking the data, I have deployed a couple of API endpoints including real data.

Questions

GET https://dpoll.xyz/api/v1/questions/

Question detail

GET https://dpoll.xyz/api/v1/questions/gdwcoins/?permlink=who-will-win-the-premier-league

or

GET https://dpoll.xyz/api/v1/questions/866

Team

GET https://dpoll.xyz/api/v1/team/

Sponsors

https://dpoll.xyz/api/v1/sponsors/

Users

https://dpoll.xyz/api/v1/users/

User detail

https://dpoll.xyz/api/v1/users/emrebeyler

I can't guarentee this will stay public to the forever and the API signatures may change.

However, if you want to play with the dPoll data without using the blockchain calls, here is your chance. :-)

H2
H3
H4
3 columns
2 columns
1 column
7 Comments