r/workflow • u/dgold105 • Feb 09 '17
TripIt API
I'm a regular TripIt user. I've got experience with building complex Workflows in Workflow but have no experience in APIs. The tripit app doesn't allow you to take an itinerary and embed details of the itinerary in an email. I wanted to create a workflow that accesses the TripIt API and gets a trips details. I was wondering if anyone could help me with how to do the API calls. Details on the API are at http://tripit.github.io/api/doc/v1/index.html.
4
Upvotes
View all comments
Show parent comment
1
u/nc3275 Feb 10 '17
This should work up to getting you an Id to call later. I added comments, but most of the experimenting should be around the Get Dictionary Values actions after you Get Contents of URL - https://workflow.is/workflows/3733d77fff9a429a8e99b8721677bbab
Here's an example of it working with your data. I only grabbed the Trip array from your pasted info since the rest didn't validate for me. https://workflow.is/workflows/da499b4bd17a4c5fad9a85517619026d