This session has now passed. Recording and all resources are here. 


APIs Unlocked: Your Gateway to Seamless Software Integration

Are you curious about how different software applications communicate with each other? Want to learn how to leverage APIs (Application Programming Interfaces) to access web services, integrate systems, and automate tasks? Join us for an engaging online session, "Understanding APIs: A Beginner's Guide," where we will explore the fundamentals of APIs, their practical uses, and how they power modern technology.

In this session, we'll cover:

  • What is an API?
    Learn the basics of APIs, how they function, and their role in enabling communication between software applications.

  • Practical Applications of APIs
    Discover how APIs are used to access web services, integrate systems, and automate routine tasks across various industries.

  • How APIs Work with HTTP
    Understand how APIs utilize HTTP (Hypertext Transfer Protocol) for sending requests and receiving responses, and get familiar with common HTTP methods (GET, POST, PUT, DELETE) and status codes.

  • Introduction to the Python Requests Library
    Get hands-on experience with the Python Requests library, a powerful tool for making HTTP requests and interacting with APIs.

  • Live Demo: Accessing the OpenWeatherMap API
    Watch as we demonstrate how to use the OpenWeatherMap API to fetch real-time weather data, covering everything from setting up your API key to making your first request and interpreting the JSON response.

Speaker bio, Laura Martin

Laura Martin is a Quantum Computing as a Service Administrator at the National Quantum Computing Centre, specializing in cloud engineering, data engineering, and analytics. With expertise in Azure, AWS, and GCP, she has developed and managed data platforms, created multi-API integrations, and optimized cloud resources. Laura's strong background in mathematics and engineering enables her to extract and communicate valuable insights from complex systems, driving innovation and efficiency across various sectors.

Instructions to do BEFORE the event

1. Setting Up Google Colab, Installing Necessary Extensions, and Uploading a Colab .ipynb to Run

Step 1: Access Google Colab

  • Visit colab.google.com

  • Sign in with your Google account if you aren’t already signed in.

  • You may also need to install the Colab extension.

  • It's recommended you use Google Chrome for this.

Step 2: Create or Open a Colab Notebook

  • Once signed in, you can start a new notebook by clicking File > New notebook.

  • Alternatively, you can upload an existing .ipynb file by clicking File > Upload notebook.

Step 3: Upload the Provided .ipynb File to Google Colab

  • Use the file explorer on the left side to upload files by clicking the "Files" icon and then the "Upload" button. You can also use the following code to upload files programmatically:


2. Getting Your Own OpenWeatherMap API Key

Step 1: Sign Up for OpenWeatherMap

  • Visit OpenWeatherMap and click Sign Up in the top right corner.

  • Fill in the required information to create an account.

Step 2: Access the API Section

  • Once signed in, go to the API section by clicking on your profile icon and selecting My API keys or directly navigate to API Keys.

Step 3: Generate a New API Key

  • You will see a button to create a new API key.

  • Click on + Create Key, name your key (optional), and click Generate.

  • Your API key will be displayed. Copy it for future use in your application.


3. Signing Up for a Postman Account

Step 1: Visit Postman Website

Step 2: Create an Account

  • Click the Sign Up for Free button.

  • You can sign up using your email address, or use your Google account or GitHub account for a faster registration process.

Step 3: Enter your Postman Workspace

  • Click the 'Collections' tab at the side.

  • Click the 'Import' button and import the two collection files.

  • Repeat this process for the provided Environment file in the Environment tab

 

If you cannot access the files attached in the event: please click here.