Skip to content

LeTourneau-ACM/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

API Walkthrough

Setting Up Environment

  1. Visit https://www.python.org/downloads/ and download version 3.8.5
  2. Make sure you have pip3 installed: $ pip --version
  3. You should see something like: pip 20.2.3 from c:\python\lib\site-packages\pip (python 3.8)
  4. If you are out of date (not version 20.2.3), you can run: $ pip install --upgrade pip
  5. Install the python library for web requests: $ pip install requests
  6. Verify your installation by running
>>> import requests
#### If the library is not found, try reinstalling
>>> quit()

Connecting to the API

(For more public APIs, take a look at https://github.com/public-apis/public-apis)

  1. Navigate to your project folder and clone the GitHub repository for this project:
$ cd ~/projects
$ git clone https://github.com/letourneau-ACM/api
  1. Open the api_demo.py file in IDLE
  2. In your browser, visit https://openlibrary.org/developers/api
  3. Click on the ‘books’ API link
  4. Look up your favorite book and GET the data using the API

About

Resources for APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages