https://github.com/lit-technology/labstats-client
Java Client for LabStats.
https://github.com/lit-technology/labstats-client
computer-stats github-actions github-package-registry java labstats-client
Last synced: about 1 month ago
JSON representation
Java Client for LabStats.
- Host: GitHub
- URL: https://github.com/lit-technology/labstats-client
- Owner: lit-technology
- License: mit
- Created: 2019-11-02T00:52:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T23:32:06.000Z (over 3 years ago)
- Last Synced: 2025-12-26T12:47:33.736Z (5 months ago)
- Topics: computer-stats, github-actions, github-package-registry, java, labstats-client
- Language: Java
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LabStats Client
[](https://github.com/philip-bui/labstats-client/actions)
[LabStats](https://labstats.com/) tracks when, where, and how long students are logged on to hardware resources in computer labs. It allows schools to maximize IT budget by discovering where you can expand, reduce, or eliminate hardware and software resources.
## Requirements
- [Create a valid API Key](https://support.labstats.com/article/api/#api-key-creation) from your Admin with the appropriate API permissions.
- Use the correct API based on your organization's location.
- [North America](https://api.labstats.com).
- [Australia, New Zealand, & Asia](https://sea-api.labstats.com).
- [Europe](https://weu-api.labstats.com).
- Have read and understood the [LabStats API Best Practices](https://support.labstats.com/article/api-usage-best-practices/).
## Installation
### Maven
Set up Apache Maven to authenticate to GitHub Package Registry by editing your ~/.m2/settings.xml. For more information, see "[Authenticating to GitHub Package Registry](https://help.github.com/en/github/managing-packages-with-github-package-registry/configuring-apache-maven-for-use-with-github-package-registry#authenticating-to-github-package-registry)".
```xml
com.philipbui.labstats
labstats-client
1.0.0
```
### Gradle
Set up Gradle to authenticate to GitHub Package Registry by editing your build.gradle or build.gradle.kts file. For more information, see "[Authenticating to GitHub Package Registry](https://help.github.com/en/github/managing-packages-with-github-package-registry/configuring-gradle-for-use-with-github-package-registry#authenticating-to-github-package-registry)".
```gradle
dependencies {
implementation("com.philipbui.labstats:labstats-client:1.0.0")
}
```
## Usage
```java
LabStatsClient labStatsClient = new LabStatsClient(apiKey, Region.SEA);
GroupStatusResponse groupStatusResponse = labStatsClient.getLabStatsGroupStatus(groupID);
```
## Features
- [ ] Applications
- [ ] Availability
- [ ] Files
- [X] Groups (Computer Groups)
- [ ] By ID
- [ ] Stations by ID
- [ ] Sub-Groups by ID
- [X] Status (On, Offline, In-Use) by ID
- [ ] Capabilities
- [ ] Maps
- [ ] Schedules
- [ ] Stations
- [ ] Users
## License
LabStats Client is available under the MIT license. [See LICENSE](https://github.com/philip-bui/labstats-client/blob/master/LICENSE) for details.