Welcome to CEDAR SDK.
We are in the process of supporting more languages. At the moment we have suppot for Go.
- Install go (go1.22 or later)
- Setup these two environment variables:
export GC_API_KEY=[Your key]
export GC_CARRIER_ID=[Your carrier ID]
In this example, we are going to push a train to ARMS with a few wagons. The program will:
- create the stations, if they don't exist
- create the equipment and move it online, if necessary
- create the train
cd go/examples/trains
go run trains.go