I am trying to display my events using EventCricket using my API. I have created an incident that is public but when I use this API call in php, I can not find my program. I saw other people's events which are in Kanada and in July. Here is my code
$ json_url = "https://www.eventbrite.com/json/event_search?app_key=". $ Authentication_token ['app_key']. "And date = next + in the month & country = ca"; $ Response = file_get_contents ($ json_url); $ List_events = json_decode ($ response, true); Var_dump ($ list_events); Does anyone know why my event is not $ list_events?
You are requesting the search API for any Canadian event next month. The default search results are limited to 100 results:
As you can imagine, perhaps there are more than 100 events in Canada that may start next month. If your event is "public", it will be searched (if you can find it on the website, this is good). If you continue the page through the result then you will eventually get it.
If you are just looking to recover your event via API, then you will want to use that call. If you want only a list of your events, use it.
No comments:
Post a Comment