cg / eventful
Eventful.com wrapper.
Installs: 592
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 7
pkg:composer/cg/eventful
Requires
- php: >=5.3
- ext-curl: *
This package is not auto-updated.
Last update: 2025-10-12 00:04:41 UTC
README
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);