View previous topic :: View next topic |
Author |
Message |
|
Kovaelin
Joined: 05 Feb 2011
Posts: 19
Location: Canada
|
Posted: Mon Jun 18, 2018 11:01 am
|
|
|
Are there any plans on expanding the API beyond just the encyclopedia, and perhaps incorporating people's tracking profiles?
Also, does anybody know of apps that exist right now that uses ANN's API?
Thanks.
|
Back to top |
|
|
Tempest
 I Run this place.
ANN Publisher
Joined: 29 Dec 2001
Posts: 10477
Location: Do not message me for support.
|
Posted: Tue Jun 26, 2018 1:29 pm
|
|
|
Right now there are no specific plans, but we're planing on a lot of development in the near future. We're open to suggestions. What would you like to see from an API ?
|
Back to top |
|
|
consignia
Joined: 06 Jul 2011
Posts: 395
|
Posted: Tue Jun 26, 2018 2:28 pm
|
|
|
I don't use the API, and only used it briefly a while back, but if you are looking to do some work on it, I'd think it'd benefit from being more RESTful in that it'd be good to have links between resource e.g.
Could be
Code: |
<related>
<uri>/api.xml?anime=4199</url>
<rel>adapted from</rel>
</related>
|
Which would assist with traversing data. Also having extra resources available via the API, i.e. persons, would be useful to be able to extract more information.
I was investigating some graphing algorithms a while back and wanted to pluck some people and the work they were involved in as example data to play with. Having the above would have made the job a lot easier. Not that I'm saying my case is worth investing any time or thought into, just I found the API a pain to work with and if it is seriously to be extended for external use, then I'd really consider looking at the above.
|
Back to top |
|
|
hugonun
Joined: 15 Oct 2018
Posts: 19
Location: Luxembourg
|
Posted: Mon Oct 15, 2018 2:54 am
|
|
|
Currently, the only way to get the IDs of the newest anime is by using the following:
Quote: | reports.xml?id=155&type=anime&nlist=<row> |
The issue is that we don't know how many rows we should display, meaning we have to do an extra API call to get the latest anime id, and use it to calculate the necessary rows.
It would be great if the API could give the needed rows automatically using the latest anime ID we have. Assuming our latest ID is 1000, it would look like:
Quote: | reports.xml?id=155&type=anime&lastid=1000 |
|
Back to top |
|
|
Kovaelin
Joined: 05 Feb 2011
Posts: 19
Location: Canada
|
Posted: Sun Oct 21, 2018 7:26 pm
|
|
|
Tempest wrote: | Right now there are no specific plans, but we're planing on a lot of development in the near future. We're open to suggestions. What would you like to see from an API ? |
Being able to use it for tracking our lists through things like Taiga would be good.
You're currently missing a really good opportunity to gain users since MAL's still getting their site sorted out, after all these months.
|
Back to top |
|
|
|