{"id":18267895,"url":"https://github.com/dance2die/myanimelistsharp","last_synced_at":"2025-08-03T20:40:13.836Z","repository":{"id":89529629,"uuid":"41692254","full_name":"dance2die/MyAnimeListSharp","owner":"dance2die","description":"Access MyAnimeList Web API using .NET library","archived":false,"fork":false,"pushed_at":"2017-08-17T23:50:30.000Z","size":1908,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-20T20:14:27.435Z","etag":null,"topics":["anime","asynchronous","csharp","dotnet","facade","manga","nuget"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dance2die.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-31T18:13:38.000Z","updated_at":"2022-10-31T01:44:27.000Z","dependencies_parsed_at":"2024-06-07T13:04:29.332Z","dependency_job_id":null,"html_url":"https://github.com/dance2die/MyAnimeListSharp","commit_stats":null,"previous_names":["dance2die/project.myanimelist"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2FMyAnimeListSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2FMyAnimeListSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2FMyAnimeListSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dance2die%2FMyAnimeListSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dance2die","download_url":"https://codeload.github.com/dance2die/MyAnimeListSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247260305,"owners_count":20909981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anime","asynchronous","csharp","dotnet","facade","manga","nuget"],"created_at":"2024-11-05T11:29:17.327Z","updated_at":"2025-04-04T22:30:44.284Z","avatar_url":"https://github.com/dance2die.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to MyAnimeListSharp\n## The \"Easiest\" way to search Anime/Manga\n\n* **What**: .NET library for accessing MyAnimeList.net Web API ([API Documentation](http://myanimelist.net/modules.php?go=api))\n* **Framework**: .NET 4.5.2\n* **Contact Info**: [@SlightEdgeCoder](https://twitter.com/SlightEdgeCoder)\n* **License**: [The MIT License](http://opensource.org/licenses/MIT)\n\n\n## Overview\n### Facade makes the coding \"Simple\" and \"Easy\" to use.\nThere is a 1:1 matching between the Web API and the source code.\n![Image of Facade](http://i.imgur.com/IwUvS8w.jpg)\n\nThese four [facade](https://github.com/dance2die/Project.MyAnimeList/tree/master/Project.MyAnimeList/Project.MyAnimeList/Facade) classes are the only classes you need to deal with.\n* [AccountMethods.cs](https://github.com/dance2die/Project.MyAnimeList/blob/master/Project.MyAnimeList/Project.MyAnimeList/Facade/AccountMethods.cs)\n* [AnimeListMethods.cs](https://github.com/dance2die/Project.MyAnimeList/blob/master/Project.MyAnimeList/Project.MyAnimeList/Facade/AnimeListMethods.cs)\n* [MangaListMethods.cs](https://github.com/dance2die/Project.MyAnimeList/blob/master/Project.MyAnimeList/Project.MyAnimeList/Facade/MangaListMethods.cs)\n* [SearchMethods.cs](https://github.com/dance2die/Project.MyAnimeList/blob/master/Project.MyAnimeList/Project.MyAnimeList/Facade/SearchMethods.cs)\n \n### Asynchronous versions of facades are added in Version 1.3\n####The difference between Synchronous and Asynchronous version:\n`SearchMethods` is separated into two different files (subject to change in later version): \n\n1. [MangaSearchMethodsAsync.cs](https://github.com/dance2die/Project.MyAnimeList/blob/master/Project.MyAnimeList/Project.MyAnimeList/Facade/Async/MangaSearchMethodsAsync.cs)\n2. [AnimeListMethodsAsync.cs](https://github.com/dance2die/Project.MyAnimeList/blob/master/Project.MyAnimeList/Project.MyAnimeList/Facade/Async/AnimeListMethodsAsync.cs)\n![Image of Comparison](http://i.imgur.com/vNGVgQf.png)\n\n###Source is located under\n[Project.MyAnimeList/Project.MyAnimeList/Project.MyAnimeList/Facade/Async](https://github.com/dance2die/Project.MyAnimeList/tree/master/Project.MyAnimeList/Project.MyAnimeList/Facade/Async)\n\n\n## How to Install\n### Nuget\n[Install-Package MyAnimeListSharp](https://www.nuget.org/packages/MyAnimeListSharp/)\n\n\n## Examples\n### Search Manga\n```c#\n\t// Step 1: Enter UserName and Password information\n\tICredentialContext credential = new CredentialContext\n\t{\n\t\tUserName = \"\u003cMyAnimeList.NET UserName\u003e\",\n\t\tPassword = \"\u003cMyAnimeList.NET Password\u003e\"\n\t};\n\n\t// Step 2: Create a method object\n\tvar searchMethods = new SearchMethods(credential);\n\n\t// Step 3: Search using the search term (\"Full Metal\" in this case)\n\tstring response = searchMethods.SearchAnime(\"Full Metal\");\n```\n\n### Search Manga Asynchronously: New* in Version 1.3\n```c#\n\tICredentialContext credential = new CredentialContext\n\t{\n\t\tUserName = \"\u003cMyAnimeList.NET UserName\u003e\",\n\t\tPassword = \"\u003cMyAnimeList.NET Password\u003e\"\n\t};\n\t\n\tvar asyncMangaSearcher = new MangaSearchMethodsAsync(credential);\n\tvar response = await asyncMangaSearcher.SearchAsync(\"Dagashi Kashi\");\n```\n\n### Search Anime\n```c#\n\t// Step 1: Enter UserName and Password information\n\tICredentialContext credential = new CredentialContext\n\t{\n\t\tUserName = \"\u003cMyAnimeList.NET UserName\u003e\",\n\t\tPassword = \"\u003cMyAnimeList.NET Password\u003e\"\n\t};\n\n\t// Step 2: Create a method object\n\tvar searchMethods = new SearchMethods(credential);\n\n\t// Step 3: Search using the search term (\"Code Geass\" in this case)\n\tstring mangaResponse = searchMethods.SearchManga(\"Code Geass\");\n\tConsole.WriteLine(mangaResponse);\n```\n\n### Search Anime Asynchronously: New* in Version 1.3\n```c#\n\tICredentialContext credential = new CredentialContext\n\t{\n\t\tUserName = \"\u003cMyAnimeList.NET UserName\u003e\",\n\t\tPassword = \"\u003cMyAnimeList.NET Password\u003e\"\n\t};\n\n\tvar asyncAnimeSearcher = new AnimeSearchMethodsAsync(credential);\n\tvar response = await asyncAnimeSearcher.SearchAsync(\"Naruto\");\n```\n\n\n### Add Anime\n```c#\n\tvar methods = new AnimeListMethods(credential);\n\tvar animeValues = new AnimeValues\n\t{\n\t\tAnimeStatus = AnimeStatus.Watching,\n\t\tComments = \"It was a great series.\"\n\t};\n\tvar responseText = methods.AddAnime(ANIME_ID, animeValues);\n\tConsole.WriteLine(responseText);\n```\n\n### Add Manga\n```c#\n\tvar methods = new MangaListMethods(credential);\n\tvar mangaValues = new MangaValues\n\t{\n\t\tMangaStatus = MangaStatus.Reading,\n\t\tComments = \"I am planning to read this\"\n\t};\n\tvar responseText = methods.AddManga(MANGA_ID, mangaValues);\n\tConsole.WriteLine(responseText);\n```\n\n\n### Convert Response object to XML/JSON strings: New* in Version 1.3.1\n```c#\n\tvar asyncMangaSearcher = new MangaSearchMethodsAsync(credential);\n\tMangaSearchResponse response = await asyncMangaSearcher.SearchDeserializedAsync(\"Dagashi Kashi\");\n\n\tConsole.WriteLine(response.ToJson());\n\tConsole.WriteLine(response.ToXml());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdance2die%2Fmyanimelistsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdance2die%2Fmyanimelistsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdance2die%2Fmyanimelistsharp/lists"}