Skip to main content

Params in API calls to filter data

We need to filter data when using API https://apidocs.user.com/events/get-single-event.html

Now, API returns max 3200 records. There is now way to get data about older events.

There shoud be filters:

  • created TIMESTAMP

  • id INT

GET /events/:id/?created(gt)=2023-02-14 10:00:00&created(lt)<2023-02-15 10:00:00

GET /events/:id/?id(gt)=5000&created(lt)<6000

fieldname(eq|nq|lt|gt)=value

Good example of API https://firmao.pl/api.php

Log in to comment and vote

No comments yet

Be the first to share your thoughts.