intelworx/tripican-api-client-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

intelworx/tripican-api-client-php

Composer 安装命令:

composer require intelworx/tripican-api-client-php

包简介

The API client for Tripican.com's API

README 文档

README

This is a PHP client implementation for tripican.com API (V1).

How to Get API Key

Please send a message to bizdev[at]tripican[dot]com describing your use case, you message will be reviewed and you will be notified.

Client Usage

#!php

require_once '/path/to/TripicanV1Client.php';

use intelworx\tripican\apiclient\TripicanV1Client;

$config = array(
    'api_consumer_key' => '---SOME-CONSUMER-KEY---',
    'api_consumer_secret' => '----SOME-SECRET-----',
    'api_host' => 'tripican.com', //or beta20.tripican.com
);


$apiClient = new TripicanV1Client();

//if you wish to debug responses.
$apiClient->debug(true);

//sample call
//short hand method transforms serviceResourceName to service/resource-name
//it knows resources that are expected to be called with POST,
//however to be safe, you may want to use the full call method for post
//e.g. $apiClient->post($path, $params);
$result = $apiClient->moviesShowtimes();
var_dump($result);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-04-10