Unofficial API for https://tekstowo.pl
This API has been designed for both Node.JS and Browserside JS.
- Getting the lyrics
- Search
- Grabbing song metadata
- Artist's song list
- Comments
- Popular songs list
- Popular artists list
- Artist details
- Missing translations list
- Missing lyrics list
- Translation edit history
- Lyrics edit history
- User-related functionality (voting, login, submit lyrics, edit meta)
- Advanced (google-based) search
Note: this project uses pnpm and you should use it too.
However, you don't need to use pnpm if you don't want to (instead of pnpm install
etc use npm install
).
- Download or clone the repo
cd
to the repoindex.js
is the main API file. You can require it in your project etc.
If you want to use the browser version, run:
pnpm install
pnpm run build
- Use
TekstowoAPI-browser.js
fromdist/
directory. - Use
require("./TekstowoAPI")
window.TekstowoAPI = new (require("./TekstowoAPI"))(1); // 1 for allorigins proxy
await TekstowoAPI.getLyrics("HammerFall", "Last Man Standing");
Please ensure that you use this API responsibly and for legitimate purposes only. Do not spam the Tekstowo server.
Please note that this unofficial API is not officially supported by Tekstowo. Use this API at your own risk.