Class MyAnimeListService
Inheritance
System.Object
MyAnimeListService
Namespace: CommonBotLibrary.Services
Assembly: cs.temp.dll.dll
Syntax
public class MyAnimeListService : IAnimeService, IWebpageService, ISearchable<AnimeBase>
Constructors
MyAnimeListService(String, String)
Constructs an
Declaration
public MyAnimeListService(string username = null, string password = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | username | Defaults to username in Tokens if null. |
System.String | password | Defaults to password in Tokens if null. |
Methods
SearchAsync(String)
Searches myanimelist.net for anime that match a given title.
Declaration
public Task<IEnumerable<MyAnimeListResult>> SearchAsync(string title)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | The anime title to search for. |
Returns
Type | Description |
---|---|
Task<IEnumerable<MyAnimeListResult>> | A collection of relevant anime. |