2017 © Pedro Peláez
 

library maniacalendar-php-sdk

ManiaCalendar API SDK for PHP

image

tomvlk/maniacalendar-php-sdk

ManiaCalendar API SDK for PHP

  • Sunday, May 31, 2015
  • by tomvlk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

ManiaCalendar API SDK for PHP

ManiaCalendar API SDK for PHP language, (*2)

Installation

Use Composer to install and use the SDK., (*3)

    composer require 'tomvlk/maniacalendar-php-sdk:dev-master'

Alternative you can download and install manually too, but better be up-to-date with Composer, and it's easy too., (*4)

API Key

To use the API, you have to get a API key. It's easy, and fast, just get an API key here:, (*5)

http://api.maniacalendar.com/doc/keys, (*6)

Usage

You can use most of the Methods that are available. Currently you can use: - Get events (/events/). - Get event detail (/event/[id]). - Get dates for events. - Get all titles (/titles/) for filtering. - Get all styles (/styles/), or for title, for filtering., (*7)

To get started, look at the sample folder., (*8)

You can start with getting events with:, (*9)

require 'vendor/autoload.php'; // Add the autoload file from Composer

$eventHandler = new maniacalendar\Event("API KEY HERE");

// This will return a array with the request results. The array will be false and throw an exception on failure.
// Array will contain objects when the request was successfully.
$events = $eventHandler->getEvents();

// Output the events array
var_dump($events);

API Documentation

API Documentation is available on: http://api.maniacalendar.com/doc/, (*10)

License

See LICENSE file., (*11)

The Versions

31/05 2015

dev-master

9999999-dev

ManiaCalendar API SDK for PHP

  Sources   Download

GPL-2.0

The Requires

  • php >=5.4.0
  • ext-curl *
  • ext-json *

 

The Development Requires

by Tom Valk

31/05 2015

1.0.1

1.0.1.0

ManiaCalendar API SDK for PHP

  Sources   Download

GPL-2.0

The Requires

  • php >=5.4.0
  • ext-curl *
  • ext-json *

 

The Development Requires

by Tom Valk

31/05 2015

1.0.0

1.0.0.0

ManiaCalendar API SDK for PHP

  Sources   Download

GPL-2.0

The Requires

  • php >=5.4.0
  • ext-curl *
  • ext-json *

 

The Development Requires

by Tom Valk