Skip to content

Repository files navigation

D2L.kt

Calling the D2L API, made easy.

Obtaining User ID and User Key

D2LAuth.buildLoginURL("myAppID", "myAppKey", "example.com", "http://linkbackaddress.com")

This will create an URL, where you can log in to your account as usual and obtain an User ID and User Key

Calling the API

Set the values in D2LRequest

with(D2LRequest) {
    appID = "myAppID"
    appKey = "myAppKey"
    userID = "myUserID"
    userKey = "myUserKey"
    baseURL = "example.com"
}

Call the API

val courses = CourseRoute.getCourses()

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages