WorksheetsFinTech 05-1 APIs
Total questions: 11
Worksheet time: 6mins
Which were objectives for Unit 05 Day 1 APIs?
Use the Python requests library
Use Postman to GET a JSON
Scrape a website
Parse a JSON response
What does API stand for in our context?
American Petroleum Institute
Additional Python Interface
Application Programming Interface
Alternate Pseudo-code Instructions
Which APIs did we discuss or use?
Quandl
NY Times
Plaid
Alpaca
Which are Python request types?
Pull
Get
Put
Post
Which are examples of clients in the client-server model?
Web browser
Routers
Mobile apps
Postman
Command Line
Which data structure do JSON files usually most closely resemble?
Lists
Nested dictionaries
DataFrames
Series
Type the python syntax that allows you to use the main API-calling library:
(a)
Which response codes mean the call succeeded?
200s
300s
400s
500s
Which command formats a json object with indentions for easier reading?
requests.get(url)
response_data.json()
json.dumps(data)
response_data.content
How was APIs Day 1 for you?
Any suggestions for improvement?
