Autodesk API Client for golang.
This project is consider "early phase", and therefore may not implement all aspects of the Forge API, is subject to change, and may not have detail tests written.
You'll need to create an
app in
order to use this client package. And then generate a client id
and client secret
.
Once you have these keys, put them in a .env
at the root of this project.
export FORGE_CLIENT_ID=XXXXXXXX
export FORGE_CLIENT_SECRET=XXXXXXXXX
Once, you've done that you can create a Client
via...
client, err := forge.New()
Alternatively, you pass your creds in your code and receive a Client
.
client, err := forge.NewWithCreds("IDXXXX", "SECRETXXXX")
go test
- Setup a mock Autodesk API for testing instead of making real calls.