Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

posenberg/API_Simple_Intro

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Very Simple Introductions to APIs using Twitter and Python.

You will need to sign up for a developer account. If you have difficulty manuevering through the site, I have a set of visual instructions: here

These files use the tweepy module.

pip install tweepy

You will need your own codes like these (in the Settings Tab on the developer's website) to access the API from python: Make sure to generate your own application codes as these will not work for you.

  • 01_search_twitter.py
    Uses the search() method.
    You can find an example here: Using Python to Find Happy People Around You

  • 02_user_timeline_twitter.py
    This also includes a csv module to save your results to a csv file.
    Uses the user_timeline() method to check on another user's twitter feed.

  • 03_post_to_twitter.py
    Uses update_status() method.
    Note: Make sure to change your application status on Twitter to Read-Write, otherwise you won't be able to post to your account.

About

Python and Twitter API

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.