定制 tomvlk/maniacalendar-php-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tomvlk/maniacalendar-php-sdk

最新稳定版本:1.0.1

Composer 安装命令:

composer require tomvlk/maniacalendar-php-sdk

包简介

ManiaCalendar API SDK for PHP

README 文档

README

Build Status

ManiaCalendar API SDK for PHP

ManiaCalendar API SDK for PHP language

Installation

Use Composer to install and use the SDK.

    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.

API Key

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

http://api.maniacalendar.com/doc/keys

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.

To get started, look at the sample folder.

You can start with getting events with:

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/

License

See LICENSE file.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-05-31