Download the PHP package whatarmy/fedex-rest without Composer
On this page you can find all versions of the php package whatarmy/fedex-rest. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package fedex-rest
General Information
Fedex has offered a new Rest API that will replace the already obsolete WSDL and SOAP-based Web Services in the future. The goal of this library is to offer a convenient and easy to use wrapper to this service.
FedEx Rest API documentation https://developer.fedex.com/api/en-us/get-started.html
Todo
Services
- [ ] Ship API
- [ ] Track API
- [x] docs)
- [ ] Track Document
- [ ] Track Multiple Piece Shipment
- [ ] Send Notification
- [ ] Track By Tracking Control Number
- [ ] Track By References
- [x] docs)
- [x] Locations Search API
- [x] docs)
- [ ] Ground End of Day Close API
- [ ] Pickup Request API
- [ ] Postal Code Validation API
- [x] Rate Quotes API
- [ ] Service Availability API
Other
- [x] oAuth authorization
Usage
Library Version | Fedex Rest Api Version |
---|---|
^0.5 | v1 |
Installation
composer require whatarmy/fedex-rest "^0.5"
Authorization
Example
Sample Response
Show Response
NOTE:
It is good practice to save/cache an access token for future use. A token is valid for one hour. You don't need to generate a new one for every request. The token must be renewed before it expires or after it has expired. Generating a new access token for each request will slow down the library.
Track API
Track by Tracking Number
Example
Sample Response
Show Response
Address Validation
Example
Create Shipment
Example
Sample Response
Show Response
Create Tag
Example
Sample Response
Show Response
Create Rates Request
Example
Sample Response
Show Response
Contribution
Any help will be useful :) Currently I'm working on Ship, Track and Address Validation API because that's all I need for my own purposes.
All versions of fedex-rest with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^5|^6|^7
nesbot/carbon Version ^2.65.0