An open API service indexing awesome lists of open source software.

https://github.com/lab5e/java-sample

Sample java API client. This sample retrieves a list of the collections in Span
https://github.com/lab5e/java-sample

iot java lang-java sample span

Last synced: 9 days ago
JSON representation

Sample java API client. This sample retrieves a list of the collections in Span

Awesome Lists containing this project

README

          

# Java example

This samples shows how to retrieve a list of collections. The source is generated on the fly with the [openapi-generator-maven-plugin](https://mvnrepository.com/artifact/org.openapitools/openapi-generator-maven-plugin)
available from Maven Central.

Build with
```shell
mvn install
```

Create a new API token in the [Span dashboard](https://span.lab5e.com/) and run
the sample with

```shell
java -jar target/target/collection-sample-1.0.0.jar [API token]
```