{"id":21659776,"url":"https://github.com/alt-art/genius-rs","last_synced_at":"2025-07-17T22:33:05.766Z","repository":{"id":39659499,"uuid":"358738648","full_name":"alt-art/genius-rs","owner":"alt-art","description":"Rust library that allows interact with Genius API","archived":true,"fork":false,"pushed_at":"2023-09-17T21:04:26.000Z","size":69,"stargazers_count":7,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T04:15:36.491Z","etag":null,"topics":["genius-api","genius-lyrics","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/genius-rs","language":"Rust","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/alt-art.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}},"created_at":"2021-04-16T23:03:02.000Z","updated_at":"2023-09-17T21:05:10.000Z","dependencies_parsed_at":"2022-09-20T06:51:10.017Z","dependency_job_id":null,"html_url":"https://github.com/alt-art/genius-rs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/alt-art/genius-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alt-art%2Fgenius-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alt-art%2Fgenius-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alt-art%2Fgenius-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alt-art%2Fgenius-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alt-art","download_url":"https://codeload.github.com/alt-art/genius-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alt-art%2Fgenius-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265672343,"owners_count":23808844,"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-api","genius-lyrics","rust"],"created_at":"2024-11-25T09:31:31.438Z","updated_at":"2025-07-17T22:33:05.503Z","avatar_url":"https://github.com/alt-art.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"![Crates.io](https://img.shields.io/crates/v/genius-rs?color=%2300aa00\u0026style=flat-square) ![Crates.io (recent)](https://img.shields.io/crates/dr/genius-rs?style=flat-square) ![Crates.io](https://img.shields.io/crates/l/genius-rs?style=flat-square)\n\n# genius_rs\n\nRust library that allows interact with Genius API.\n\n\u003e [!WARNING]\n\u003e This library is not maintained anymore due to my lack of interest in genius and my change of focus in development to developing “[commit](https://github.com/alt-art/commit)”\n\n##  Searching for a song\n\n```rust\nuse genius_rs::Genius;\n\n#[tokio::main]\nasync fn main() {\n    let genius = Genius::new(dotenv::var(\"TOKEN\").unwrap());\n    let response = genius.search(\"Ariana Grande\").await.unwrap();\n    println!(\"{}\", response[0].result.full_title);\n}\n```\n\n## Getting lyrics\n\n```rust\nuse genius_rs::Genius;\n\n#[tokio::main]\nasync fn main() {\n    let genius = Genius::new(dotenv::var(\"TOKEN\").unwrap());\n    let response = genius.search(\"Sia\").await.unwrap();\n    let lyrics = genius.get_lyrics(\u0026response[0].result.id).await.unwrap();\n    for verse in lyrics {\n        println!(\"{}\", verse);\n    }\n}\n```\n\n## Getting deeper information for a song by id\n\n```rust\nuse genius_rs::Genius;\n\n#[tokio::main]\nasync fn main() {\n    let genius = Genius::new(dotenv::var(\"TOKEN\").unwrap());\n    let response = genius.search(\"Weeknd\").await.unwrap();\n    let song = genius.get_song(response[0].result.id, \"plain\").await.unwrap();\n    println!(\"{}\", song.media.unwrap()[0].url)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falt-art%2Fgenius-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falt-art%2Fgenius-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falt-art%2Fgenius-rs/lists"}