Skip to content

PotatoCurry/Kwizlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kwizlet

Build Status Release Issues License

Simple Quizlet API wrapper

Using Kwizlet

Gradle

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
    implementation 'com.github.PotatoCurry:Kwizlet:Tag'
}

Maven

<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

Examples

Print set contents

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")
}

About

Simple Quizlet API wrapper

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages