Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brendanashworth/spacegdn-java
SpaceGDN Java client.
https://github.com/brendanashworth/spacegdn-java
Last synced: 9 days ago
JSON representation
SpaceGDN Java client.
- Host: GitHub
- URL: https://github.com/brendanashworth/spacegdn-java
- Owner: brendanashworth
- License: gpl-2.0
- Created: 2014-08-08T23:29:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-09T19:29:31.000Z (over 10 years ago)
- Last Synced: 2023-04-10T02:51:00.883Z (over 1 year ago)
- Language: Java
- Size: 168 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SpaceGDN Java Client
-----> Java client library for working with [SpaceGDN](https://github.com/connor4312/SpaceGDN). Uses Maven.
#### Installation
Instructions will come soon.#### Example Usage
```java
// Imports
import net.boboman13.spacegdnbridge.*;public class MyClass {
public void myFunction() {
Bridge bridge = new Bridge(); // Uses xereo's host by default
// Simple example
APIRequest request = bridge.newRequest();
APIResponse response = request.get("versions").go();// response now contains all the versions.
// Advanced example
request = bridge.newRequest();
response = request
.jar(6)
.channel(11)
.version(105)
.build(482)
.go();// Now, since we're retrieving a build - we can access that build.
GDNBuild build = response.build;
int buildId = build.id;
String buildURL = build.url;
// All the values you need are accessible from there.
}
}
```### Documentation
Full documentation to follow.#### License
[Found here](./LICENSE)