{"id":19162859,"url":"https://github.com/chethanyadav456/github-api","last_synced_at":"2025-05-07T11:21:23.793Z","repository":{"id":256532607,"uuid":"854273496","full_name":"chethanyadav456/Github-Api","owner":"chethanyadav456","description":"A library for the GitHub API that fetches data from the API.","archived":false,"fork":false,"pushed_at":"2024-11-09T17:13:07.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T21:25:29.689Z","etag":null,"topics":["api","github","github-api","hackertoberfest","javascript","nodejs"],"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/chethanyadav456.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-08T20:37:37.000Z","updated_at":"2024-12-22T20:32:39.000Z","dependencies_parsed_at":"2025-04-20T15:15:19.882Z","dependency_job_id":null,"html_url":"https://github.com/chethanyadav456/Github-Api","commit_stats":null,"previous_names":["chethanyadav456/github-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2FGithub-Api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2FGithub-Api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2FGithub-Api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2FGithub-Api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chethanyadav456","download_url":"https://codeload.github.com/chethanyadav456/Github-Api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251230583,"owners_count":21556119,"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":["api","github","github-api","hackertoberfest","javascript","nodejs"],"created_at":"2024-11-09T09:13:20.748Z","updated_at":"2025-05-07T11:21:23.762Z","avatar_url":"https://github.com/chethanyadav456.png","language":"JavaScript","readme":"# Github API\nA Unofficial library for the GitHub API that fetches data from the API.\n\n[![npm](https://img.shields.io/npm/v/@chethanyadav456/github-api?color=crimson\u0026logo=npm)](https://www.npmjs.com/package/@chethanyadav456/github-api)\n![NPM License](https://img.shields.io/npm/l/%40chethanyadav456%2Fgithub-api?logo=npm)\n![NPM Downloads](https://img.shields.io/npm/d18m/%40chethanyadav456%2Fgithub-api?logo=npm)\n![Discord](https://img.shields.io/discord/807872777490137088?logo=discord\u0026link=https%3A%2F%2Fdiscord.gg%2FKMKas4pTkZ)\n\n[![DeepSource](https://app.deepsource.com/gh/chethanyadav456/Github-Api.svg/?label=code+coverage\u0026show_trend=true\u0026token=iQeRMNE2mbRs0Olsv46Z_gMj)](https://app.deepsource.com/gh/chethanyadav456/Github-Api/)\n[![DeepSource](https://app.deepsource.com/gh/chethanyadav456/Github-Api.svg/?label=active+issues\u0026show_trend=true\u0026token=iQeRMNE2mbRs0Olsv46Z_gMj)](https://app.deepsource.com/gh/chethanyadav456/Github-Api/)\n[![DeepSource](https://app.deepsource.com/gh/chethanyadav456/Github-Api.svg/?label=resolved+issues\u0026show_trend=true\u0026token=iQeRMNE2mbRs0Olsv46Z_gMj)](https://app.deepsource.com/gh/chethanyadav456/Github-Api/)\n\n## Installation\nTo install this package, you can use the following command:\n```bash\nnpm install @chethanyadav456/github-api\n```\n\n## Usage\nTo use this package, you can import it as follows:\n```javascript\nconst GithubAPI = require('@chethanyadav456/github-api');\n```\n\n### Searching for user data\nTo search for user data, you can use the `getUser` method. This method takes a query string as an argument and returns an array of user objects. For example:\n```javascript\nconst github = new GithubAPI();\ngithub.getUser('chethanyadav456').then(data =\u003e {\n  console.log(data);\n});\n```\n\n\n### Searching for repositories\nTo search for repositories, you can use the `getRepos` method. This method takes a query string as an argument and returns an array of repository objects. For example:\n```javascript\nconst github = new GithubAPI();\ngithub.getRepos('chethanyadav456').then(data =\u003e {\n  console.log(data);\n});\n```\n\n## License\nThis project is licensed under the MIT license.\n\n## Contributing\nTo contribute to this project, please follow the guidelines in the [CONTRIBUTING.md](CONTRIBUTING.md) file.\n\n## Security Policy\nTo report a security vulnerability, please use the [Security Policy](SECURITY.md) file.\n\n## Authors\n- M Chethan Yadav\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchethanyadav456%2Fgithub-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchethanyadav456%2Fgithub-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchethanyadav456%2Fgithub-api/lists"}