Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $client = new \GuzzleHttp\Client();
- $response = $client->request('GET', 'https://www.eventbriteapi.com/v3/events/search/?token=OSUKWVGNBKZJWDBWKBIC' , [
- 'location.address' => 'alaska',
- 'start_date.range_start' => $startDate,
- 'start_date.range_end' => $endDate,
- 'location.within' => $within,
- 'location.latitude' => $latitude,
- 'location.longitude' => $longitude,
- 'categories' => $category,
- 'page' => $page_number,
- 'verify'=> false,
- // todo: move token in .env
- // 'token'=>'OSUKWVGNBKZJWDBWKBIC',
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement