Simple Quizlet API wrapper
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.PotatoCurry:Kwizlet:Tag'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.PotatoCurry</groupId>
<artifactId>Kwizlet</artifactId>
<version>Tag</version>
</dependency>
Additional instructions can be found here
import io.github.potatocurry.kwizlet.api.Kwizlet
val clientID = "CLIENT_ID"
val setID = "SET_ID"
fun main() {
val kwizlet = Kwizlet(clientID)
val set = kwizlet.getSet(setID)
for ((term, definition) in set.termPairs)
println("$term: $definition")
}