Skip to content

Axiks/MamiRepository

Repository files navigation

Mami

anime offline database library

GitHub license GitHub license

This is a unofficial C# library for Manami anime offline database. It allows you to download a database from a remote repository and interact with it locally without the need to connect to the Internet.

Apabilities

  • Download database from remote repository
  • Automatic update of the local database
  • Selection of all anime
  • Search anime by ID

Technologies used

Installation

Copy repository to local project

Configuration

var mamiAnimeDatabase = new MamiDatabase(pathToDatabaseFolder, autoUpdateLocalDatabase);
  • pathToDatabaseFolder - The path to the folder where the necessary files will be stored when working with the library
  • autoUpdateLocalDatabase - Updates the database, if a newer version is available

How To Use

This method returns all anime from the database

List<ManamiAnime> mamiAnimes = mamiAnimeDatabase.GetAllAnime();

This method returns searches for anime by ID from any available service

List<ManamiAnime> mamiAnimes = mamiAnimeDatabase.GetAnimeById("4224");

This is how you can get information about anime

ManamiAnime anime = mamiAnimes.First();
string title = anime.title;
string posterLink = anime.picture;
List<string> tags = anime.tags;
string animeType = anime.type.ToString();

All available methods and fields are similar to those posted in the documentation to anime offline database.

Sources

This library is based on the manami-project Thanks for the logo Yurii Hromko