Introduction
The Poptip API makes it super easy to access the raw data of your questions for use in your application development. If you'd like to gain access, shoot us a request.
Usage
Accessing data is as simple as hitting our API with a GET request. For example, to get all the questions you've asked
GET: http://api.poptip.com/users/YOUR_USER_ID/questions?access_token=YOUR_ACCESS_TOKEN
The response will be formatted as so:
Endpoints
Currently, the Poptip API only supports GET requests. All endpoints are accessible at api.poptip.com. It's assumed a valid access_token is provded with each request.
Users
There are two different endpoints for user data. The first
/users/USER_ID
will return basic information about a user. The second
/users/USER_ID/questions
will return an array of all questions asked by the given user. You can then use those id's to lookup the results of those questions.
Questions
To get the question data and results, hit the /questions endpoint
/questions/QUESTION_ID
The response will contain meta data on the post, the original tweet document, as well as stats, which contains vote distribution, total votes, and total replies. Total votes are all replies that contain a valid option.