mobilizeamerica / api

Docs for MobilizeAmerica's API
50 stars 5 forks source link

timeslot_start=gte_now bringing in unexpected results #19

Closed MikeiLL closed 5 years ago

MikeiLL commented 5 years ago

Hi friends.

This url, I would expect to bring in results that are similar to the ones on this page. It's pulling in every event we've posted.

This url with timeslot_start of now(ish) brings in no events.

Is our Mobilize page pulling from a different set of data, possibly associated with a different organization_id?

kylehg commented 5 years ago

Hey @MikeiLL:

The first API URL is not filtering on time (you need timeslot_start=gte_now) so it's showing all events created by NY Dems over all time.

The second API URL shows all events created by NY Dems in the future, which there are none.

The reason the NY dems feed has events is because they're promoting other orgs. If you want an API call that mirrors the feed (i.e., includes promoted events), use List organization events