httr makes http easy. — httr-package" />
Each request returns a
response() object which provides
easy access to status code, cookies, headers, timings, and other useful
info. The content of the request is available as a raw vector
content()), character vector (
or parsed into an R object (
parsed_content()), currently for
html, xml, json, png and jpeg).
httr supports OAuth 1.0 and 2.0. Use
oauth2.0_token() to get user tokens, and
sign_oauth2.0() to sign
requests. The demos directory has twelve demos of using OAuth: four for 1.0
(linkedin, twitter, vimeo, and yahoo) and eight for 2.0 (azure, facebook,
github, google, linkedin, reddit, yahoo, and yelp).