Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FinTech 05-1 APIs

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

Which were objectives for Unit 05 Day 1 APIs?

a)

Use the Python requests library

b)

Use Postman to GET a JSON

c)

Scrape a website

d)

Parse a JSON response

2.

What does API stand for in our context?

a)

American Petroleum Institute

b)

Additional Python Interface

c)

Application Programming Interface

d)

Alternate Pseudo-code Instructions

3.

Which APIs did we discuss or use?

a)

Quandl

b)

NY Times

c)

Plaid

d)

Alpaca

4.

Which are Python request types?

a)

Pull

b)

Get

c)

Put

d)

Post

5.

Which are examples of clients in the client-server model?

a)

Web browser

b)

Routers

c)

Mobile apps

d)

Postman

e)

Command Line

6.

Which data structure do JSON files usually most closely resemble?

a)

Lists

b)

Nested dictionaries

c)

DataFrames

d)

Series

7.

Type the python syntax that allows you to use the main API-calling library:

(a)  

8.

Which response codes mean the call succeeded?

a)

200s

b)

300s

c)

400s

d)

500s

9.

Which command formats a json object with indentions for easier reading?

a)

requests.get(url)

b)

response_data.json()

c)

json.dumps(data)

d)

response_data.content

10.

How was APIs Day 1 for you?

4 lines
11.

Any suggestions for improvement?

4 lines