SpotifyKit
SpotifyKit copied to clipboard
Future development question
Thanks for this library, I was playing around with it and found it very useful.
So far I had the following problems:
- missing fields in data parsing (ex.
external_urls
,external_ids
etc.) - error handling seems to be missing on malformed responses
- Unaccessible private properties on data models (ex.
images
) - Missing data models (ex.
category
)
Overall the parsing contains very good ideas with generic models and it was a great way getting into Decodable
s.
I mainly used SpotifyItems
, cleaned it up, added a generic collection item that could be reused across all responses containing paginated lists (parsing all fields: limit
, offset
, total
, prev
, next
) and some readability improvements.
My question: Is there a plan to improve this library in the future? Would pull requests be considered?
Many thanks.