Advertisement
Guest User

Untitled

a guest
May 31st, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. $client = new \GuzzleHttp\Client();
  2.  
  3. $response = $client->request('GET', 'https://www.eventbriteapi.com/v3/events/search/?token=OSUKWVGNBKZJWDBWKBIC' , [
  4.  
  5. 'location.address' => 'alaska',
  6. 'start_date.range_start' => $startDate,
  7. 'start_date.range_end' => $endDate,
  8. 'location.within' => $within,
  9. 'location.latitude' => $latitude,
  10. 'location.longitude' => $longitude,
  11. 'categories' => $category,
  12. 'page' => $page_number,
  13. 'verify'=> false,
  14.  
  15. // todo: move token in .env
  16. // 'token'=>'OSUKWVGNBKZJWDBWKBIC',
  17.  
  18. ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement