Skip to content

latiif/DuoApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DuoApi

Unofficial Java API for Duolingo

This project was started in 2017. Most of the relevant functionality still works. Throughout the years, Duolingo changed their API significantly, rendering some older versions of the code useless.

Get it

You can start using DuoApi in your project via JitPack.

First, add the repo

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

Then, add the dependency

<dependency>
    <groupId>com.github.llusx</groupId>
    <artifactId>DuoApi</artifactId>
    <version>0.1-beta</version>
</dependency>

Finally, enjoy!

DuoApi

Main class containing functionality for various operations allowed by Duolingo API.

DuolingoProfileInfo

New wrapper dataclass for information extracted from the DuoApi class.

AudioMapper

Singleton class to fetch url of the audio file for a word