2017 © Pedro Peláez
 

library eventful

Eventful.com wrapper.

image

cg/eventful

Eventful.com wrapper.

  • Monday, March 7, 2016
  • by barelon
  • Repository
  • 0 Watchers
  • 0 Stars
  • 588 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Eventful StyleCI

API Key

You'll need to register for an API key from Eventful.com - see api.eventful.com., (*1)

Documentation

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);

License

MIT, (*8)

The Versions

07/03 2016

dev-master

9999999-dev

Eventful.com wrapper.

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

api eventful