tilomotion/fuelsdk
最新稳定版本:v2.5.3
Composer 安装命令:
composer require tilomotion/fuelsdk
包简介
Php Sdk to connect with Api Fuel
README 文档
README
This library allow use Fuel's API with all kind of authentication.
Installation
Install the latest version with..
$ composer require tilomotion/fuelsdk
HTTP CODES
- 200: OK
- 204: NOT FOUND. Element's Id not found for this license. Available on GET or DELETE for item or list. On Create or Update when related object's id not exists.
- 400: Insufficient parameters on request. Normally on PUT or POST request.
- 401: Invalid credentials, require refresh.
- 409: Already exists element. Usually on POST request.
- 412: Already exists on Dms or other external platform
- 416: Exceeded results obteined.
- 421: Fail login or conection with Dms or other external platform.
- 500: Internal Server Error. Report to developers.
Documentation
New in 2.0.0
- Login B2B.
$conn = new ConnectionB2b("pass", "key", $logger, "DEV");
New in 1.0.8
- Continuous integration of bitbucket repository with packagist.
- Constants with the path of the services exposed in the Fuel API. Use class WebService.
$params[] = new QueryOrder("fechaAlta", QueryOrder::FUEL_STR_ORDER_DESC); $conn->requestWilcardGet(WebService::PATH_USER_LIST, $params);
New in 2.2.0
- Not sufix queryParam allowed by boolean parameter
- NotNull sufix queryParam allowed by boolean parameter
$params[] = new QueryParam("fechaAlta", QueryParam::FUEL_INT_QUERY_RELATION_IS_NULL, /* For apply negation !=*/ true); $conn->requestWilcardGet(WebService::PATH_USER_LIST, $params); - Fix urlEncoded only in specified keys
Third Party Packages
Third party handlers, formatters and processors are listed in the wiki. You can also add your own there if you publish one.
About
Requirements
- Fuel sdk works with PHP 5.4 or above.
Submitting bugs and feature requests
Bugs and feature request are tracked on Bitbucket
Framework Integrations
- Frameworks and libraries using PSR-3 can be used very easily with Monolog since it implements the interface.
Author
Alejandro Gago Encinas - agago@tilomotion.com
Carmelo Ramírez Robles - cramirez@tilomotion.com
License
FuelSdk is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 1.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-21