API

From AniDB
Revision as of 11:51, 21 April 2009 by Foo2 (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

AniDB offers a number of different ways in which you can obtain or modify specific data. Feel free to drop by on IRC if you have any questions or simply don't know where to start :o)


Core Services

UDP API

The UDP API is a public UDP based read/write API which can be used to obtain information about specific files and database entries. This API is the best choice for all file related activities as well as for many others.

If you're new to the AniDB APIs, we recommend that you take a look at the UDP API first.

more: UDP API Definition, UDP API DEV, UDP Clients, WebAOM

HTTP API (limited)

Provides read-only access to a limited subset of the AniDB database via HTTP requests.

Currently this is only interesting for people interested in non-file/episode related information for a specific anime.

more: HTTP API Definition

TCP API (private)

The TCP API is a special, private API which provides access to full copies of the AniDB database for off-line use.

Access to the TCP API is only provided on request and with restrictions. Please contact EXP on AniDB for additional information.

Currently the only available TCP API Client is AOM.

see also: AniDB Clients, AniDB O'Matic

Data Dumps

Anime Titles

AniDB offers a daily updated dump of all anime titles which can be used to support client sided anime search features.

This file can also be used for anime title to AID lookups.

http://anidb.net/api/animetitles.dat.gz
http://anidb.net/api/animetitles.xml.gz


Additional Resources

Mylist Export

A user can export his entire MyList in different formats. Among the supported formats is an XML export. This approach can be used to retrieve and import a large amount of data on files, episodes and anime which are part of the anime collection of a specific user. This is therefore a very good first step to obtain a local data set which can then be used for further work.

see: MyList Export

Signature Data

The AniDB Signature Server allows user to create dynamic signature images for use in forum signatures. The corresponding data is also available in raw format in case you want to build your own system.

more: SigServer, SigServer DEV

RSS Feeds

AniDB offers regularly updated information about recently added files and user specific file notifications as RSS feeds.

more: RSSRDF

IRC Bots

There are a number of IRC bots on the SynIRC network. They can be used to interface with AniDB and provide real time information about database changes.

more: IRC:Chii, IRC:Lafiel

Screen Scraping

We would like to ask you not to parse the AniDB html data directly for data extraction purposes. If your requirements are not covered by the APIs and resources available so far, please feel free to contact us directly.

Warning: Issuing too many HTTP requests might get you banned.