markant-norge/php-bring-api 问题修复 & 功能扩展

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

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

markant-norge/php-bring-api

最新稳定版本:1.0.20

Composer 安装命令:

composer require markant-norge/php-bring-api

包简介

Bring API wrapper for PHP.

README 文档

README

Use this API with any PHP application ( Magento, Wordpress, Drupal, etc. ).

Features:

  • Forces request format to comply with Bring API
  • Forces strict data types
  • Validation before API request
  • PSR-4 compliant
  • Supports My bring authorization for API's that supports it ( meaning no rate limiting ).

See example folder for usage.

See Bring Developer Section for info about the API and response array description.

Install

Install using composer is the best way.

composer require markant-norge/bring-api@^1.0

Supporting the following APIs:

** API's marked with [x] is implemented**

Test (cli)

See example folder for example scripts.

Testing My bring booking API

Since the booking API requires authentication with My Bring, set some environment variables before running the test script.

UID / API key and Bring customer number is accessible in the mybring web interface.

cd example/
export BRING_UID="me@myemail.com" && export BRING_API_KEY="xxxxxx-xxxxx-xxx-xxxx" && export BRING_CUSTOMER="BRING__CUSTOMER_NUMBER" && php booking-api.php

Contribute

Contributions are welcome.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固