Represents a "Search Methods" section in MyAnimeList.net specification. http://myanimelist.net/modules.php?go=api
Inheritance: MyAnimeListSharp.Core.MyAnimeListMethods
Beispiel #1
0
		private static void TestSearch(ICredentialContext credential)
		{
			//// Step 1: Enter UserName and Password information
			//ICredentialContext credential = new CredentialContext
			//{
			//	UserName = "******",
			//	Password = "******"
			//};

			// Step 2: Create a method object
			var searchMethods = new SearchMethods(credential);

			// Step 3: Search using the search term ("Full Metal" in this case)
			string mangaResponse = searchMethods.SearchManga("Code Geass");
			Console.WriteLine(mangaResponse);

			// Step 3: Search using the search term ("Full Metal" in this case)
			string animeResponse = searchMethods.SearchAnime("Full Metal");
			Console.WriteLine(animeResponse);
		}
		public SearchMethodsTest(CredentialContextFixture credentialContextFixture)
			: base(credentialContextFixture)
		{
			Sut = new SearchMethods(credentialContextFixture.CredentialContext);
		}