Search API

Issue #45 resolved
James created an issue

Is it possible to add an API option for search to use the official search API as it seems to provide additional information? I know it will require authentication, but the drawback with the existing search is that it does not provide alternative titles, which is something my program needs to check since it's a scrobbler. Let me know if you are willing to do so as I don't want to mess with XML and would rather work with JSON instead.

Comments (8)

  1. Michael Johnson

    What kind of information are you looking to get? We can probably switch to the API search method (rather than parsing the HTML) in a new API revision. That would gain access to some extra details like synonyms. If it's something not present in the API return data or webpage return data and requires that we scrape each anime title page, it probably won't happen.

  2. James reporter

    Synonyms are the only other thing that I need to access besides the title, which doesn't seem to exist in the existing search API.

  3. Michael Johnson

    MAL API search requires authentication, so it will take some work as we don't want to break the no-auth method either. I'm fine with offering the additional information from the other method. If we have time to put it in API spec 2.0, we'll do so. If not, it will likely be in a minor rev to the spec.

  4. Ratan Dhawtal

    I do not recommend to use API 2.1 yet because I am still changing some things around which could break the API but for now this should be fine.

  5. Log in to comment