anilist_moe 0.4.0

Anilist_Moe is a Rust Wrapper for the Anilist API. This library allows you to seamlessly interact with Anilist's Public API with and without authentication. This currently supports Anime, Manga, Users, Staff, Forum, Threads, Recommendations, Reviews and User Activities
Documentation
mutation ToggleLike(
    $id: Int
    $type: LikeableType
) {
    ToggleLikeV2(
        id: $id
        type: $type
    ) {
        ... on ListActivity {
            __typename
            id
            type
            replyCount
            likeCount
            isLiked
            createdAt
        }
        ... on TextActivity {
            __typename
            id
            type
            replyCount
            likeCount
            isLiked
            createdAt
        }
        ... on MessageActivity {
            __typename
            id
            type
            replyCount
            likeCount
            isLiked
            createdAt
        }
        ... on ActivityReply {
            __typename
            id
            likeCount
            createdAt
        }
        ... on Thread {
            __typename
            id
            userId
            likeCount
            isLiked
            createdAt
            updatedAt
        }
        ... on ThreadComment {
            __typename
            id
            likeCount
            isLiked
            createdAt
            updatedAt
        }
    }
}