mobianglobal/mobian-api-php 问题修复 & 功能扩展

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

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

mobianglobal/mobian-api-php

最新稳定版本:1.1.1

Composer 安装命令:

composer require mobianglobal/mobian-api-php

包简介

MOBIAN Global API package for PHP.

README 文档

README

The MOBIAN API Client for PHP can be used to book various mobility services on the MOBIAN platform. We tend to make the integration as easy as possible by setting up this package. It should take care of the default requests and validations for the API connection to be setup.

This package is actively maintained with the API's versions to make switching between versions less of a pain as well.

Requirements

  • PHP 7.1 or higher
  • cURL
  • MOBIAN API access

Composer installation

By far the easiest way to install the package is to require it with Composer.

composer require mobianglobal/mobian-api-php

Getting started

Set up the configuration to use your API key.

use Mobian\ApiClient\MobianApiConfig;

MobianApiConfig::setAuthKey('RESELLER_KEY_HERE');

Fetching a set of bookings with a reservation status of completed.

use Mobian\ApiClient\MobianApiClient;
use Mobian\ApiClient\Requests\Bookings\GetBookingsRequest;

$request = new GetBookingsRequest([
    'reservation_status' => ['completed'],
]);

$bookings = MobianApiClient::request($request);

All available calls and filters are explained in our API documentation.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固