https://github.com/cristian-sknz/myanilist-api
An unofficial MyAnimeList API using Web Crawler
https://github.com/cristian-sknz/myanilist-api
Last synced: 3 months ago
JSON representation
An unofficial MyAnimeList API using Web Crawler
- Host: GitHub
- URL: https://github.com/cristian-sknz/myanilist-api
- Owner: Cristian-Sknz
- Created: 2020-09-16T11:25:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T21:17:25.000Z (over 4 years ago)
- Last Synced: 2025-01-22T20:35:28.727Z (5 months ago)
- Language: Java
- Homepage:
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
![]()
An unofficial My Anime List API, using Htmlparser.## :paperclip: My Objective
`I created this wrapper, to use in my projects. I have no intention of keeping 100% updated.
If you want to use it, you will have a small example below, and for now it has no documentation.`Sorry my english :3
## :dvd: Dependencias
The dependencies are inside build.gradle## :newspaper: Add your dependencies!
[](https://jitpack.io/#Cristian-Sknz/MyAniList-API)
* Gradle```groovy
repositories {
maven { url 'https://jitpack.io' }
}dependencies {
compile 'com.github.Cristian-Sknz:MyAniList-API:VERSION'
}
```
* Maven
```xml
jitpack.io
https://jitpack.io
}
com.github.Cristian-Sknz
MyAniList-API
VERSION}
```
## :man_teacher: Simple Use
I made it pretty simple.```java
public static Main(String[] args) {
MyAnimeList api = new MyAnimeList();
//Request an anime ("By" can be used for search or id)
Request request = api.getAnime(By.search("naruto"));
//When using .get () it will open a connection.
Anime naruto = request.get();
//Print the information obtained
System.out.println(naruto.getName());
System.out.println(naruto.getId());
System.out.println(naruto.getCharacters());
[...] // The same works for the rest (characters, profiles, anime lists and manga).
}
```This project is not complete, I intend to update whenever I can.
Thanks for reading me :D