Introduction to APIs: how to get bulk data from websites

16 January 2018, 11:00 - 12:30

S3, Alison Richard Bulding, Sidgwick Site

Doing research in the digital age. Introductory digital methods training from Cambridge Digital Humanities

Led by Dr Paul Nulty

Many organisations provide access to data through Application Programming Interfaces which define the form of requests that computer programs should make to communicate with other computer programs. Web APIs, such as those provided by many social media platforms and government agencies, allow researchers to retrieve large amounts of data automatically by sending http requests and parsing the XML or JSON formatted data that is returned. In this session we will explain the concept of an API and work through several examples in python of retrieving data from the twitter and services. Some prior experience with python would help to follow along with the examples, but this is not necessary. 

Spaces are limited and must be booked in advance. Open to PhD students and staff at the University of Cambridge.

Please register here.