Skip to content

Conversation

@kfc35
Copy link

@kfc35 kfc35 commented Oct 15, 2025

A continuation of #511 to address kueda’s comments, adds a new parameter called count_place_id to filter in the desired places. I found a nifty “include” attribute to do this. I also added a custom order_by so you can only order by id or count.

I wrote a couple more tests to test out the attribute for the endpoint (which, if my earlier pull concerning new test methods is merged first #542 and you want to wait a little bit, I can use those methods instead).

Closes #56
Builds upon & Closes #511

If a v2 endpoint is desired, please let me know; I can add one.

@kfc35 kfc35 changed the title feat: places_count endpoint feat: observations/places_count endpoint Oct 15, 2025
@kfc35 kfc35 changed the title feat: observations/places_count endpoint feat: observations/place_count endpoint Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

observation counts in places API endpoint

2 participants