This project is now abandoned, as the site is nolonger available.
JEdenManga is an unofficial Manga Eden API client using java see more at https://www.mangaeden.com/api.
Get All Manga
Language can be English or Italian, default is English
Returned data: MangaListObject that contains
page,start,end, and total
list of "mangas" which contains the manga's image, title, ID, alias, status, category (genre), last chapter date, and hits.
Same as getAllManga(), but returns only 500 manga's informations (from manga X*500 to (X+1)*500, where X is the page argument)
try {
JEdenManga edenManga = new JEdenManga();
//mangas from 1500 to 2000
MangaList mangaList = edenManga.getMangaListSplited(3);
List<Manga> mangas = mangaList.getMangas();
} catch (IOException e) {
e.printStackTrace();
}
Manga List splitted in pages with variable page size
Same as above but returns only Y manga's informations (from manga X*Y to (X+1)*Y) [25 < Y < 1500]
ie if X is 0 and Y is 30, this will return first 30 list,
if x is 1 and y is 30 this will return mangas 30 to 60
if x is 2 and y is **50** it will return mangas from the range 100 to 150 and so on
x is the page value and y is the number of manga in the page
try {
JEdenManga edenManga = new JEdenManga();
// returns mangas from 30 to 60
MangaList first10Manga = edenManga.getMangaListSplitedRange(1, 30);
List<Manga> mangas = first10Manga.getMangas();
} catch (IOException e) {
e.printStackTrace();
}
Manga info and chapters list
Where mangaId is the manga's id you can get with the previous api call
Returned data: all the informations and chapters of the manga.
password should be parsed as char array.
Returns Status.OK when successful, Status.ERROR on failure.
JEdenManga edenManga = new JEdenManga();
Status status = edenManga.login("userName", "pasword".toCharArray());
System.out.println(status==Status.OK);
System.out.println(status==Status.ERROR);
Logout
Returns Status.OK when successful, Status.ERROR on failure.
JEdenManga edenManga = new JEdenManga();
Status status = edenManga.logout()
System.out.println(status==Status.OK);
System.out.println(status==Status.ERROR);
MyManga
User should login before calling this api.
Returns all manga saved in the user's mymanga list with all the informations about the manga, latest available chapter and last chapter read by the user.
JEdenManga edenManga = new JEdenManga();
Status status = edenManga.login("userName", "pasword".toCharArray());
if(status==Status.OK) {
List myManga = edenManga.myManga();
myManga.forEach(manga->{
System.out.println(manga.getLastChapterRead());
});
}