check_status: Exception handler: response status

Description Usage Arguments Details

Description

Check if the API request is successful. Note that Zillow API always return '200', and the exact request status and message is buried inside the response.

Usage

1
check_status(response)

Arguments

response

API response

Details

Throw errors if request is not successful and return the failed request code and messages.


estebanangelm/RealEstateR documentation built on May 29, 2019, 10:37 a.m.