{"id":32297541,"url":"https://github.com/flutter-jp/flutter_github_api","last_synced_at":"2026-02-22T03:41:47.627Z","repository":{"id":56829459,"uuid":"210759762","full_name":"flutter-jp/flutter_github_api","owner":"flutter-jp","description":"flutter github v3 api library based on github.dart","archived":false,"fork":false,"pushed_at":"2023-03-21T23:12:11.000Z","size":123,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-11T10:18:57.035Z","etag":null,"topics":["api","flutter","github","package","v3"],"latest_commit_sha":null,"homepage":"http://flutter-github-api.xiaomo.info","language":"Dart","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/flutter-jp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-25T05:06:10.000Z","updated_at":"2019-11-19T00:31:31.000Z","dependencies_parsed_at":"2022-09-02T03:51:33.773Z","dependency_job_id":null,"html_url":"https://github.com/flutter-jp/flutter_github_api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flutter-jp/flutter_github_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-jp%2Fflutter_github_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-jp%2Fflutter_github_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-jp%2Fflutter_github_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-jp%2Fflutter_github_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutter-jp","download_url":"https://codeload.github.com/flutter-jp/flutter_github_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-jp%2Fflutter_github_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T03:17:42.375Z","status":"ssl_error","status_checked_at":"2026-02-22T03:17:31.622Z","response_time":110,"last_error":"SSL_read: 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":["api","flutter","github","package","v3"],"created_at":"2025-10-23T04:44:06.562Z","updated_at":"2026-02-22T03:41:47.605Z","avatar_url":"https://github.com/flutter-jp.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter github api\n[![Pub](https://img.shields.io/pub/v/flutter_github_api.svg)](https://pub.dartlang.org/packages/flutter_github_api)\n\nflutter github v3 api library based on github.dart   \n\n# api extension\n- get authorization\n- third part login\n- get token\n\n# getting start\n```yaml\ndependencies:\n  github: ^0.2.0\n```\n\n\n# usage\n1. third part login\n\n```dart\n    import 'package:flutter_github_api/flutter_github_api.dart';\n    import 'flutter_github_api/entity/index.dart';\n    User user;\n\n    login(String username,String password){\n    \t// how to get clientId and clientSecret please visit https://github.com/settings/apps/new\n        Auth auth = Auth('your clientId', 'your clientSecret');\n        GithubOauth oauth = GithubOauth(auth);\n        oauth.login(username,password).then((result){\n        \tif(result.data == null){\n        \t\t// 1. this means your clientId or clientSecret is error\n        \t\t// 2. this means your username or password is error\n        \t\t// 3. detail information please see result.code and result.message\n        \t} else {\n        \t\tsetState((){\n        \t\t  this.user = result.data;\n        \t\t});\n        \t}\n        });\n    }\n```\n\n\n\n2. get token\n\n```dart\n  import 'package:flutter_github_api/flutter_github_api.dart';\n  import 'flutter_github_api/entity/index.dart';\n  \n    String token='';\n    getToken(String username,String password){\n\t    GithubOauth oauth = GithubOauth(auth);\n\t    oauth.login(username,password).then((result){\n            if(result.data == null){\n                // 1. this means your clientId or clientSecret is error\n                // 2. this means your username or password is error\n                // 3. detail information please see result.code and result.message\n            } else {\n                setState((){\n                  this.token = result.data;\n                });\n            }\n        });\n    }\n```\n\n3. new issue\n```dart\n    import 'package:flutter_github_api/flutter_github_api.dart';\n    import 'flutter_github_api/entity/index.dart';\n    void main() {\n    \t// how to get the token please see No2\n      GitHub github = createGitHubClient(auth:  Authentication.withToken(token));\n      RepositorySlug slug = RepositorySlug(\"flutter_jp\", \"flutter_github_api\");\n      GithubIssueRequest issue = GithubIssueRequest('just a test');\n      github.issues.create(slug, issue);\n    }\n```\n\n\n# image\n![](image/demo.png)\n\n\n# detail \nplease visit [github.dart](https://github.com/SpinlockLabs/github.dart)\n\n# license\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter-jp%2Fflutter_github_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutter-jp%2Fflutter_github_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter-jp%2Fflutter_github_api/lists"}