jikan-rest/README.MD

113 lines
5.5 KiB
Plaintext
Raw Normal View History

2022-01-26 20:48:41 +05:00
[![Jikan](https://i.imgur.com/ccx3pxo.png)](#jikan-rest-api-v4---unofficial-myanimelistnet-rest-api)
2022-01-26 20:48:23 +05:00
2022-01-02 03:18:22 +05:00
# Jikan REST API v4 - Unofficial MyAnimeList.net REST API
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/jikan-me/jikan-rest.svg)](http://isitmaintained.com/project/jikan-me/jikan-rest "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/jikan-me/jikan-rest.svg)](http://isitmaintained.com/project/jikan-me/jikan-rest "Percentage of issues still open") [![stable](https://img.shields.io/badge/PHP-^8.0-blue.svg?style=flat)]() [![Discord Server](https://img.shields.io/discord/460491088004907029.svg?style=flat&logo=discord)](https://discordapp.com/invite/4tvCr36)
2018-04-21 13:28:44 +05:00
2022-01-02 03:18:22 +05:00
Jikan is a REST API for [MyAnimeList.net](https://myanimelist.net). It scrapes the website to satisfy the need for API functionality that MyAnimeList.net lacks.
2018-04-21 13:28:44 +05:00
2021-04-11 23:05:40 +05:00
The raison d'être of Jikan is to assist developers easily get the data they need for their apps and projects without having to depend on unstable APIs, or sidetracking their projects to develop parsers.
2018-04-21 13:28:44 +05:00
2018-12-17 11:53:13 +05:00
The word _Jikan_ literally translates to _Time_ in Japanese (**時間**). And that's what this API saves you of. ;)
2018-04-21 13:28:44 +05:00
2022-01-02 03:18:22 +05:00
**Notice**: Jikan REST API does not support authenticated requests. You can not update your lists. Use the official MyAnimeList API for this!
2018-12-17 11:53:13 +05:00
2019-11-15 11:31:29 -08:00
2021-12-30 18:49:52 +05:00
## Installation
2021-12-30 18:52:12 +05:00
2022-01-02 03:18:22 +05:00
### NOTICE: v3
This is Jikan REST API **v4** - which has been merged into master branch. If you're looking for deploying a v3 build, view the v3 branch for installation instructions:
https://github.com/jikan-me/jikan-rest/tree/v3
2022-12-03 03:35:01 +05:00
⚠ v3 is discontinued and will no longer receive any updates.
2022-01-02 03:18:22 +05:00
2021-12-30 18:52:12 +05:00
### Manual installation
2021-12-30 18:49:52 +05:00
Please read the [manual installation guide](https://github.com/jikan-me/jikan-rest/wiki).
For any additional help, join our [Discord server](http://discord.jikan.moe/).
2021-04-11 23:09:54 +05:00
2021-12-30 18:49:52 +05:00
### 🐳 Docker Installation
We distribute the app as a container image so you can just run it:
```bash
docker run -d --name=jikan-rest -p 8080:8080 -v ./.env:/app/.env jikanme/jikan-rest:latest
```
For more information please refer to our [container usage guide](container_usage.md).
2022-08-17 16:16:19 +01:00
2021-12-30 18:49:52 +05:00
## Public REST API
2018-12-17 11:53:13 +05:00
If you don't want to host your instance, there's a public API available.
2021-12-30 18:52:12 +05:00
- *[Apps/Projects using the REST API](https://jikan.moe/showcase)*
2021-12-30 18:49:52 +05:00
2021-12-30 18:52:12 +05:00
### Documentation
2021-12-30 18:49:52 +05:00
Please view the [documentation](https://docs.api.jikan.moe/).
For any additional help, join our [Discord server](http://discord.jikan.moe/).
2018-12-17 11:53:13 +05:00
2021-12-30 18:50:38 +05:00
## Wrappers
2021-04-11 23:13:03 +05:00
| Language | Wrappers |
|------------|----------|
2022-03-20 04:22:39 +05:00
| JavaScript | [JikanJS](https://github.com/zuritor/jikanjs) by Zuritor<br>🆕 **(v4)** [JikanJS](https://github.com/mateoaranda/jikanjs) by Mateo Aranda |
2022-07-28 01:48:50 +05:00
| Java | [Jikan4java](https://github.com/Doomsdayrs/Jikan4java) by Doomsdayrs<br>🆕 **(v4)** [reactive-jikan](https://github.com/SandroHc/reactive-jikan) by Sandro Marques<br>🆕 **(v4)** [Jaikan](https://github.com/ShindouMihou/Jaikan) by ShindouMihou |
2021-04-11 23:13:03 +05:00
| Python | [JikanPy](https://github.com/abhinavk99/jikanpy) by Abhinav Kasamsetty |
2022-03-24 10:54:23 +05:30
| Node.js | [jikan-node](https://github.com/xy137/jikan-node) by xy137<br>[jikan-nodejs](https://github.com/ribeirogab/jikan-nodejs) by ribeirogab<br>🆕 **(v4)** [Jikan4JS](https://github.com/rizzzigit/jikan4.js) by RizzziGit<br>🆕 **(v4)** [jikan-api.js](https://github.com/OpenianDevelopment/jikan-api.js) by OpenianDev |
2021-04-11 23:13:03 +05:00
| TypeScript | [jikants](https://github.com/Julien-Broyard/jikants) by Julien Broyard<br>[jikan-client](https://github.com/javi11/jikan-client) by Javier Blanco |
| PHP | [jikan-php](https://github.com/janvernieuwe/jikan-jikanPHP) by Jan Vernieuwe |
2022-03-20 04:22:39 +05:00
| .NET | 🆕 **(v4)** [Jikan.net](https://github.com/Ervie/jikan.net) by Ervie |
2021-04-11 23:13:03 +05:00
| Elixir | [JikanEx](https://github.com/seanbreckenridge/jikan_ex) by Sean Breckenridge |
2022-07-28 01:48:50 +05:00
| Go | 🆕 **(v4)** [jikan-go](https://github.com/darenliang/jikan-go) by Daren Liang<br>[jikan2go](https://github.com/nokusukun/jikan2go) by nokusukun |
2021-04-11 23:13:03 +05:00
| Ruby | [Jikan.rb](https://github.com/Zerocchi/jikan.rb) by Zerocchi |
| Dart | [jikan-dart](https://github.com/charafau/jikan-dart) by Rafal Wachol |
| Kotlin | [JikanKt](https://github.com/GSculerlor/JikanKt) by Ganedra Afrasya |
[Add your wrapper here](https://github.com/jikan-me/jikan-rest/edit/master/readme.md)
2018-12-17 11:53:13 +05:00
2019-11-15 11:31:29 -08:00
## Running Tests
`php vendor/bin/phpunit tests`
Note: Tests may fail due to rate limit from MyAnimeList (HTTP 429)
2019-06-02 14:46:35 +05:00
---
2021-12-30 18:50:38 +05:00
## Backers
2021-07-19 00:15:30 +05:00
A huge thank you to all our Patrons! 🙏 This project wouldn't be running without your support.
We have a free [REST API service](https://jikan.moe), if you wish to support us you can [become a Patron!](https://patreon.com/jikan)
2021-12-30 18:50:38 +05:00
### Sugoi (すごい) Patrons
2019-06-02 14:46:35 +05:00
2019-08-26 08:20:27 -07:00
- [Jared Allard (jaredallard)](https://github.com/jaredallard)
2020-02-22 22:01:45 +05:00
- [hugonun (hug_onun)](https://twitter.com/hug_onun)
2019-08-26 08:20:27 -07:00
2021-12-30 18:50:38 +05:00
### Patrons
2021-07-19 00:15:30 +05:00
- Aaron Treinish
2022-12-03 03:35:01 +05:00
- Abdelhafid Achtaou
2021-12-30 19:03:36 +05:00
- Aika Fujiwara
2022-12-03 03:35:01 +05:00
- Bobby Williams
2021-07-19 00:15:30 +05:00
- Cesar Irad Mendoza
2022-12-03 03:35:01 +05:00
- CrafterSama
2021-12-30 19:03:36 +05:00
- Fro116
2021-07-19 00:15:30 +05:00
- Jason Weatherly
- Jesse
- Kundan Chintamaneni
- Kururin
- Purplepinapples
2021-12-30 19:03:36 +05:00
- Ryo Ando
2021-07-19 00:15:30 +05:00
- Sakamotodesu
- TeraNovaLP
2019-08-26 08:20:27 -07:00
2021-07-19 00:15:30 +05:00
## Development
|||
|------------|----------|
| ![JetBrain](https://user-images.githubusercontent.com/9166451/126047249-9e5bdc63-ae91-4082-bca5-ffe271b421da.png) | Jikan's development is powered by [JetBrain's Open Source License](https://jb.gg/OpenSource) |
A shoutout to their amazing products and for supporting Jikan since early versions!
2019-06-02 14:46:35 +05:00
---
2021-07-19 00:15:30 +05:00
# DISCLAIMER
- Jikan is not affiliated with MyAnimeList.net
2018-12-17 11:53:13 +05:00
- You are responsible for the usage of this API. Please be respectful towards MyAnimeList's [Terms Of Service](https://myanimelist.net/about/terms_of_use)