{"id":16015270,"url":"https://github.com/djdeveloperr/hacktoberapi","last_synced_at":"2025-10-16T02:35:05.260Z","repository":{"id":135719687,"uuid":"305362603","full_name":"DjDeveloperr/hacktoberapi","owner":"DjDeveloperr","description":"Simple API to check eligibility of Repositories and Pull Requests for Hacktoberfest.","archived":false,"fork":false,"pushed_at":"2020-10-19T11:49:12.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T02:35:28.594Z","etag":null,"topics":["api","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://hf.djd.wtf","language":"JavaScript","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/DjDeveloperr.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":"2020-10-19T11:33:42.000Z","updated_at":"2020-10-19T11:49:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"0fe6f975-0ae9-42e0-a723-8353c5ca4711","html_url":"https://github.com/DjDeveloperr/hacktoberapi","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"6fde0cec5a8223de566fc21d70c7c9e1b3a93bd2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2Fhacktoberapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2Fhacktoberapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2Fhacktoberapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2Fhacktoberapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DjDeveloperr","download_url":"https://codeload.github.com/DjDeveloperr/hacktoberapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725633,"owners_count":20337670,"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","hacktoberfest"],"created_at":"2024-10-08T15:22:37.610Z","updated_at":"2025-10-16T02:35:05.195Z","avatar_url":"https://github.com/DjDeveloperr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hacktober API\nSimple API to check eligibility of Repositories and Pull Requests for Hacktoberfest. \n\nAPI is hosted [here](https://hf.djd.wtf) at the moment.\n\n## Setup\n`npm install` and `npm start`\nYou also need a `.env` file with your Github Access Token (`TOKEN`).\n\n## API Endpointers\n```http\nGET /api/repo/:user/:repo\n```\n### Parameters\n* user: string - Owner of the Repository\n* repo: string - Repository Name\n\n### Response\nSends JSON with following properties if everything goes right:\n* user: string - Owner of the Repository\n* repo: string - Repository Name\n* eligibile: boolean - Whether Repository is eligibile or not\nIf not found, a Error response with code 404 is sent:\n```json\n{\n\t\"code\": 404,\n\t\"msg\": \"Not Found\"\n}\n```\n\n```http\nGET /api/pr/:user/:repo/:pr_num\n```\n### Parameters\n* user: string - Owner of the Repository\n* repo: string - Repository Name\n* pr_num: number - Pull Request's Number\n\n### Response\nSends JSON with following properties if everything goes right:\n* user: string - Owner of the Repository\n* repo: string - Repository Name\n* pr_num: number - Pull Request's Number\n* merged?: boolean - Whether PR is merged or not\n* repoEligible?: boolean - Whether PR's Repository is eligibile or not\n* eligibile?: boolean - Whether Repository is eligibile or not\n* invalid?: boolean - Whether Repository is invalid (Spam) or not\nElse if something goes wrong, sends a similar error response like above.\n\n### Note\nI'm not so good with docs, you can PR improvments to Docs and Code both :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdeveloperr%2Fhacktoberapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjdeveloperr%2Fhacktoberapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdeveloperr%2Fhacktoberapi/lists"}