{"id":13560320,"url":"https://github.com/philsturgeon/codeigniter-restclient","last_synced_at":"2025-04-03T15:32:02.167Z","repository":{"id":595514,"uuid":"230591","full_name":"philsturgeon/codeigniter-restclient","owner":"philsturgeon","description":"STOP USING THIS USE GUZZLE INSTEAD \u003e.\u003c","archived":true,"fork":false,"pushed_at":"2015-01-07T19:30:38.000Z","size":299,"stargazers_count":684,"open_issues_count":6,"forks_count":306,"subscribers_count":67,"default_branch":"master","last_synced_at":"2024-11-04T11:38:53.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://guzzlephp.org","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"go-gl-legacy/glfw","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philsturgeon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-06-18T15:56:46.000Z","updated_at":"2024-10-12T11:57:06.000Z","dependencies_parsed_at":"2022-08-16T10:31:11.852Z","dependency_job_id":null,"html_url":"https://github.com/philsturgeon/codeigniter-restclient","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-restclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-restclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-restclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-restclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philsturgeon","download_url":"https://codeload.github.com/philsturgeon/codeigniter-restclient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247028080,"owners_count":20871644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:00:41.798Z","updated_at":"2025-04-03T15:31:57.153Z","avatar_url":"https://github.com/philsturgeon.png","language":"PHP","readme":"# CodeIgniter-REST Client\n\nCodeIgniter-REST Client is a CodeIgniter library which makes it easy to do use REST services/API's such as Twitter, Facebook and Flickr, whether they are public or hidden behind HTTP Basic/Digest.  The examples below are VERY simple ones and more can much more can be done with it. \n\nPlease take a look at the code to see about things like api_key() and other post/put/delete methods.\n\n## Requirements\n\n1. PHP 5.1+\n2. CodeIgniter 2.0.0+\n3. cURL\n4. CodeIgniter Curl library: http://getsparks.org/packages/curl/show\n\n## Usage\n\n\t// Load the rest client spark\n\t$this-\u003eload-\u003espark('restclient/2.2.1');\n\n\t// Load the library\n\t$this-\u003eload-\u003elibrary('rest');\n\n\t// Set config options (only 'server' is required to work)\n\n\t$config = array('server' \t\t\t=\u003e 'https://example.com/',\n\t\t\t\t\t//'api_key'\t\t\t=\u003e 'Setec_Astronomy'\n\t\t\t\t\t//'api_name'\t\t=\u003e 'X-API-KEY'\n\t\t\t\t\t//'http_user' \t\t=\u003e 'username',\n\t\t\t\t\t//'http_pass' \t\t=\u003e 'password',\n\t\t\t\t\t//'http_auth' \t\t=\u003e 'basic',\n\t\t\t\t\t//'ssl_verify_peer' =\u003e TRUE,\n\t\t\t\t\t//'ssl_cainfo' \t\t=\u003e '/certs/cert.pem'\n\t\t\t\t\t);\n\n\t// Run some setup\n\t$this-\u003erest-\u003einitialize($config);\n\n\t// Pull in an array of tweets\n\t$tweets = $this-\u003erest-\u003eget('statuses/user_timeline/'.$username.'.xml');\n\n## Acknowledgements\n\nCodeIgniter Rest Client was origionally written by Phil Sturgeon, The following people have contributed to this project:\n\n- Chris Kacerguis (https://github.com/kitsched)\n- vlakoff (https://github.com/vlakoff)\n- Steven Bullen (https://github.com/StevenBullen)\n- rhbecker (https://github.com/rhbecker)\n- János Rusiczki (https://github.com/kitsched)\n- David Genelid (https://github.com/junkie)\n- Dmitry Serzhenko (https://github.com/serzhenko) -\u003e Added PATCH support\n- Paul Yasi (https://github.com/paulyasi) -\u003e SSL Peer Verification\n\n","funding_links":[],"categories":["Web Services"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsturgeon%2Fcodeigniter-restclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilsturgeon%2Fcodeigniter-restclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsturgeon%2Fcodeigniter-restclient/lists"}