diff --git a/app/bootstrap.php b/app/bootstrap.php index 9bb8e65a..1c1c224b 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/build/header_comment.txt b/build/header_comment.txt index 5ca5be22..dc7627bb 100644 --- a/build/header_comment.txt +++ b/build/header_comment.txt @@ -1,7 +1,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/index.php b/index.php index 86f91900..c8aa3081 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/APIRequestBuilder.php b/src/API/APIRequestBuilder.php index 3fb2a7b5..22a102f9 100644 --- a/src/API/APIRequestBuilder.php +++ b/src/API/APIRequestBuilder.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Anilist.php b/src/API/Anilist.php index b45ae8d3..44a8468b 100644 --- a/src/API/Anilist.php +++ b/src/API/Anilist.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Anilist/AnilistRequestBuilder.php b/src/API/Anilist/AnilistRequestBuilder.php index 3d4e9d89..9e80d89c 100644 --- a/src/API/Anilist/AnilistRequestBuilder.php +++ b/src/API/Anilist/AnilistRequestBuilder.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Anilist/AnilistTrait.php b/src/API/Anilist/AnilistTrait.php index a9fae0c4..be24213e 100644 --- a/src/API/Anilist/AnilistTrait.php +++ b/src/API/Anilist/AnilistTrait.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * @@ -32,7 +32,7 @@ trait AnilistTrait { use ContainerAware; /** - * The request builder for the MAL API + * The request builder for the Anilist API * @var AnilistRequestBuilder */ protected $requestBuilder; diff --git a/src/API/Anilist/GraphQL/Mutations/UpdateAnimeListEntry.graphql b/src/API/Anilist/GraphQL/Mutations/UpdateAnimeListEntry.graphql new file mode 100644 index 00000000..0e42bcc0 --- /dev/null +++ b/src/API/Anilist/GraphQL/Mutations/UpdateAnimeListEntry.graphql @@ -0,0 +1,15 @@ +mutation ( + $id: Int, + $status: String, + $score: Int, + $progress: Int, + $repeat: Int +) { + SaveMediaListEntry ( + id: $id + status: $status + scoreRaw: $score + progress: $progress + repeat: $repeat + ) +} \ No newline at end of file diff --git a/src/API/Anilist/ListItem.php b/src/API/Anilist/ListItem.php index 087f5247..62d34e7f 100644 --- a/src/API/Anilist/ListItem.php +++ b/src/API/Anilist/ListItem.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Anilist/Model.php b/src/API/Anilist/Model.php index 25e93a6b..0093421c 100644 --- a/src/API/Anilist/Model.php +++ b/src/API/Anilist/Model.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Anilist/Transformer/AnimeListTransformer.php b/src/API/Anilist/Transformer/AnimeListTransformer.php index d4bc82d0..55db05a6 100644 --- a/src/API/Anilist/Transformer/AnimeListTransformer.php +++ b/src/API/Anilist/Transformer/AnimeListTransformer.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Anilist/Transformer/MangaListTransformer.php b/src/API/Anilist/Transformer/MangaListTransformer.php index c14922d2..66757090 100644 --- a/src/API/Anilist/Transformer/MangaListTransformer.php +++ b/src/API/Anilist/Transformer/MangaListTransformer.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/CacheTrait.php b/src/API/CacheTrait.php index de3ff71a..7f5b07dc 100644 --- a/src/API/CacheTrait.php +++ b/src/API/CacheTrait.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/AnimeWatchingStatus/Anilist.php b/src/API/Enum/AnimeWatchingStatus/Anilist.php index 6a8ee915..72ea62e7 100644 --- a/src/API/Enum/AnimeWatchingStatus/Anilist.php +++ b/src/API/Enum/AnimeWatchingStatus/Anilist.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/AnimeWatchingStatus/Kitsu.php b/src/API/Enum/AnimeWatchingStatus/Kitsu.php index 8bff6591..6d5f011a 100644 --- a/src/API/Enum/AnimeWatchingStatus/Kitsu.php +++ b/src/API/Enum/AnimeWatchingStatus/Kitsu.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/AnimeWatchingStatus/Route.php b/src/API/Enum/AnimeWatchingStatus/Route.php index 05998b54..85d82b14 100644 --- a/src/API/Enum/AnimeWatchingStatus/Route.php +++ b/src/API/Enum/AnimeWatchingStatus/Route.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/AnimeWatchingStatus/Title.php b/src/API/Enum/AnimeWatchingStatus/Title.php index 5a93d437..f1a86c53 100644 --- a/src/API/Enum/AnimeWatchingStatus/Title.php +++ b/src/API/Enum/AnimeWatchingStatus/Title.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/MangaReadingStatus/Anilist.php b/src/API/Enum/MangaReadingStatus/Anilist.php index 2dbc6bec..f2f95bd9 100644 --- a/src/API/Enum/MangaReadingStatus/Anilist.php +++ b/src/API/Enum/MangaReadingStatus/Anilist.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/MangaReadingStatus/Kitsu.php b/src/API/Enum/MangaReadingStatus/Kitsu.php index f7c157dc..705637f6 100644 --- a/src/API/Enum/MangaReadingStatus/Kitsu.php +++ b/src/API/Enum/MangaReadingStatus/Kitsu.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/MangaReadingStatus/Route.php b/src/API/Enum/MangaReadingStatus/Route.php index ecd54366..e7bd7eee 100644 --- a/src/API/Enum/MangaReadingStatus/Route.php +++ b/src/API/Enum/MangaReadingStatus/Route.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/Enum/MangaReadingStatus/Title.php b/src/API/Enum/MangaReadingStatus/Title.php index 8188658f..1df173a1 100644 --- a/src/API/Enum/MangaReadingStatus/Title.php +++ b/src/API/Enum/MangaReadingStatus/Title.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/FailedResponseException.php b/src/API/FailedResponseException.php index b64ed202..c7287d68 100644 --- a/src/API/FailedResponseException.php +++ b/src/API/FailedResponseException.php @@ -2,7 +2,7 @@ /** * Hummingbird Anime List Client * - * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists + * An API client for Kitsu to manage anime and manga watch lists * * PHP version 7 * diff --git a/src/API/HummingbirdClient.php b/src/API/HummingbirdClient.php index 6f72e536..467e2356 100644 --- a/src/API/HummingbirdClient.php +++ b/src/API/HummingbirdClient.php @@ -1,8 +1,8 @@ -