{"id":19664921,"url":"https://github.com/kremilly/ghpinnedapi","last_synced_at":"2025-08-16T12:07:12.129Z","repository":{"id":207026399,"uuid":"718233675","full_name":"Kremilly/GHPinnedAPI","owner":"Kremilly","description":"Get your pinned repositories api","archived":false,"fork":false,"pushed_at":"2024-04-26T10:55:41.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T03:33:40.959Z","etag":null,"topics":["api","github","github-pinned-api","python","rest-api","web-api"],"latest_commit_sha":null,"homepage":"https://github.com/kremilly/MyApis/wiki/GitHub","language":"Python","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/Kremilly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Kremilly","patreon":"Kremilly","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-11-13T16:56:41.000Z","updated_at":"2025-01-15T17:56:47.000Z","dependencies_parsed_at":"2023-12-01T01:38:58.082Z","dependency_job_id":"d93bdce4-b8d8-4b39-a730-c27b1f2660bd","html_url":"https://github.com/Kremilly/GHPinnedAPI","commit_stats":null,"previous_names":["kremilly/ghpinnedapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kremilly%2FGHPinnedAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kremilly%2FGHPinnedAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kremilly%2FGHPinnedAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kremilly%2FGHPinnedAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kremilly","download_url":"https://codeload.github.com/Kremilly/GHPinnedAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239886980,"owners_count":19713582,"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-pinned-api","python","rest-api","web-api"],"created_at":"2024-11-11T16:19:38.025Z","updated_at":"2025-02-20T17:43:23.515Z","avatar_url":"https://github.com/Kremilly.png","language":"Python","readme":"# ghPinnedAPI\n\nGet your pinned repositories api\n\n\u003e [!warning]\n\u003e This project will no longer be updated. All new updates to this API will be made in the [**MyApis**](https://github.com/kremilly/MyApis) repository, and only security updates will be made in this current repository.\n\n## Using the api on your project\n\nIf you want to add your pinned repositories to your portfolio or website and can't find an API that works for this, then your problems are over. I've created an API that does exactly that, and its usage is extremely easy. Simply pass your GitHub username as a query parameter.\n\n### Example of request\n\n```shell\nhttps://api.kremilly.com/github?user=YOUR_USERNAME\n```\n\n\u003e [!note]\n\u003e *Replace `YOUR_USERNAME` with your GitHub username*\n\n\u003e [!note]\n\u003e *We request the use of the new endpoint; however, the old one is still operational.*\n\n### A simple example of use in JavaScript\n\n```javascript\n// Replace \"kremilly\" for your GitHub username\nfetch('api.kremilly.com/github?user=kremilly').then(\n   json =\u003e json.json()\n).then(callback =\u003e { \n   console.log(callback) \n})\n```\n\n\u003e [!note]\n\u003e *The API will return a JSON with all your pinned repositories (if any; otherwise, it will return an empty JSON)*\n\n\u003e [!note]\n\u003e *See [here](https://github.com/kremilly/ghPinnedAPI/tree/main/examples) others examples in others languages and using Axios.js*\n\n#### Simple output of request:\n\n```json\n{\n    \"description\": \"Get your pinned repositories api\",\n    \"forks\": 0,\n    \"home\": \"https://gh-pin.kremilly.com\",\n    \"languages\": [\n      \"Python\",\n      \"HTML\"\n    ],\n    \"name\": \"ghPinnedAPI\",\n    \"stars\": 1,\n    \"tags\": [\n      \"api\",\n      \"github\",\n      \"python\",\n      \"github-pinned-api\"\n    ],\n    \"url\": \"https://github.com/kremilly/ghPinnedAPI\"\n  }\n```\n\n### Queries Parameters\n\n* `user` Set the username\n\n### Data returned by the API\n\n* `name` Repository name (required)\n* `description` Repository description (optional)\n* `home` Repository home URL (optional)\n* `url` Repository url on GitHub (generated by GitHub)\n* `stars` Repository stars amount (default is `0`)\n* `forks` Repository forks amount (default is `0`)\n* `languages` Repository languages (generated by GitHub)\n* `tags` Repository topics on GitHub (optional)\n\n## Possible messages knowning\n\n* The user does not have any pinned repositores (Status code: 200)\n* User does not exist on GitHub (Status code: 404)\n* Error fetching pinned repositories (Status code: 500)\n\n","funding_links":["https://github.com/sponsors/Kremilly","https://patreon.com/Kremilly"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkremilly%2Fghpinnedapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkremilly%2Fghpinnedapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkremilly%2Fghpinnedapi/lists"}