Introducing: Multi-Language Code Samples in ShipEngine Docs

With more than 700 programming languages in existence, the popularity of code generation and SDK services are on the rise. Humans think and dream in their native languages, and the same is true for most developers. It only makes sense that we’d better understand and interpret code—and the potential applications—when it’s presented in the programming language we’re most familiar with.

That’s why our Developer Experience team added a multi-language solution for the code samples in the ShipEngine docs.

In line with their philosophy of openness and mission of helping simplify the development of APIs, Postman recently published open-sourced elements of their app on GitHub. This includes their powerful code generation feature, which we’re now using to produce multi-language code samples within our documentation—making it easier for developers to quickly interpret and integrate our APIs into their backend systems. 

When referencing ShipEngine’s documentation, you can now choose from 13 different widely-used server and mobile programming languages, including:

  • cURL
  • C#
  • Go
  • Java
  • Javascript
  • Objective-C
  • PHP
  • Python
  • Powershell
  • Ruby
  • Swift

How it Works

When hovering over a sample API request on any given page, you’ll notice a dropdown menu in the top right hand corner, next to the ‘Copy’ button. Simply choose your preferred programming language from the list, and your selection will be reflected across every code sample block within the documentation.

This new functionality allows our users to more efficiently build and customize their integration with ShipEngine, helping further reduce the time to first hello world

If you’re ready to get started on solving shipping for your business, we encourage you to sign up for a risk-free trial and start exploring the ways you can optimize your fulfillment workflow. Your first 250 label requests are on us! 

Leave a Reply

Your email address will not be published. Required fields are marked *