An unofficial .NET wrapper for the EasyPost API.
Report Bug
·
Request Feature
EasyPost is a multi-carrier shipping services API. We use it at Agonswim.com to generate shipping labels and track packages. This project is a typed async API wrapper for .NET Standard.
- Get an account and API key at https://easypost.com
- Add the NuGet package to your project
dotnet add package Claytondus.EasyPost
- Instantiate the client
You may also pass in an ILogger to log requests and responses:
var apiKey = "...."; var client = new EasyPostClient(apiKey);
var client = new EasyPostClient(apiKey, logger:logger);
- Call the API
var response = await client.await client.CreateTrackerAsync(new Tracker { tracking_code = "EZ1000000001", carrier = "UPS" });
- Addresses
- Parcels
- Shipments
- Options
- Rates
- Insurance
- Refunds
- SmartRate
- Trackers
- CustomsInfos, CustomsItems
- Events
- Fees
- Orders
- Webhooks
Additional APIs are supported upon request.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
I AM NOT AFFILIATED WITH EasyPost. For questions about their service please contact support@EasyPost.com or @EasyPost on twitter.
Clayton Davis - cd@ae4ax.net
Project Link: https://github.com/claytondus/Claytondus.EasyPost