PY4E: Chapter 13 (Part 2)

Ace your homework & exams now with Quizwiz!

What kind of variable will you get in Python when the following JSON is parsed: [ "Glenn", "Sally", "Jen" ]

A list with three items

Which of the following is not true about the service-oriented approach?

An application runs together all in one place

Who is credited with getting the JSON movement started?

Douglas Crockford

What protocol does Twitter use to protect its API?

OAuth

Which of these two web service approaches is preferred in most modern service-oriented applications?

REST - Representational state transfer

What happens when you exceed the Google geocoding API rate limit?

You cannot use the API for 24 hours

What Python library do you have to import to parse and handle JSON?

import json

What is the method used to parse a string containing JSON data so that you can work with the data in Python?

json.loads()

What library call do you make to append properly encoded parameters to the end of a URL like the following: http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=Ann+Arbor%2C+MI

urllib.parse.urlencode()

What header does Twitter use to tell you how many more API requests you can make before you will be rate limited?

x-rate-limit-remaining


Related study sets

Chapter Four - Business Data Management

View Set

Chapter 2.1- 2.5 & Quizzes 1 - 3.

View Set

Κεφάλαιο 4ο - ΣΥΝΤΕΛΕΣΤΕΣ ΠΑΡΑΓΩΓΗΣ & ΟΙΚΟΝΟΜΙΚΑ

View Set