10 points | by Baljhin 2 hours ago
3 comments
> But I also wept. How is it possible that two almost identical endpoints have the key names differ on several spots or complete absent.
average legacy PHP backend :)
> "...Tell me your username and i'll give you (six) URLs..."
> (period can be: 7day, 1month, 3month, 6month, 12month or overall)
> Recent tracks
> Loved tracks
> Top tracks
> Top Artists
> Recommended tracks
> Recommended tracks in JSON format
https://github.com/xiffy/lfm
Don't see any slop in the code. Good job!
> But I also wept. How is it possible that two almost identical endpoints have the key names differ on several spots or complete absent.
average legacy PHP backend :)
> "...Tell me your username and i'll give you (six) URLs..."
> (period can be: 7day, 1month, 3month, 6month, 12month or overall)
> Recent tracks
> Loved tracks
> Top tracks
> Top Artists
> Recommended tracks
> Recommended tracks in JSON format
https://github.com/xiffy/lfm
Don't see any slop in the code. Good job!