0.9.1
0.9.1
- added rate limit tracking. See
Rate Limits
for more information.
0.9.0
Breaking Changes:
- added
HTTPURLResponse
to results tuple:
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (data, paging, response)):
// access photos
// data -> [PSPhoto]
// paging -> PSPagingInfo
// response -> HTTPURLResponse
}