Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

GetUserStoryList

Marco Dal Zovo edited this page Jul 23, 2021 · 2 revisions

Returns a list of UserStory objects filtered.

Need authentication!

Parameters

Name Type Summary
filter UserStoryFilter The request's filter

UserStoryFilter

Name Type Optional Summary
AnimeId Int64 Yes The story's anime to search
UserId Int64 Yes The story's user to search
Status UserStoryStatusEnum Yes The story's status to search
Synced Boolean Yes The story's synchronization state to search

Usage

UserStoryFilter filter = new UserStoryFilter()
{
  AnimeId = 11,
  UserId = 1,
  Sort = new Dictionary<string, SortDirectionEnum>()
  {
    { "anime_id", SortDirectionEnum.ASCENDING }
  }
};

var result = await AniAPI.Instance.GetUserStoryList(filter);
Clone this wiki locally