View
 

API Usage Examples

Page history last edited by David Sifry 1 year, 6 months ago

Building guides and creating orders is a pretty straightforward process. Most of the API documentation comes with example calls using curl to show an example call, but sometimes you want to see how things all work together. Here's a set of sample scripts that show you how to buld a sample order, make the purchase, and then check status over time.

 

Here's an app that will make a personalized guide for a trip, and execute an order for that one guide:

Ruby Code to create a new order

 

Here's a python script that does a similar thing:

Python Code to create a new order

 

Here's a ruby script that will make a guide, and add a custom chapter:

Ruby Script to create a guide and add a custom chapter

 

 

Comments (0)

You don't have permission to comment on this page.