https://github.com/ilanddev/coda-sdk
Unofficial Java SDK for CODA Footprint
https://github.com/ilanddev/coda-sdk
Last synced: 4 months ago
JSON representation
Unofficial Java SDK for CODA Footprint
- Host: GitHub
- URL: https://github.com/ilanddev/coda-sdk
- Owner: ilanddev
- License: bsd-3-clause
- Created: 2022-08-12T19:03:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-12-24T00:32:39.000Z (5 months ago)
- Last Synced: 2025-12-25T13:36:34.316Z (5 months ago)
- Language: Java
- Size: 280 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CODA-SDK
An Unofficial SDK for CODA Footprint written in Java
[](https://opensource.org/licenses/BSD-3-Clause)
## Developers / Testing
Required:
* [x] Java >= 8
* [x] Maven
```shell
git clone git@github.com:ilanddev/coda-sdk.git
cd coda-sdk
cp footprint.env.example footprint.env
# add your credentials to footprint.env
make test # mvn clean, validate, compile, and test
make install # mvn clean, validate, compile, test, package, verify, and install
```
### Installation
Add the following to your pom.xml:
```xml
iland-maven-foss
https://us-central1-maven.pkg.dev/iland-software-engineering/iland-maven-foss
true
false
net.codacloud
footprint
${footprint.version}
```
### Example Usage
```java
public final class Sandbox {
public static void main(String... args) throws ApiException {
final CodaClient client = createCodaClient().login();
// do work
client.listRegistrations();
}
private static CodaClient createCodaClient() {
// TODO: populate from properties file or pull from environment
final String apiBasePath = "https://foo.codacloud.net/api";
final String username = "";
final String password = "";
final SimpleCodaClient simpleCodaClient =
new SimpleCodaClient(apiBasePath, username, password);
final RetryCodaClient retryCodaClient =
new RetryCodaClient(simpleCodaClient);
final CachingCodaClient cachingCodaClient =
new CachingCodaClient(retryCodaClient);
return cachingCodaClient;
}
}
```