Skip to content

iO-Academy/UE-APIs-and-ML

Repository files navigation

University of Edinburgh

APIs and Machine Learning

Pre-course material

Before this course starts, please follow the guide linked below:
Pre-course guide

Introduction to APIs

  • What is an API?

    • 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
      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
  • ChatGPT API

    • 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
      
  • Pandas

    • What is it?
    • Dataframes
    • EXERCISE 5
    Load credit card fraud data from our API and put it into a Pandas Dataframe
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •