{"repo":"r-lib/httr","free":true,"listed":false,"github":"https://github.com/r-lib/httr","clone":"git clone https://github.com/r-lib/httr.git","description":"httr: a friendly http package for R","language":"R","stars":980,"topics":["r","curl","http","api"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"httr Status httr is superseded: only changes necessary to keep it on CRAN will be made. We recommend using httr2 instead. --- The aim of httr is to provide a wrapper for the curl package, customised to the demands of modern web APIs. Key features: Functions for the most important http verbs: GET() , HEAD() , PATCH() , PUT() , DELETE() and POST() . Automatic connection sharing across requests to the same website (by default, curl handles are managed automatically), cookies are maintained across requests, and a up-to-date root-level SSL certificate store is used. Requests return a standard reponse object that captures the http status line, headers and body, along with other useful information. Response content is available with content() as a raw vector ( as = \"raw\" ), a character vector ( as = \"text\" ), or parsed into an R object ( as = \"parsed\" ), currently for html, xml, json, png and jpeg. You can convert http errors into R errors with stop for status() . Config functions make it easier to modify the request in common ways: set cookies() , add headers() , authenticate() , use proxy() , verbose() , timeout() , content type() , accept() , progress() . Support for OAuth 1.0 and 2.0 with oauth1.0 token() and oauth2.0 token() . The demo directory has eight OAuth demos: four for 1.0 (twitter, vimeo, withings and yahoo) and four for 2.0 (facebook, github, google, linkedin). OAuth credentials are automatically cached within a project. httr wouldn't be possible without the hard work","default_branch":null,"files":null,"tree":[],"storefront":"/r/r-lib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/r-lib/httr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}