{"id":21387731,"url":"https://github.com/bugra9/github-api","last_synced_at":"2025-10-30T17:32:31.158Z","repository":{"id":112659940,"uuid":"64344412","full_name":"bugra9/github-api","owner":"bugra9","description":"Single file GitHub API client (Php, Javascript) - Creating/changing/deleting multiple files in a single commit","archived":false,"fork":false,"pushed_at":"2016-09-01T14:29:46.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T00:22:32.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bugra9.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-27T21:57:03.000Z","updated_at":"2016-07-28T10:03:08.000Z","dependencies_parsed_at":"2023-06-10T13:30:38.607Z","dependency_job_id":null,"html_url":"https://github.com/bugra9/github-api","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/bugra9%2Fgithub-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugra9%2Fgithub-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugra9%2Fgithub-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugra9%2Fgithub-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugra9","download_url":"https://codeload.github.com/bugra9/github-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243870523,"owners_count":20361218,"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-22T12:14:29.598Z","updated_at":"2025-10-30T17:32:26.120Z","avatar_url":"https://github.com/bugra9.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP, Javascript GitHub API\nCreating/changing/deleting multiple files in a single commit\n\n## Basic usage\n### PHP\n```php\n$gh = new Github('user', 'token', 'owner/repo/branch');\n$gh-\u003eadd('path/fileName', 'file content');\n$gh-\u003eadd('path/fileName', 'file content (base64 encoded)', false);\n$gh-\u003ecommit(\"message\");\n// $gh-\u003ecommit(\"message\", \"Author Name\", \"Author Email\");\n```\n\n### Javascript\n```javascript\nvar gh = new Github('user', 'token', 'owner/repo/branch');\ngh.add('path/fileName', 'file content');\ngh.add('path/fileName', 'file content (base64 encoded)', false);\ngh.commit(\"message\"); \n// gh.commit(\"message\", \"Author Name\", \"Author Email\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugra9%2Fgithub-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugra9%2Fgithub-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugra9%2Fgithub-api/lists"}