{"id":23270395,"url":"https://github.com/kusstar/genius-function","last_synced_at":"2025-04-06T09:41:17.560Z","repository":{"id":104317312,"uuid":"312007871","full_name":"KusStar/genius-function","owner":"KusStar","description":"A function wraps the genius.com API","archived":false,"fork":false,"pushed_at":"2020-11-11T15:33:08.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T08:32:37.481Z","etag":null,"topics":["genius","serverless","vercel"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/KusStar.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-11-11T15:16:11.000Z","updated_at":"2023-03-07T16:20:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c957bfd-23c7-42cd-8cf0-42073f5a4033","html_url":"https://github.com/KusStar/genius-function","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusStar%2Fgenius-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusStar%2Fgenius-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusStar%2Fgenius-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusStar%2Fgenius-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KusStar","download_url":"https://codeload.github.com/KusStar/genius-function/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463808,"owners_count":20942940,"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":["genius","serverless","vercel"],"created_at":"2024-12-19T18:51:29.658Z","updated_at":"2025-04-06T09:41:17.548Z","avatar_url":"https://github.com/KusStar.png","language":"TypeScript","readme":"# genius-function\n\n\u003e A function wraps the genius.com API.\n\n## Usage\n\nBaseURL:  https://genius-function.vercel.app/api\n\n### /artists\n\nExample: https://genius-function.vercel.app/api/artists?id=1985\n\n**id**\n\nID of the artist\n\n**format**\n\nFormat for text bodies related to the document, One or more of `dom`, `plain`, and `html`, separated by `commas`, defaults to `plain`\n\n### /referents\n\nExample: https://genius-function.vercel.app/api/referents?id=2842074\n\n**id**\n\nID of the referent, only support song_id\n\n**format**\n\nFormat for text bodies related to the document, One or more of `dom`, `plain`, and `html`, separated by `commas`, defaults to `plain`\n\n**per_page**\n\nNumber of results, defaults to `10`\n\n**page**\n\nPaginated offset, defaults to `1`\n\n### /search\n\nExample: https://genius-function.vercel.app/api/search?q=frank%20ocean\n\n**q**\n\nThe term to search for\n\n### /songs\n\nExample: https://genius-function.vercel.app/api/songs?id=2842074\n\n**id**\n\nID of the song\n\n**format**\n\nFormat for text bodies related to the document, One or more of `dom`, `plain`, and `html`, separated by `commas`, defaults to `plain`\n\n## Deploy\n\n1. Get your Genius CLIENT ACCESS TOKEN from [Genius](https://genius.com/api-clients)\n\n2. Clone, deploy the project\n  ```\n  \u003e git clone https://github.com/KusStar/genius-function\n  \u003e cd genius-function\n  \u003e yarn deploy\n  vercel --prod\n  ```\n\n3. Set up the `ACCESS_TOKEN` to the [Environment Variables](https://vercel.com/docs/build-step#environment-variables) of your project settings\n\n## Thanks\n\n- [Vercel Serverless Functions](https://vercel.com/docs/serverless-functions)\n\n- [axios](https://github.com/axios/axios)\n\n- [Genius API](https://genius.com/developers)\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkusstar%2Fgenius-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkusstar%2Fgenius-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkusstar%2Fgenius-function/lists"}