Skip to content

Example golang code to integrate with the IMPARGO GraphQL API

Notifications You must be signed in to change notification settings

impargo/golang-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPARGO API Golang Examples

Example Golang code to integrate with the IMPARGO GraphQL API. As an introduction to the to API checkout the Getting started guide.

Usage

Run the following code to create a new order via the graphql api on the IMPARGO development system:

- Install Golang
- Set TOKEN=<your-access-token>
- Run "go run simple.go"

Examples

The following eamples are contained in this this repository:

  • simple: Creating a simple order with two stops.
  • additionalStopDetails: Creating an order with three stops, additional stop data and load details.
  • tollDetails: Requesting the toll costs for a simple order with two stops.

About

Example golang code to integrate with the IMPARGO GraphQL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages