McNulty // w7d3

Winter 2015
02/25/2015

Planned schedule and activities

9:00 am: Recover from last night's partying

9:15 am: Interacting with APIs. Using the Twitter API

10:00 am: Tune in to see what's to come this and next week on Fletcher

10:15 am: Challenges, Fletcher data gathering (pair program!) and exploratory analysis

12:00 pm: Lunch

1:30 pm: Back to the joy of working

4:00 pm: Speaker: Greg Reda from Datascope. Some of you worked with his pandas tutorials (on his blog). Dean Malmgren, cofounder of Datascope, will also be here.

6:00 pm: Get out of here

Lecture Notes

w7d2_Twitter_API.ipynb (224.4 KB)

Coming up on Fletcher slides

Reading

Twitter REST API documentation
Specific API documentation: user timeline
Specific API documentation: tweet search
More information on the search api
Specific API documentation: post a new tweet
(Remember, you can't post new tweet with read only access, you need Read&Write access in your app's permissions in apps.twitter.com)

Python requests documentation

tweepy documentation

Python code that allows a different user to sign in, and use the api with their credentials