{"id":15461024,"url":"https://github.com/nt4f04und/genius_api_unofficial","last_synced_at":"2025-10-27T23:31:09.971Z","repository":{"id":48552018,"uuid":"262413474","full_name":"nt4f04uNd/genius_api_unofficial","owner":"nt4f04uNd","description":"A Dart library to use Genius lyrics API","archived":false,"fork":false,"pushed_at":"2024-11-13T08:37:23.000Z","size":42,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T00:54:10.278Z","etag":null,"topics":["api","dart","dart-package","genius","library"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nt4f04uNd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":["nt4f04und"],"patreon":"nt4f04und"}},"created_at":"2020-05-08T19:40:42.000Z","updated_at":"2024-11-13T08:37:26.000Z","dependencies_parsed_at":"2024-12-20T05:24:10.363Z","dependency_job_id":"262a4bb2-50c9-4619-8d4b-75830526eef3","html_url":"https://github.com/nt4f04uNd/genius_api_unofficial","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":0.5,"last_synced_commit":"cfc77a7044ff9afb7c4e951c058f0e013554a960"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt4f04uNd%2Fgenius_api_unofficial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt4f04uNd%2Fgenius_api_unofficial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt4f04uNd%2Fgenius_api_unofficial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt4f04uNd%2Fgenius_api_unofficial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nt4f04uNd","download_url":"https://codeload.github.com/nt4f04uNd/genius_api_unofficial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238569699,"owners_count":19493916,"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","dart","dart-package","genius","library"],"created_at":"2024-10-01T23:40:34.411Z","updated_at":"2025-10-27T23:31:09.966Z","avatar_url":"https://github.com/nt4f04uNd.png","language":"Dart","funding_links":["https://github.com/sponsors/nt4f04und","https://patreon.com/nt4f04und"],"categories":[],"sub_categories":[],"readme":"\n[![pub package](https://img.shields.io/pub/v/genius_api_unofficial.svg)](https://pub.dev/packages/genius_api_unofficial) [![Codecov](https://codecov.io/gh/nt4f04uNd/genius_api_unofficial/branch/master/graph/badge.svg)](https://codecov.io/gh/nt4f04uNd/genius_api_unofficial)\n\n# Use Genius Lyrics API with ease\n\nThis library provides you with a nice interface to Genius API.\n*It's not an official Genius product*.\n\nAll the available [API documentation](https://docs.genius.com/) is copied\nand adapted into comments for you to see the usage of classes/methods right from an IDE.\n\nAll the API-related classes are prefixed with `GeniusApi`.\n\n## Classes\n\n### Core classes\n\n* `GeniusApiOptions` allows you to configure method calls.\n* `GeniusApiTextFormat` is the requested server response format.\n* `GeniusApiResponse` contains the response of a successful method call.\n* `GeniusApiException` will be thrown when http status code differs from 2xx.\n\n### Main API classes\n\n* `GeniusApiAuth` allows you to get an accessToken, both on server or client.\n* `GeniusApiRaw` provides all the other officially documented methods.\n* `GeniusApi` is basic abstract API class that you can extend to write your own implementations.\n\n## Plans\n\nI'm planning to add some more Genius API implementations in the future\n(like `GeniusApiRawExtended` or `GeniusApiWrapped`).\n\nThere's what I think I will eventually add in new implementations:\n\n* some utility methods\n* fully typed method calls and responses\n* [undocumented endpoints](https://github.com/shaedrich/geniusly/wiki/Undocumented-API-endpoints)\n\nFor now the library only provides the comprehensive interface to Genius API\nthrough the `GeniusApiRaw` implementation, nothing more.\n\n## Usage\n\nEach method is documented fairly well and has pretty the same parameters, as listed\nin the official API doc.\n\nYou can find usage examples for each of them in [tests folder](https://github.com/nt4f04uNd/genius_api_unofficial/tree/master/test/tests).\n\nA simple usage example:\n\n```dart\nfinal api = GeniusApiRaw(\n  accessToken: 'token here',\n// Set all methods to return plain text instead of the default dom format.\n  defaultOptions: GeniusApiOptions(textFormat: GeniusApiTextFormat.plain),\n);\n\n// Get info about song \"https://genius.com/Yxngxr1-riley-reid-lyrics\".\nfinal res = await api.getSong(4585202);\nprint(res.data!['song']['full_title']); // Outputs \"Riley Reid by ​yxngxr1\"\n```\n\n## Further Reading\n\nCheck out the [API docs] for detailed information about all package members.\n\n[API docs]: https://pub.dev/documentation/genius_api_unofficial/latest/\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/nt4f04uNd/genius_api_unofficial/issues\n\n## Links\n\nFor folk seeing this on GitHub\n\n* [Dart pub package](https://pub.dev/packages/genius_api_unofficial)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnt4f04und%2Fgenius_api_unofficial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnt4f04und%2Fgenius_api_unofficial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnt4f04und%2Fgenius_api_unofficial/lists"}