@skuill Looks fine, didn't run the code from this branch, but everything should work as expected. Though I think it's reasonable to get rid of regenerateToken parameter by trying to search for song right after you pull the saved token from MemoryCache (as lyrics search has relatively high API rate limits), but your approach is completely fine if you're going to use musixmatch client only in SearchLyric function.
@skuill Looks fine, didn't run the code from this branch, but everything should work as expected. Though I think it's reasonable to get rid of
regenerateToken
parameter by trying to search for song right after you pull the saved token fromMemoryCache
(as lyrics search has relatively high API rate limits), but your approach is completely fine if you're going to use musixmatch client only inSearchLyric
function.