✨ API Request improvements
Opened this issue · 0 comments
benfoxall commented
A few things have changed with user.getRecentTracks
since I created this.
from
/to
timestamps - would allow regions of a timeline to be filled, and could avoid an edge case where a new song playing could miss a track.limit
- seems to support up to 1000 now, could support larger pages (though I did get some errors when I played around with this).json
- although it's cool to be using xslt, there's a json endpoint now which might make persistence easier- errors - looks like there's some more api errors, maybe some retry and backoff rules would be helpful #28
- browser storage - it'd be even easier to cache responses.
idea: maintain a state or regions of data, implement a backfill(user, start, end?)
which will update those regions and cache data.