opendata-stuttgart / metaEFA

an easy to use api wrapper for EFA
Other
33 stars 6 forks source link

Limit the response size #15

Open fafu opened 6 years ago

fafu commented 6 years ago

Hi, if I understand your code correct, the actual limit inside a response is set to 100. Is there a parameter I can pass with the request to limit the response to a response with a limited result size (e.g. 10)?

asmaps commented 6 years ago

At the moment not. You would need to make this line dynamic: https://github.com/opendata-stuttgart/metaEFA/blob/master/meta_efa/main/utils.py#L43

PR welcome :-)