This is a wrapper for Plex's API that handles authentication for you.
Gradle: In build.gradle, add the following:
repositories {
//... Other repositories here.
maven { url 'https://jitpack.io' }
}
dependencies {
//... Other dependencies here.
implementation 'com.github.MoSadie:PlexAPI-Java:Tag'
}
- Create a new PlexApi object with all the parameters possible.
- Authenicate using either
authenticate(user, pass)
,authenticate(authToken)
, orstartPinAuth()
methods.