checkRequest: Check if API request returns an error or success.

Description Usage Arguments

View source: R/checkRequest.R

Description

Stop and print an error message if API call doesn't return 200 status code.

Usage

1
checkRequest(request)

Arguments

request

Object returned by GET()


gmlang/RAirbnb documentation built on May 9, 2017, 12:23 a.m.