fuchen2020 / express-info
a express info sdk
1.0.0
2019-08-13 10:06 UTC
Requires
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-09-14 04:21:29 UTC
README
基于快递100开放的快递物流轨迹信息查询
Installing
$ composer require fuchen2020/express-info -vvv
Usage
require __DIR__ .'/vendor/autoload.php'; use Fuchen2020\ExpressInfo\Express; //快递100开放授权 API Key $key = '*****************';//客户授权key $customer = '*****************';//查询公司编号 $exp = new Express($key,$customer); echo "获取实时快递轨迹:\n"; $response = $exp->getExpressInfo('zhongtong','77110160482518'); echo json_encode($response, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT