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
fragment LikesFields on User {
    id
    name
    avatar {
        large
    }
}

fragment ReplyFields on ActivityReply {
    id
    text(asHtml: $text_as_html)
    createdAt
    likeCount
    isLiked
    user {
        id
        name
        avatar {
            large
        }
    }
    likes {
        ...LikesFields
    }
}

query FetchActivityReplies(
    # Pagination
    $page: Int,
    $perPage: Int = 30,

    # Filters
    $id: Int,
    $activityId: Int

    # HTML rendering options
    $text_as_html: Boolean = false
) {
    Page(page: $page, perPage: $perPage) {
        pageInfo {
            hasNextPage
        }
        activityReplies(id: $id, activityId: $activityId) {
            ...ReplyFields
        }
    }
}