httr 1.4.3

httr 1.4.2

httr 1.4.1

httr 1.4.0

OAuth

OAuth2.0 has been made somewhat more flexible in order to support more websites:

Updates to demos:

Minor changes and improvements

httr 1.3.1

httr 1.3.0

API changes

New features

OAuth

Minor bug fixes and improvements

httr 1.2.1

httr 1.2.0

New features

Bug fixes and minor improvements

httr 1.1.0

New features

OAuth

Bug fixes and minor improvements

httr 1.0.0

Minor improvements and bug fixes

httr 0.6.1

httr 0.6.0

New features

Minor improvements and bug fixes

Deprecated and deleted functions

httr 0.5

Caching

Minor improvements and bug fixes

httr 0.4

New features

Documentation improvements

Minor improvements

Bug fixes

httr 0.3

OAuth improvements

OAuth 2.0 has recieved a major overhaul in this version. The authentication dance now works in more environments (including RStudio), and is generally a little faster. When working on a remote server, or if R’s internet connection is constrained in other ways, you can now use out-of-band authentication, copying and pasting from any browser to your R session. OAuth tokens from endpoints that regularly expire access tokens can now be refreshed, and will be refresh automatically on authentication failure.

httr now uses project (working directory) based caching: every time you create or refresh a token, a copy of the credentials will be saved in .httr-oauth. You can override this default for individual tokens with the cache parameter, or globally with the httr_oauth_cache option. Supply either a logical vector (TRUE = always cache, FALSE = never cache, NA = ask), or a string (the path to the cache file).

You should NOT include this cache file in source code control - if you do, delete it, and reset your access token through the corresponding web interface. To help, httr will automatically add appropriate entries to .gitignore and .Rbuildignore.

These changes mean that you should only ever have to authenticate once per project, and you can authenticate from any environment in which you can run R. A big thanks go to Craig Citro (@craigcitro) from google, who contributed much code and many ideas to make this possible.

Other improvements

Bug fixes

httr 0.2

httr 0.1.1