Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.56 KB

File metadata and controls

27 lines (19 loc) · 1.56 KB

img

Advanced REST API's

api-guide

Background Context

Questions involving APIs are common for interviews. Sometimes they’re as simple as ‘write a Python script that queries a given endpoint’, sometimes they require you to use recursive functions and format/sort the results.

A great API to use for some practice is the Reddit API. There’s a lot of endpoints available, many that don’t require any form of authentication, and there’s tons of information to be parsed out and presented. Getting comfortable with API calls now can save you some face during technical interviews and even outside of the job market, you might find personal use cases to make your life a little bit easier.

Resources

Read or watch:

  1. Reddit API Docs
  2. Query String

Learning Objectives

By the end of this project, you are excected to be able to explain to anyone without the help of Google.

General

  • How to read API documentation to find the endpoints you’re looking for
  • How to use an API with pagination
  • How to parse JSON results from an API
  • How to make a recursive API call
  • How to sort a dictionary by value