Skip to content
gilfoyle97 edited this page Jan 15, 2022 · 6 revisions
  • HOST:5000/api/tweets/<user>
    • user: It's a username present in the database
    • Returns the count of all tweets collected by that user
  • HOST:5000/api/likes/<user>
    • user: It's a username present in the database
    • Returns the count of all likes for that user
  • HOST:5000/api/retweets/<user>
    • user: It's a username present in the database
    • Returns the count of all retweets for that user
  • HOST:5000/api/followers/<user>
    • user: It's a username present in the database
    • Returns the count of followers (latest observation) for that user
  • HOST:5000/api/tweets/<user>/<date>
    • user: It's a username present in the database
    • date: Date format YYYY-MM-DD
    • Returns the count of tweets collected by that user in the inputted day
  • HOST:5000/api/likes/<user>/<date>
    • user: It's a username present in the database
    • date: Date format YYYY-MM-DD
    • Returns the count of likes for that user in the inputted day
  • HOST:5000/api/retweets/<user>/<date>
    • user: It's a username present in the database
    • date: Date format YYYY-MM-DD
    • Returns the count of retweets for that user in the inputted day
  • HOST:5000/api/followers/<user>/<date>
    • user: It's a username present in the database
    • date: Date format YYYY-MM-DD
    • Returns the count of followers for that user in the inputted day
Clone this wiki locally