geniURL v2's public instance now requires using the base path api.sv443.net/geniurl/v2/
All requests to api.sv443.net/geniurl/
will use the old version which will be deprecated soon.
Features:
?redirect
parameter for automatic HTTP redirection instead of returning a JSON response (#22)Changes:
"error": false
instead of responding with code 400 and "error": true
. The "message"
prop was also removed.
/search/top
route, the above still applies, but the top
prop will also be set to null
and all
will be an empty array in JSON or <all/>
in XML?disableFuzzy
and ?threshold
parameters altogether (to maybe be added back in the future as an opt-in feature) (#24)Changes:
?preferLang
parameter due to genius API not returning a song language anymore (#20)?disableFuzzy
parameter to optionally disable fuzzy filtering since it's not as accurate as it should beFixes:
error
property when no translations are found/translations/:songId
to receive info about a song's translation pages/album/:songId
to get info about the album that the provided song is in?preferLang=en
to always rank results of a certain language higher than the resttitle
, fullTitle
, and artists
(#15)?threshold
parameter to change the fuzzy search threshold from its default of 0.6 (#7)?q
instead of ?artist
and ?song
(#8)?artist
and ?song
parameters as an alternative to ?q
for getting better search results through fuzzy filtering (#4)matches
property that's set to the number of results (0
if none were found, or null
on error)/search
to search for the top result and the 10 best matches/search/top
to only search for the top result