Skip to content

Generates info from various web APIs from an artist input.

Notifications You must be signed in to change notification settings

newgren/TwitterBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Twitter Bot

This is a project to demonstrate retrieving information from Twitter API using python. I created my own API with flask to allow these results to be easily retrieved.

API reference

Note: This is a sample project.

Endpoints

GET /hashtag/ input

Get tweets by hashtag.

Request Parameters:

Parameter Type Value
input string name of hashtag to search for

Return information:

Information Format Value
Tweets HTML Most recent few tweets containing the hashtag.

GET /keyword/ input

Get tweets by keyword.

Request Parameters:

Parameter Type Value
input string keyword to search for in tweets

Return information:

Information Format Value
Tweets HTML Most recent few tweets containing the keyword.

GET /geo/ input

Get tweets by location.

Request Parameters:

Parameter Type Value
long float longitude
lat float latitude
radius float radius to search within

Return information:

Information Format Value
Tweets HTML Most recent few tweets within radius

About

Generates info from various web APIs from an artist input.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages