Created
November 4, 2011 06:39
-
-
Save pinglamb/1338795 to your computer and use it in GitHub Desktop.
damn-api Twitter API Spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"host": "api.twitter.com", | |
"api_groups": [ | |
{ | |
"name": "Timelines", | |
"apis": [ | |
{ | |
"name": "GET statuses/public_timeline", | |
"type": "json", | |
"path": "/1/statuses/public_timeline.json", | |
"method": "GET", | |
"params": { | |
"trim_user": "*boolean", | |
"include_entities": "*boolean" | |
} | |
}, | |
{ | |
"name": "GET statuses/user_timeline", | |
"type": "json", | |
"path": "/1/statuses/user_timeline.json", | |
"method": "GET", | |
"params": { | |
"screen_name": "*string", | |
"count": "*number", | |
"page": "*number" | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Tweets", | |
"apis": [ | |
{ | |
"name": "GET statuses/show/:id", | |
"type": "json", | |
"path": "/1/statuses/show/:id.json", | |
"method": "GET", | |
"url_params": { | |
"id": { | |
"value": "*number", | |
"required": true | |
} | |
}, | |
"params": { | |
"trim_user": "*boolean", | |
"include_entities": "*boolean" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just found that the problem of
\\d
becomesd
eventually is because I haven't update the raw JSON path.