Thousands of code examples for using the EasyPost API across 7+ programming languages.
communitycode 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.officialofficial code snippets that populate on the EasyPost websitedocscode snippets that populate on our API docs page. Each language will have its own subdirectoryfixturestest data used as fixtures in our client library test suitesguidescode snippets that populate on our guides page. Each language will have its own subdirectoryresponsesresponses for our example snippets found in thedocsdirectory that will give you a good idea of what to expect back from the EasyPost API
style_guidescontain the style guides and configs for tooling we use in each public language we supporttoolscontain utilities to help facilitate the code in this repo such as the response snippet generation suite
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.
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-pythonOnce installed, run an example like you would any other script or tool for that language.