Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.65 KB

README.md

File metadata and controls

26 lines (14 loc) · 1.65 KB

Introduction to the Twitter API

APIs (Application Programming Interfaces) are a structured way for programs to communicate with other programs. A knowledge of APIs allows your programs to communicate with major services such as The New York Times and Twitter and collect data from organizations such as the Library of Congress.

In this session, we'll discuss API fundamentals while using the Twitter API to create a Twitterbot—an automated Twitter account. We'll also discuss the ethical use of APIs and how tools such as APIs have shaped the modern internet.

Important Note

Do not share your API key, secret, or access tokens with anyone, and do not publish code with your key or token visible. Treat your keys and tokens as you would a password.

Getting Your API key
Accessing the API
Creating a Twitterbot
Scraping Data Using the Streaming API
Resources


Session Leader: Patrick Smyth

Creative Commons License

Digital Research Institute (DRI) Curriculum by Graduate Center Digital Initiatives is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at https://github.com/DHRI-Curriculum. When sharing this material or derivative works, preserve this paragraph, changing only the title of the derivative work, or provide comparable attribution.