API: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 11: Line 11:
If you're new to the AniDB APIs, we recommend that you take a look at the UDP API first.
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]]
more: [[UDP API Definition]], [[UDP API DEV]], [[UDP Clients]], [[WebAOM]]


== HTTP API (limited) ==
== 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.
Provides ''read-only'' access to a limited subset of the AniDB database via HTTP requests.  


more: [[HTTP_API_Definition]]
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) ==
== 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.
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.
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.
Currently the only available TCP API Client is AOM.


see also: [[AniDB_Clients]], [[AniDB O'Matic]]
see also: [[AniDB Clients]], [[AniDB O'Matic]]


= Data Dumps =
= Data Dumps =
Line 32: Line 36:


AniDB offers a daily updated dump of all anime titles which can be used to support client sided anime search features.
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.
This file can also be used for anime title to AID lookups.


[http://anidb.net/api/animetitles.dat.gz http://anidb.net/api/animetitles.dat.gz]
:[http://anidb.net/api/animetitles.dat.gz http://anidb.net/api/animetitles.dat.gz]


[http://anidb.net/api/animetitles.xml.gz http://anidb.net/api/animetitles.xml.gz]
:[http://anidb.net/api/animetitles.xml.gz http://anidb.net/api/animetitles.xml.gz]




Line 42: Line 47:


== Mylist Export ==
== 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.


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|MyList Export]]
 
see: [[Mylist_export]]
 


== Signature Data ==
== 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.


The AniDB Signature Server allows user to create dynamic signature images for use in forum signatures. The corresponding data is also availabe in raw format in case you want to build your own system.
more: [[SigServer]], [[SigServer DEV]]
 
more: [[SigServer]], [[SigServer_DEV]]
 


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


more: [[RSSRDF]]
more: [[RSSRDF]]


== IRC Bots ==
== 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.
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]]
more: [[IRC:Chii]], [[IRC:Lafiel]]


= Screen Scraping =
= 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.
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.



Revision as of 11:51, 21 April 2009

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.