GithubHelp home page GithubHelp logo

ap-atul / novel-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 27 KB

API/Scrapper for Light Novels

License: The Unlicense

Java 100.00%
novel free-novel api free-api light-novels light-novel free-manga manga readlightnovel android-lib

novel-api's Introduction

What is it?

API/Scrapper for Light Novels

App making use of this API mangatain

Usage

  1. Download the jar file
wget https://github.com/AP-Atul/novel-api/releases/download/v0.1/ln-v0.1.jar
  1. Add to the project.

  2. Declare class object of NClient

class Sample implements NListener {
    NClient client = new NClient(this);
}
  1. Call the required methods
// genre and the page no
client.browse(null, 1);

// string query to search for
client.search(query);

// to retrieve all the details and the pages for the novel
client.novel(novel);

// to retrieve the content for the chapter
client.chapter(chapter);

// returns the Set for all the genres
client.genres();
  1. Implement the listener methods
@Override
public void searchResult(List<Novel> novels) {
   
}

@Override
public void pageResult(NovelChapter chapter) {

}

@Override
public void novelResult(Novel novel) {

}

@Override
public void browseResult(List<Novel> novels) {

}

Using with Android

  1. For use with Android, you can make use of BroadcastReceiver or LiveData.
  2. All variables are public for the model classes.

novel-api's People

Contributors

ap-atul avatar

Watchers

 avatar  avatar  avatar

Forkers

sandarbhadawadi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.