Skip to content

luknl/MAL-poll-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAL-poll-parser

See chart of episode's ratings evolution from any anime, based on MAL Discussion Polls

Introduction

I saw this imgur post and found the statistics interesting. However I didn't knew where theses informations were found.

That is why I created this PHP parser.

How it works :

alt tag alt tag

Instructions

  • Choose an anime in the home page or choose your anime like this :
    --> take the {anime id}/{anime name} in the url of the anime page in MAL (ex "30015/ReLIFE") and put it after the url (ex "anime.php?anime=30015/ReLIFE")

    You can then add 1 or more filters like this : "&{filter}={value}" after the url

Filters

  • length --> how many episodes (from ep 1) you want to display (default = none, max = 25)
  • graph --> 0 = no graph, only array / 1 = show graph (default = 1)
  • sort (if graph = 0) --> 0 = sort in episode number / 1 = sort by best episodes (default = 1)

Future and contribution

This is a v0.2, there is still a lot of work to do :

  • making the parsing faster
  • improve the math calculation method (it currently only takes into account percentage of 5/5 votes in MAL Episode Discussion)br/>
    Feel free to contribute to this repository.
    You can contact me here

About

Parse poll results from all the episodes from an anime, then render chart to see popular episodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published