YouTrack Kotlin API
🧚‍ Kotlin JVM library to interact with YouTrack's REST API.
Usage
fun main(args: Array<String>) {
val youtrack = YouTrack {
useApiUrl("https://youtrack.floofy.dev")
}
youtrack.authenticate {
email = ""
password = ""
}
youtrack.api<ProjectsApi>().getAll()
// => List<Project>
}
Installation
Documentation: https://auguwu.github.io/youtrack-kotlin-api
Version: 1.2.0
Gradle
Kotlin DSL
repositories {
maven {
url = uri("https://maven.floofy.dev/repo/releases")
}
}
dependencies {
implementation("dev.floofy.youtrack:youtrack-api:<VERSION>")
}
Groovy DSL
repositories {
maven {
url "https://maven.floofy.dev/repo/releases"
}
}
dependencies {
implementation "dev.floofy.youtrack:youtrack-api:<VERSION>"
}
Maven
<repositories>
<repository>
<id>noel-maven</id>
<url>https://maven.floofy.dev/repo/releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>dev.floofy.youtrack</groupId>
<artifactId>youtrack-api</artifactId>
<version>{{VERSION}}</version>
<type>pom</type>
</dependency>
</dependencies>
License
youtrack-kotlin-api is released under the MIT License.