Skip to content

claytondus/Claytondus.EasyPost

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Claytondus.EasyPost

An unofficial .NET wrapper for the EasyPost API.
Report Bug · Request Feature

About The Project

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.

Built With

Usage

  1. Get an account and API key at https://easypost.com
  2. Add the NuGet package to your project
    dotnet add package Claytondus.EasyPost
  3. Instantiate the client
    var apiKey = "....";
    var client = new EasyPostClient(apiKey);
    You may also pass in an ILogger to log requests and responses:
    var client = new EasyPostClient(apiKey, logger:logger);
  4. Call the API
    var response = await client.await client.CreateTrackerAsync(new Tracker
    {
        tracking_code = "EZ1000000001",
        carrier = "UPS"
    });

API Support

  • Addresses
  • Parcels
  • Shipments
    • Options
    • Rates
    • Insurance
    • Refunds
    • SmartRate
  • Trackers
  • CustomsInfos, CustomsItems
  • Events
  • Fees
  • Orders
  • Webhooks

Additional APIs are supported upon request.

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

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

Acknowledgements