Class Title
Translated title from anilibtia.tv! You can get all information about the title, like: names, posters, episodes, torrent files ect. Reed docs to see more
Inheritance
Inherited Members
Namespace: Anilibria.NET.Models.TitleModel
Assembly: Anilibria.NET.dll
Syntax
public class Title
Properties
Announce
Message from anilibira team for this title
Declaration
[JsonProperty("announce")]
public string Announce { get; }
Property Value
Type | Description |
---|---|
System.String |
BlockedConfiguration
Blocking state configuration of title
Declaration
[JsonProperty("blocked")]
public BlockedConfiguration BlockedConfiguration { get; }
Property Value
Type | Description |
---|---|
BlockedConfiguration |
Code
Title code, used to create a link
Declaration
[JsonProperty("code")]
public string Code { get; }
Property Value
Type | Description |
---|---|
System.String |
Description
Title description
Declaration
[JsonProperty("description")]
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Genres
List of genres
Declaration
[JsonProperty("genres")]
public List<string>? Genres { get; }
Property Value
Type | Description |
---|---|
System.Nullable<List<System.String>> |
Id
Title ID
Declaration
[JsonProperty("id")]
public int Id { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
InFavorites
The number of users who added the title to favorites
Declaration
[JsonProperty("in_favorites")]
public string InFavorites { get; }
Property Value
Type | Description |
---|---|
System.String |
IsBlockedInRussia
State of title blocking in russia
Declaration
public bool IsBlockedInRussia { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastChangeDate
Last change date
Declaration
[JsonProperty("last_change")]
[JsonConverter(typeof(UnixDateTimeConverter))]
public DateTime? LastChangeDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Name
Name of title in russian
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
NamesConfiguration
Configuration of title name in different languages
Declaration
[JsonProperty("names")]
public NamesConfiguration NamesConfiguration { get; }
Property Value
Type | Description |
---|---|
NamesConfiguration |
Season
Title season
Declaration
public Season Season { get; }
Property Value
Type | Description |
---|---|
Season |
SeasonConfiguration
Configuration of title season
Declaration
[JsonProperty("season")]
public SeasonConfiguration SeasonConfiguration { get; }
Property Value
Type | Description |
---|---|
SeasonConfiguration |
Status
Title status
Declaration
public TitleStatus Status { get; }
Property Value
Type | Description |
---|---|
TitleStatus |
StatusConfiguration
Configuration of title status
Declaration
[JsonProperty("status")]
public StatusConfiguration StatusConfiguration { get; }
Property Value
Type | Description |
---|---|
StatusConfiguration |
Team
The team that worked on the title
Declaration
[JsonProperty("team")]
public Team Team { get; }
Property Value
Type | Description |
---|---|
Team |
TitleTypeConfiguration
Configuration of title type
Declaration
[JsonProperty("type")]
public TitleTypeConfiguration TitleTypeConfiguration { get; }
Property Value
Type | Description |
---|---|
TitleTypeConfiguration |
Type
Type of title
Declaration
public TitleType Type { get; }
Property Value
Type | Description |
---|---|
TitleType |
UdatedDate
Last update date
Declaration
[JsonProperty("updated")]
[JsonConverter(typeof(UnixDateTimeConverter))]
public DateTime? UdatedDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Methods
GetPlayerAsync()
Getting the title player
Declaration
public async Task<Player> GetPlayerAsync()
Returns
Type | Description |
---|---|
Task<Player> | Player of title |
GetPostersAsync(Boolean)
Getting title posters
Declaration
public async Task<Posters> GetPostersAsync(bool downloadBase64)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | downloadBase64 | if true, posters will be downloaded with raw base64 image |
Returns
Type | Description |
---|---|
Task<Posters> |
GetTorrentAsync(Boolean, Boolean)
Getting the title torrent files
Declaration
public async Task<Torrent> GetTorrentAsync(bool downloadMetadate, bool downloadBase64)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | downloadMetadate | if true: download metadata of files |
System.Boolean | downloadBase64 | if true: download raw base64 torrent files |
Returns
Type | Description |
---|---|
Task<Torrent> |
ToString()
Override on .ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Title code |