{"id":37192086,"url":"https://github.com/developer-kikikaikai/githubapi","last_synced_at":"2026-01-14T22:16:56.152Z","repository":{"id":144553467,"uuid":"214789153","full_name":"developer-kikikaikai/githubapi","owner":"developer-kikikaikai","description":"github api","archived":false,"fork":false,"pushed_at":"2023-02-09T19:57:08.000Z","size":174,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T17:04:32.035Z","etag":null,"topics":["github"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developer-kikikaikai.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-13T08:55:17.000Z","updated_at":"2022-09-28T07:34:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"6bc7912d-7955-47e9-ad2d-f230b95b629c","html_url":"https://github.com/developer-kikikaikai/githubapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developer-kikikaikai/githubapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-kikikaikai%2Fgithubapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-kikikaikai%2Fgithubapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-kikikaikai%2Fgithubapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-kikikaikai%2Fgithubapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developer-kikikaikai","download_url":"https://codeload.github.com/developer-kikikaikai/githubapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-kikikaikai%2Fgithubapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github"],"created_at":"2026-01-14T22:16:55.469Z","updated_at":"2026-01-14T22:16:56.145Z","avatar_url":"https://github.com/developer-kikikaikai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What is this?\nThis is a support tool to use the GitHub API.\n\n### GitHub API\n\nGitHub provices an API to create/update/delete repositories. detail: https://developer.github.com/v3/\nTo use this API, you need \n- To get access_token. There are 2 solutions.\n  - create on [GitHub page](https://github.com/settings/tokens/new)\n  - Create by API. Now I write how to create by using API\n- Call API with access_token\n\nThis tool supports to use GitHub API.\n\n## Get Access Token\n\nAt first, you have to get access token.\n\n### How to get\n\n1. Create GitHub OAuth Application at [here](https://github.com/settings/applications/new).\n\nGitHub APIv3 OAuth sequence, please see sequence.pu.\n\nAuthorization callback URL: Your authorization server\n\nAuthorization callback URL is your authorization server's URI.\nAnd you can get access_token by using code which is in callback URL's query.\n\nPlease see [Authorizing OAuth Apps](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/) to see more detail.\n\n### Support tool: Authorization callback URL server\n\nThis repository provides a server to get access_token.\n#### How to use\n\n1. Install go 1.13\n\n```\ngo get golang.org/dl/go1.13\n~/go/bin/go1.13 download\n```\n\n2. build\n\n```\ncd server\nmake\n```\n\n3. run\n\n```\n#please set client_key and secret from  https://github.com/settings/developers.\nexport SERVER_PORT=port\nexport SERVER_CERT=cert_path\nexport SERVER_KEY=key_path\nexport CLIENT_KEY=client_key\nexport CLIENT_SECRET=secret\n\n ./server/auth_server\n```\n\n4. Call `https://github.com/login/oauth/authorize?client_id=$CLIENT_ID\u0026scope=repo`\n\nYou can get result as \n\n```\n{\"access_token\":\"yyyy\"}\n```\n\n## Call API with access_token\n\n```\ncd repos\n./create_repos.sh testrepos yyyy\n```\n\n```\n$ curl -H \"Authorization: bearer yyyy\" -X POST \\\n    -d '{\"name\":\"repos_name\",\"auto_init\":true or false, ,\"private\":true or false}' \\\n    https://api.github.com/user/repos\n```\n\n## Reference\n\n[GitHub API v3 sample](https://qiita.com/ngs/items/34e51186a485c705ffdb)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-kikikaikai%2Fgithubapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloper-kikikaikai%2Fgithubapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-kikikaikai%2Fgithubapi/lists"}