Changes:
- Removed
?preferLangparameter due to genius API not returning a song language anymore (#20) - Added temporary
?disableFuzzyparameter to optionally disable fuzzy filtering since it's not as accurate as it should be
Fixes:
- Fixed errored response for /translations/:songId - it now sets matches to null and gives a different error message if the provided song ID is invalid (#18)
- Increased ratelimit budget from 5 requests in 15 seconds to 25 requests in 30 seconds
- Fixed inconsistent
errorproperty when no translations are found - Added support for preflight through an OPTIONS request
- Improved ratelimit header consistency
- Removed timestamp property to allow for better caching
- Made documentation more clear
- Added route
/translations/:songIdto receive info about a song's translation pages - Added route
/album/:songIdto get info about the album that the provided song is in - Added parameter
?preferLang=ento always rank results of a certain language higher than the rest - geniURL will now replace inconsistent unicode characters in the properties
title,fullTitle, andartists(#15)
- Added
?thresholdparameter to change the fuzzy search threshold from its default of 0.6 (#7) - Added support for fuzzy searching when using
?qinstead of?artistand?song(#8)
- Minor fixes
- Migrated code to TypeScript
- Added new metadata:
- release date
- featured artists
- images of artists
- lyrics language
- Added
?artistand?songparameters as an alternative to?qfor getting better search results through fuzzy filtering (#4) - Added
matchesproperty that's set to the number of results (0if none were found, ornullon error)
- Added XML format
- API now filters out invisible characters (#1)
- Improvements to reliability
- Added endpoints
/searchto search for the top result and the 10 best matches/search/topto only search for the top result
- Added gzip and brotli encoding