Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

BlueBayTravel/Eventful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eventful StyleCI

API Key

You'll need to register for an API key from Eventful.com - see api.eventful.com.

Documentation

This class includes only two functions which are required to request and process information from Eventful.

To get started:

use BlueBayTravel\Eventful;

$ev = new Eventful(API_KEY);

Then you need to login:

$evLogin = $ev->login(API_USERNAME, API_PASSWORD);

The login method simply calls the API request users/login but handles all of the nonce and response for you.

You can boolean check $evLogin to see if the login has been successful.

Now that you're logged in, you can use the call method to make API requests!

$locationSearch = [
    'location' => 'Mexico'
];

$evEvent = $ev->call('events/search' ,$locationSearch);

var_dump($evEvent);

License

MIT

Releases

No releases published

Packages

No packages published

Languages