Before this course starts, please follow the guide linked below:
Pre-course guide
-
- What do we use them for? Why?
-
HTTP(s)
- Requests/Responses
-
HTTP Requests from Python
- Requests lib
- EXERCISE 1 - Interacting with an API
Get the latest Bitcoin price data and output the price of one bitcoin in USD
-
API Structures
- REST
- HTTP Verbs
- HTTP Status Codes
- URL Structures (Resources)
- EXERCISE 2 - GETting data
Output the name and crew size of star starship with ID 3 from the Starwars API
- EXERCISE 3 - Updating data
Send a PUT request to post ID 1 to change the title and/or body
- GraphQL
- Problems with REST
- Demo
- REST
-
- API keys
- OpenAi pip library
pip install --upgrade openai
- EXERCISE 4 - Recreate a lecturer
Simulate a lecturer for a Masters in Finance, Technology and Policy having a conversation with you, a student
-
- What is it?
- Dataframes
- EXERCISE 5
Load credit card fraud data from our API and put it into a Pandas Dataframe