https://github.com/kav-k/newhacks-api-workshop
An Introduction to APIs with Google Cloud, for NewHacks 2020
https://github.com/kav-k/newhacks-api-workshop
Last synced: 8 months ago
JSON representation
An Introduction to APIs with Google Cloud, for NewHacks 2020
- Host: GitHub
- URL: https://github.com/kav-k/newhacks-api-workshop
- Owner: Kav-K
- Created: 2020-02-22T22:20:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T02:40:58.000Z (over 5 years ago)
- Last Synced: 2024-12-27T15:12:36.329Z (10 months ago)
- Size: 45.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
---
![]()
![]()
Introduction
In this beginner level workshop, we will learn what an API is, what they are used for, and how we can apply them effectively inside our own projects! We will begin by gaining an understanding of what HTTP requests are and how they relate to APIs, and we will then begin experimenting with requests ourselves, using them in python, and finally working towards a mini-project where we connect to the Google Cloud Platform’s Places API to retrieve information about places that we search for!
Prerequisites
- A python IDE (I personally reccomend PyCharm from JetBrains (https://www.jetbrains.com/pycharm/) (If you are a student, you can get all jetbrains products for free!)
- The python-pip package manager. This is important because you use it to install third party packages like the “requests” library that we’ll be using in this workshop! If you install PyCharm (above) then this package manager will be installed by default, but otherwise you may have to search for how to install it for your specific IDE, it should be very straightforward.
- A Google Cloud Platform account (You can sign up for free, and you will receive $300 credit on your first sign up, https://cloud.google.com/free)
- Stable internet connection (Get on eduroam or UofT if you aren’t already on it)
- A very basic knowledge of Git (If not, no worries, I’ll go over what you need during the workshop)
Workshop Structure
The actual content of this workshop is split into different parts, each different part represents a different topic that we will be covering and a different concept that we will learn! Each part is in it’s own git branch!
If you don’t know how to switch branches in git, you can do so with the web interface by clicking this button and then choosing a branch from the pop-up that appears:
If you’re familiar with git, you can also clone the repo to your local file system using Github Desktop, or by typing git clone https://github.com/Kav-K/NewHacks-API-Workshop
and then switch branches with git checkout <branch name>
All of the materials you will need for the workshop (except the prerequisites) are all in this repository. In case you get bored of listening to me or have other commitments to attend to during the workshop time slot, you can work on this workshop at home as long as you have this link!
Ready to get started? Click here to go to part-1 (or git checkout part-1)