by Kgotso Mong
Version 1 (January 8, 2025)
Download (18 downloads)
Fetches lyrics from MusixMatch using an unofficial api from RapidAPI.com
Pass the following keys
𝗯𝗿𝗼𝗮𝗱𝗰𝗮𝘀𝘁 (string, mandatory if return_uri is not passed) : action to use when sending the broadcast
𝗿𝗲𝘁𝘂𝗿𝗻_𝘂𝗿𝗶 (string, mandatory if broadcast is not passed) : flow uri to return lyrics to
𝗮𝘂𝘁𝗵 (string, mandatory if api key is not hardcoded to block 3) : api key
𝗮𝗿𝘁𝗶𝘀𝘁𝘀 (string array, mandatory) : any or all contributing artists
𝘁𝗶𝘁𝗹𝗲 (string, mandatory) : name of song
𝗱𝘂𝗿𝗮𝘁𝗶𝗼𝗻 (integer) : duration of song in seconds
𝗳𝗼𝗿𝗺𝗮𝘁 (string, defaults to 'lrc') : format to return lyrics in, can be either 'json' or 'lrc'
The flow will return the following keys
𝘀𝘂𝗰𝗰𝗲𝘀𝘀 (boolean) : whether the song lyrics were found
𝗹𝘆𝗿𝗶𝗰𝘀 (dictionary) : the song lyrics under the 'lyrics' key in either lrc or json form, the lyrics sync type (currently is always 'line_synced') under 'sync_type' and the lyrics source under 'source'
!!!! 𝗜𝗠𝗣𝗢𝗥𝗧𝗔𝗡𝗧 𝗡𝗢𝗧𝗘 !!!!
Certain variations (Remix, sped-up, etc) may return lyrics from the original song. There is nothing I can really do about this since searching is done server-side