You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kotatsu-parsers/README.md

1.9 KiB

Kotatsu parsers

Library that provides manga sources.

Kotlin License Discord

Usage

  1. Add it in your root build.gradle at the end of repositories:

    allprojects {
        repositories {
     	   ...
     	   maven { url 'https://jitpack.io' }
        }
    }
    
  2. Add the dependency

    For Java/Kotlin project:

    dependencies {
        implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version")
    }
    

    For Android project:

    dependencies {
        implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version") {
            exclude group: 'org.json', module: 'json'
        }
    }
    

    See for versions at JitPack

  3. Usage in code

    val parser = MangaSource.MANGADEX.newParser(mangaLoaderContext)
    

    mangaLoaderContext is an implementation of the MangaLoaderContext class. See Android and Non-Android implementation examples.

    Note that the MangaSource.LOCAL and MangaSource.DUMMY parsers cannot be instantiated.

Contribution

See CONTRIBUTING.md for the guidelines.

DMCA disclaimer

The developers of this application does not have any affiliation with the content available in the app. It is collecting from the sources freely available through any web browser.