Sample java code to integrate with Fieldwire:
- Fieldwire.java is the entry point
- Models defines the models
- Endpoints defines the regional & super endpoints
- TokenManager showcases programmatically refreshing the access token
- SampleCalls puts all the above together for particular use cases
- Install the required java version (from
build.gradle
) - Fill out the required pieces of info in Fieldwire.java (Marked with
// REPLACE
) - Install the dependencies & run using
./gradlew run
Please store your tokens securely & use them across invocations of your integration setup to prevent hitting rate limits while refreshing the access token