Git Product home page Git Product logo

anisharp's Introduction

AniSharp

This library makes easier to get data from my myanimelist.net using web scraping. This doesnt use the mal api so there can be some bugs or problems using it. In my case everything works great. Take in mind that this library is still on development

Nuget GitHub GitHub issues

Installation

dotnet add package Feli.AniSharp

Basic Usage

With AniSharp there are no needs to login using credentials you can directly get the data from the web

// If you want you can use cache so requesting the same site several times will be faster
AniSharp.EnableCache();

// If you want you can disable cache in this way
AniSharp.DisableCache();

// Gets the anime called Shinmai Maou no Testament (https://myanimelist.net/anime/23233/Shinmai_Maou_no_Testament)
var anime = AniSharp.GetAnimeFromName("Testament");

// Gets the manga called Metamorphosis (https://myanimelist.net/manga/65981/Henshin)
var manga = AniSharp.GetMangaFromName("Henshin");

// Gets the top of ova
var ovas = AniSharp.GetTopAnime(type: TopTypes.Ova);

// Gets the default top of anime from the 50
var animes = AniSharp.GetTopAnime(startIndex: 50);

// You can also get things asynchronously
var anime = await AniSharp.GetAnimeFromNameAsync("Testament");

// Lets print the anime name and synopsis
Console.WriteLine(anime.Name);
Console.WriteLine(anime.Synopsis);

Libraries Used

This project uses html-agility-pack licensed under the mit license https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE

anisharp's People

Contributors

negrifelipe avatar

Stargazers

 avatar  avatar

Watchers

 avatar

anisharp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.