{"id":22320837,"url":"https://github.com/elmoiv/azapi","last_synced_at":"2025-09-01T08:09:43.113Z","repository":{"id":42209329,"uuid":"166729812","full_name":"elmoiv/azapi","owner":"elmoiv","description":"Get Lyrics from AZLyrics.com like a Boss ~(0_0)~","archived":false,"fork":false,"pushed_at":"2022-08-10T04:25:41.000Z","size":152,"stargazers_count":130,"open_issues_count":2,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-24T10:29:46.703Z","etag":null,"topics":["api","artists","azlyrics","azlyricsapi","lyrics","lyrics-api","lyrics-fetcher","lyrics-search","music","song","songs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elmoiv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"elmoiv","patreon":"elmoiv","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.paypal.me/elmoiv"}},"created_at":"2019-01-21T01:29:00.000Z","updated_at":"2025-08-20T00:40:40.000Z","dependencies_parsed_at":"2022-08-27T23:00:44.556Z","dependency_job_id":null,"html_url":"https://github.com/elmoiv/azapi","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/elmoiv/azapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmoiv%2Fazapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmoiv%2Fazapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmoiv%2Fazapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmoiv%2Fazapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elmoiv","download_url":"https://codeload.github.com/elmoiv/azapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmoiv%2Fazapi/sbom","scorecard":{"id":373633,"data":{"date":"2025-08-11","repo":{"name":"github.com/elmoiv/azapi","commit":"ef28e5a06d23690cef6f3c72f043f1ea55bf7858"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 5/20 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T13:35:16.055Z","repository_id":42209329,"created_at":"2025-08-18T13:35:16.056Z","updated_at":"2025-08-18T13:35:16.056Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273093488,"owners_count":25044437,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","artists","azlyrics","azlyricsapi","lyrics","lyrics-api","lyrics-fetcher","lyrics-search","music","song","songs"],"created_at":"2024-12-04T00:14:58.192Z","updated_at":"2025-09-01T08:09:43.083Z","avatar_url":"https://github.com/elmoiv.png","language":"Python","readme":"# azapi\n\n[![Build Status](https://api.travis-ci.org/elmoiv/azapi.svg?branch=master)](https://travis-ci.org/elmoiv/azapi)\n[![Python version](https://img.shields.io/badge/python-3.x-brightgreen.svg)](https://pypi.org/project/azapi/)\n\nA fast and secure API for AZLyrics.com to get lyrics easily :)\n\n## Features\n\n- Get artist's songs list with Album, Year ...etc\n- Can get results via Google* and Duckduckgo* for accurate results.\n- Save lyrics in a .txt file or any format you like.\n- Avoid BAN using proxy\\*\\* and multiple user agents.\n\n## Installation\n\n`azapi` requires Python 3.\n\nUse `pip` to install the package from PyPI:\n\n```bash\npip install azapi\n```\n\nOr, install the latest version of the package from GitHub:\n\n```bash\npip install git+https://github.com/elmoiv/azapi.git\n```\n\n## Usage\n\n```python\nimport azapi\n\nAPI = azapi.AZlyrics('google', accuracy=0.5)\n\nAPI.artist = 'Tylor Swft'\nAPI.title = 'Bad Blods'\n\nAPI.getLyrics(save=True, ext='lrc')\n\nprint(API.lyrics)\n\n# Correct Artist and Title are updated from webpage\nprint(API.title, API.artist)\n```\n\n## Tests\n\nHere are a few sample tests:\n\n- [Getting lyrics](https://github.com/elmoiv/azapi/tree/master/tests/test1.py)\n- [Getting lyrics (Custom Path)](https://github.com/elmoiv/azapi/tree/master/tests/test7.py)\n- [Getting songs list](https://github.com/elmoiv/azapi/tree/master/tests/test2.py)\n- [Downloading lyrics from a list](https://github.com/elmoiv/azapi/tree/master/tests/test3.py)\n- [Get Lyrics by title only](https://github.com/elmoiv/azapi/tree/master/tests/test4.py)\n- [Using search engine with titles](https://github.com/elmoiv/azapi/tree/master/tests/test5.py)\n- [Using search engine with mistyped title and artist](https://github.com/elmoiv/azapi/tree/master/tests/test6.py)\n\n## Changelog\n\n### v3.0.8 21-02-2022\n- [#17](https://github.com/elmoiv/azapi/pull/17) Use search engine method when normal method fails.\n\n### v3.0.7 03-01-2022\n- [#6](https://github.com/elmoiv/azapi/issues/6) [Re-Fixed] Single albums return relative urls.\n\n### v3.0.6 12-02-2021\n\n- [#11](https://github.com/elmoiv/azapi/issues/11) Fixed proxy not used properly.\n\n### v3.0.5 26-09-2020\n\n- [#10](https://github.com/elmoiv/azapi/issues/10) Fixed one-liner lyrics can't be retrieved.\n- Direct lyrics URLs can now be passed without artist or title.\n- Fixed minor bugs.\n\n### v3.0.4 22-08-2020\n\n- [#9](https://github.com/elmoiv/azapi/issues/9) Update title and artist attributes with exact values from AZLyrics.com.\n- Fixed minor bugs.\n\n### v3.0.3 13-08-2020\n\n- [#8](https://github.com/elmoiv/azapi/issues/8) Fixed `getSongs` not returning all songs.\n\n### v3.0.2 25-07-2020\n\n- [#7](https://github.com/elmoiv/azapi/issues/7) Added the ability to use custom path with `getLyrics`.\n- Added `self.lyrics` and `self.songs` to store last call.\n- Added `self.lyrics_history` that stores all fetched lyrics.\n\n### v3.0.1 07-07-2020\n\n- [#6](https://github.com/elmoiv/azapi/issues/6) Fixed single albums return relative urls.\n\n### v3.0.0 15-06-2020\n\n- Project re-done from scratch.\n- Added the ability to use search engines.\n- Fixed unicode issue with non-english lyrics.\n- Fixed songs list not working for artists with single album.\n- Removed search as it's no longer needed.\n- Fixed NoneType bugs.\n\n### v2.1.0 18-10-2019\n\n- Added search feature to `getSongs` and `getLyrics`.\n- You can use search albums, songs and artists.\n\n### v2.0.1 11-09-2019\n\n- First Release\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/elmoiv/azapi.svg)](https://starchart.cc/elmoiv/azapi)\n\n## Contributing\n\nPlease contribute! If you want to fix a bug, suggest improvements, or add new features to the project, just [open an issue](https://github.com/elmoiv/azapi/issues) or send me a pull request.\n\n\\*_It is adviced not to send too many requests to avoid IP ban by search engines._\n\n_\\*\\*Proxy is set by the user, defult is empty._\n","funding_links":["https://github.com/sponsors/elmoiv","https://patreon.com/elmoiv","https://www.paypal.me/elmoiv"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmoiv%2Fazapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felmoiv%2Fazapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmoiv%2Fazapi/lists"}