{"id":21833072,"url":"https://github.com/null-none/imguruploadphp","last_synced_at":"2025-03-21T13:45:01.426Z","repository":{"id":146604465,"uuid":"39313886","full_name":"null-none/ImgurUploadPHP","owner":"null-none","description":"Class for use imgur API.","archived":false,"fork":false,"pushed_at":"2015-07-20T03:16:47.000Z","size":171,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T09:28:35.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/null-none.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-18T21:50:12.000Z","updated_at":"2020-11-22T10:46:52.000Z","dependencies_parsed_at":"2023-04-01T06:02:59.848Z","dependency_job_id":null,"html_url":"https://github.com/null-none/ImgurUploadPHP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2FImgurUploadPHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2FImgurUploadPHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2FImgurUploadPHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2FImgurUploadPHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/null-none","download_url":"https://codeload.github.com/null-none/ImgurUploadPHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244807410,"owners_count":20513632,"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-11-27T19:27:45.313Z","updated_at":"2025-03-21T13:45:01.394Z","avatar_url":"https://github.com/null-none.png","language":"PHP","readme":"# ImgurUploadPHP\n\nPHP class for quickly uploading images to Imgur.\n\n``` php\n$imgur = new ImgurUploader;\n$imgur-\u003esetClientId('clientID');\n$result = $imgur-\u003euploadImage('browserling.png');\nif (!$result) {\n  $error = $imgur-\u003egetError();\n  print \"Upload failed. Error: $error\";\n}\nelse if ($result['status'] != 200) {\n  print \"Upload failed. Error: \" . $result['data']['error'];\n  print_r($result);\n}\nelse {\n  print \"Upload successful!\";\n  print_r($result);\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fimguruploadphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnull-none%2Fimguruploadphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fimguruploadphp/lists"}