GithubHelp home page GithubHelp logo

supermarcus / myanimelist-api-specification Goto Github PK

View Code? Open in Web Editor NEW
63.0 5.0 6.0 38 KB

An unofficial API specification for MyAnimeList

License: GNU General Public License v3.0

myanimelist-api myanimelist mal anime rest api api-documentation manga rest-api

myanimelist-api-specification's Introduction

Hi there ๐Ÿ˜€ you're viewing Marcus's Github profile.

  • โœจ I am an open-source advocate (list of projects).
  • ๐Ÿซ Currently pursuing Computer Science degrees.
  • ๐Ÿ’ฌ Talk to me about mobile software development, embedded systems, and computer networks.

myanimelist-api-specification's People

Contributors

carleslc avatar emekoi avatar supermarcus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

myanimelist-api-specification's Issues

New Authorisation

MyAnimeLIst now uses OAuth2 for authorisation. The docs here should be updated to match this with examples. The MAL docs are not that great.

Updating the number of watched episodes

I found an issue regarding this section: https://github.com/SuperMarcus/myanimelist-api-specification#update-entries. It says:

The request parameters can be one of the entries in the MyListStatusObject

This is, however, not exactly true. When sending num_episodes_watched field, the server returns an error:

{"message":"This form should not contain extra fields.","error":"bad_request"}

The field should be in fact called num_episodes_watched when making a PUT/PATCH request. The response will still contain num_watched_episodes. Like so:

RequestBuilder {
    method: PATCH,
    url: "https://api.myanimelist.net/v2/anime/918/my_list_status",
    headers: {
        "authorization": "Bearer ...",
        "content-type": "application/x-www-form-urlencoded",
    },
}
num_watched_episodes=1

Response: {"status":"on_hold","score":0,"num_episodes_watched":1,"is_rewatching":false,"updated_at":"2020-04-17T20:47:36+00:00","priority":0,"num_times_rewatched":0,"rewatch_value":0,"tags":[],"comments":""}

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.