{"id":20529201,"url":"https://github.com/devlocalhost/pylyrical_api","last_synced_at":"2025-03-06T02:19:01.272Z","repository":{"id":207790670,"uuid":"720103229","full_name":"devlocalhost/pylyrical_api","owner":"devlocalhost","description":"pylyrical_api - lyrics API scraping from genius.com","archived":false,"fork":false,"pushed_at":"2024-07-20T00:27:06.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-21T00:25:01.406Z","etag":null,"topics":["beautifulsoup","beautifulsoup4","bs4","genius","genius-api","genius-lyrics","genius-lyrics-api","lyrics","lyrics-api","lyrics-fetcher","lyrics-finder","lyrics-scraping","python","python-3","python3","scraping","scraping-python","scraping-websites"],"latest_commit_sha":null,"homepage":"","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/devlocalhost.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":"2023-11-17T15:31:01.000Z","updated_at":"2024-07-20T00:27:10.000Z","dependencies_parsed_at":"2023-12-24T01:29:27.899Z","dependency_job_id":"7bc76759-e071-4829-8fd0-e939dcef0b5f","html_url":"https://github.com/devlocalhost/pylyrical_api","commit_stats":null,"previous_names":["devlocalhost/pylyrical_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlocalhost%2Fpylyrical_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlocalhost%2Fpylyrical_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlocalhost%2Fpylyrical_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlocalhost%2Fpylyrical_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlocalhost","download_url":"https://codeload.github.com/devlocalhost/pylyrical_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242133573,"owners_count":20077106,"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":["beautifulsoup","beautifulsoup4","bs4","genius","genius-api","genius-lyrics","genius-lyrics-api","lyrics","lyrics-api","lyrics-fetcher","lyrics-finder","lyrics-scraping","python","python-3","python3","scraping","scraping-python","scraping-websites"],"created_at":"2024-11-15T23:29:58.944Z","updated_at":"2025-03-06T02:19:01.230Z","avatar_url":"https://github.com/devlocalhost.png","language":"Python","readme":"# pylyrical_api\npylyrical_api - lyrics API scraping from genius.com\n\n# API Token\nTo self-host, you need to get an API token from the [api client page](https://genius.com/api-clients). You can then add the API token to a \".env\" file. Example: `GENIUS_API_TOKEN=\"T0K3N\"`\n\n# Usage\n- API endpoint: /lyrics\n- Acceptable parameters: q\n  - Example: /lyrics?q=how+do+i+make+you+love+me+the+weeknd\n\nResponses\n- 200\n```json\n{\n    \"artists\": \"\",\n    \"lyrics\": \"\",\n    \"source\": \"\",\n    \"status\": \"200\",\n    \"title\": \"\"\n}\n```\n\n- 400\n```json\n{\n    \"exception\":\n    \"NoParameter\",\n    \"message\": \"Missing parameter 'q'.\",\n    \"status\": \"400\"\n}\n```\n\n- 404\n```json\n{\n    \"exception\": \"NoResults\",\n    \"message\": \"'' did not give any results, Please try a different term.\",\n    \"status\": \"404\"\n}\n```\n\n- 500\n```json\n{\n    \"exception\": \"ScrapeError\",\n    \"message\": \"\",\n    \"status\": \"500\"\n}\n```\n\n- 502\n```json\n{\n    \"exception\": \"RequestConnectionError\",\n    \"message\": \"\",\n    \"status\": \"502\"\n}\n```\n\n# Exceptions/Errors\n- NoParameter: Occurs when no parameter was given.\n  - Returns status code 400.\n- NoResults: Occurs when no results were found.\n  - Returns status code 404.\n- ScrapeError: Occurs when pylyrical cannot scrape lyrics from genius.com\n  - Returns status code 500.\n- RequestConnectionError: Occurs when pylyrical cannot send a request to genius.com\n  - Returns status code 502.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlocalhost%2Fpylyrical_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlocalhost%2Fpylyrical_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlocalhost%2Fpylyrical_api/lists"}