forked from Chat_things/NeuroDock
25 lines
1.2 KiB
Markdown
25 lines
1.2 KiB
Markdown
# Genius API
|
|
|
|
## Important notes
|
|
### Legal Notice
|
|
|
|
This tool is provided for educational and experimental purposes only.
|
|
|
|
Please be aware that the Genius API Terms of Service **prohibit** web scraping of their website. This project contains code that performs scraping to retrieve song lyrics directly from Genius.com, which may violate those terms.
|
|
|
|
Since Genius does not provide official API endpoints for lyrics due to copyright restrictions, this tool includes scraping functionality as a workaround. However, scraping may result in legal or technical consequences such as IP bans, rate limiting, or other restrictions imposed by Genius.
|
|
|
|
**Use this tool responsibly and at your own risk.** The author does not encourage or endorse violating any third-party terms of service or applicable laws and disclaims any liability arising from misuse.
|
|
|
|
Whenever possible, prefer using official API endpoints and respect copyright laws.
|
|
|
|
## API key required
|
|
This tool requires a Genius API key to work since it fetches song metadata from the Genius API.
|
|
|
|
The API key shuld be stored in `${DATA_DIR}/geniusapi.json` using the following format:
|
|
```json
|
|
{
|
|
"client_id": "<your_client_id>",
|
|
"client_secret": "<your_client_secret>"
|
|
}
|
|
``` |