Closed systems-rebooter closed 7 years ago
Hi!
I am afraid of wasting API calls because of rate_limiting.
One of possible solutions is to change per_page elements to maximum value.
per_page
How can I do this on app side without changing self._per_page = 50 value in discogs_client/models.py?
self._per_page = 50
discogs_client/models.py
Or maybe there are some better workarounds
Thanks!
Yes, the current method would be to set the _per_page value on any paginated response object.
_per_page
e.g.,
rels = ds.artist(1).releases rels._per_page = 100
Cool! Thanks, @rodneykeeling
Hi!
I am afraid of wasting API calls because of rate_limiting.
One of possible solutions is to change
per_page
elements to maximum value.How can I do this on app side without changing
self._per_page = 50
value indiscogs_client/models.py
?Or maybe there are some better workarounds
Thanks!