Skip to content

Thousands of code examples for using the EasyPost API across 7+ programming languages.

License

Notifications You must be signed in to change notification settings

EasyPost/examples

Folders and files

NameName
Last commit message
Last commit date
Sep 30, 2024
Aug 26, 2024
Feb 19, 2025
Feb 24, 2025
Dec 1, 2022
Aug 20, 2024
Jul 18, 2022
Feb 24, 2025
Jul 18, 2022
Aug 26, 2024
Feb 24, 2025
Jun 5, 2024
Jun 5, 2024
Feb 24, 2025
Aug 26, 2024
Aug 26, 2024
Feb 24, 2025
Feb 24, 2025
Jun 5, 2024
Aug 31, 2022
Jun 12, 2023

Repository files navigation

EasyPost API Examples

CI

Thousands of code examples for using the EasyPost API across 7+ programming languages.

Folder Structure

  • official official code snippets that populate on the EasyPost website
    • docs code snippets that populate on our API docs page. Each language will have its own subdirectory
    • fixtures test data used as fixtures in our client library test suites
    • guides code snippets that populate on our guides page. Each language will have its own subdirectory
    • responses responses for our example snippets found in the docs directory that will give you a good idea of what to expect back from the EasyPost API
  • community code snippets contributed from the community. These may include custom workflows, how to integrate EasyPost with other software, etc. These are unofficial and not supported or maintained by EasyPost.

NOTE: filenames may not match language convention - this is intentional. Our documentation website uses these example snippets and expects folder/filenames to follow a certain templated naming convention.

Usage

Most of the examples found here should run out of the box without any alterations required with the exception of substituting your own EasyPost object IDs where applicable.

# Install all language environments
make install

# Install a specific language environment
make install-python

Once installed, run an example like you would any other script or tool for that language.