SDK update generated by liblab

This commit is contained in:
Luke Hagar
2023-10-26 22:45:56 -05:00
parent dfc93198c4
commit f2392f7e5c
97 changed files with 11391 additions and 27 deletions

View File

@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.plexsdk</groupId>
<groupId>47.one0</groupId>
<artifactId>examples</artifactId>
<version>1.0-SNAPSHOT</version>
@@ -24,7 +24,7 @@
<version>2.14.0-rc1</version>
</dependency>
<dependency>
<groupId>com.plexsdk</groupId>
<groupId>47.one0</groupId>
<artifactId>PlexSDK</artifactId>
<version>0.0.1</version>
</dependency>

View File

@@ -0,0 +1,17 @@
package 47.one0.examples;
import 47.one0.exceptions.ApiException;
import 47.one0.PlexSDK;
public class Main {
public static void main(String[] args) {
PlexSDK client = new PlexSDK(System.getenv("PLEXSDK_API_KEY"), System.getenv("PLEXSDK_API_KEY_HEADER"));
try {
Object response = client.serverService.getServerCapabilities();
System.out.println(response);
} catch(ApiException e) {
e.printStackTrace();
}
}
}