dev-master
9999999-devEventful.com wrapper.
MIT
The Requires
- php >=5.3
- ext-curl *
by James Brooks
api eventful
Eventful.com wrapper.
You'll need to register for an API key from Eventful.com - see api.eventful.com., (*1)
This class includes only two functions which are required to request and process information from Eventful., (*2)
To get started:, (*3)
use BlueBayTravel\Eventful; $ev = new Eventful(API_KEY);
Then you need to login:, (*4)
$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., (*5)
You can boolean check $evLogin
to see if the login has been successful., (*6)
Now that you're logged in, you can use the call
method to make API requests!, (*7)
$locationSearch = [ 'location' => 'Mexico' ]; $evEvent = $ev->call('events/search' ,$locationSearch); var_dump($evEvent);
MIT, (*8)
Eventful.com wrapper.
MIT
api eventful