-
By default, you can check the tweets in this test account: https://twitter.com/TweetMeTest
-
TweetMe web service currently deployed to heroku under the url: http://tweetmeapi.herokuapp.com
-
More info and documentations can found here: https://drive.google.com/open?id=0B3BcAGXdeCtccHluV0pjV0tSZlU
get list of tweets by specific query:
http get: api/text/?q=some+query
post a new tweet:
http post: api/text
http body json: {"message": "YOUR_MESSAGE"}
post a new weather tweet:
http post: api/weather
post a new weather tweet:
http post: api/photos
http body json: {"subject": "YOUR_SUBJECT"}
post a new weather tweet:
http post: api/news
http body json: {"subject": "YOUR_SUBJECT"}
post a new yoda tweet:
http post: api/yoda
http body json: {"message": "YOUR_MESSAGE"}
post a new famous tweet:
http post: api/famous
http body json: {"subject": "YOUR_SUBJECT"}
*subject should be movies or famous, otherwise you get quotes from any category.
news:
$curl -H "Content-Type: application/json" -X POST -d "{\"subject\": \"RapidAPI\"}" http://tweetmeapi.herokuapp.com/api/news
weather:
$curl -X POST http://tweetmeapi.herokuapp.com/api/weather
photos:
$curl -H "Content-Type: application/json" -X POST -d "{\"subject\": \"earth\"}" http://tweetmeapi.herokuapp.com/api/photos
$npm test