|
|
Line 4: |
Line 4: |
|
| |
|
|
| |
|
| === ANIME: Retrieve Anime Data ===
| |
| '''Command String:'''<br>
| |
| by aid
| |
| * ANIME aid={int4 id}&amask={hexstr}
| |
| by name
| |
| * ANIME aname={str anime name}&amask={hexstr}
| |
|
| |
| '''Possible Replies:'''
| |
| * 230 ANIME
| |
| : {int4 aid}|{int4 eps}|{int4 ep count}|{int4 special cnt}|{int4 rating}|{int4 votes}|{int4 tmprating}|{int4 tmpvotes}|{int4 review rating average}|{int4 reviews}|{str year}|{str type}|{str romaji}|{str kanji}|{str english}|{str other}|{str short names}|{str synonyms}|{str category list}
| |
| * 330 NO SUCH ANIME
| |
|
| |
| '''Info:'''
| |
| * Fields are returned in the same order they appear in the ''amask'' field list: byte 1, bit 7 first
| |
| * Synonyms and short names are separated with '
| |
| * Category names are separated with ',' and ordered by weight (desc).
| |
| * By name: must be perfect match of romaji/kanji/english/other/synonym/short name.
| |
| * NOTE: The category list is the first data to be truncated if needed. And then: synonym list, short name list. This applies for the FILE command too.
| |
|
| |
| <table border="0" cellpadding="0" cellspacing="2">
| |
| <tr><td colspan="5" align="center">'''amask'''</td></tr>
| |
| <tr>
| |
| <td align="center">'''Byte 1'''</td>
| |
| <td align="center">'''Byte 2'''</td>
| |
| <td align="center">'''Byte 3'''</td>
| |
| <td align="center">'''Byte 4'''</td>
| |
| <td align="center">'''Byte 5'''</td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| <table>
| |
| <tr>
| |
| <td>'''Bit'''</td>
| |
| <td align="right">'''Dec'''</td>
| |
| <td>'''Data Field'''</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>7</td>
| |
| <td align="right">128</td>
| |
| <td>int aid</td>
| |
| </tr>
| |
| <tr>
| |
| <td>6</td>
| |
| <td align="right">64</td>
| |
| <td>unused</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>5</td>
| |
| <td align="right">32</td>
| |
| <td>str year</td>
| |
| </tr>
| |
| <tr>
| |
| <td>4</td>
| |
| <td align="right">16</td>
| |
| <td>str type</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>3</td>
| |
| <td align="right">8</td>
| |
| <td>str related aid list</td>
| |
| </tr>
| |
| <tr>
| |
| <td>2</td>
| |
| <td align="right">4</td>
| |
| <td>str related aid type</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>1</td>
| |
| <td align="right">2</td>
| |
| <td>str category list</td>
| |
| </tr>
| |
| <tr>
| |
| <td>0</td>
| |
| <td align="right">1</td>
| |
| <td>reserved</td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| <td>
| |
| <table>
| |
| <tr>
| |
| <td>'''Bit'''</td>
| |
| <td align="right">'''Dec'''</td>
| |
| <td>'''Data Field'''</td>
| |
| </tr>
| |
| <tr>
| |
| <td>7</td>
| |
| <td align="right">128</td>
| |
| <td>str romaji name</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>6</td>
| |
| <td align="right">64</td>
| |
| <td>str kanji name</td>
| |
| </tr>
| |
| <tr>
| |
| <td>5</td>
| |
| <td align="right">32</td>
| |
| <td>str english name</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>4</td>
| |
| <td align="right">16</td>
| |
| <td>str other name</td>
| |
| </tr>
| |
| <tr>
| |
| <td>3</td>
| |
| <td align="right">8</td>
| |
| <td>str short name list</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>2</td>
| |
| <td align="right">4</td>
| |
| <td>str synonym list</td>
| |
| </tr>
| |
| <tr>
| |
| <td>1</td>
| |
| <td align="right">2</td>
| |
| <td>str producer name list</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>0</td>
| |
| <td align="right">1</td>
| |
| <td>str producer id list</td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| <td>
| |
| <table>
| |
| <tr>
| |
| <td>'''Bit'''</td>
| |
| <td align="right">'''Dec'''</td>
| |
| <td>'''Data Field'''</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>7</td>
| |
| <td align="right">128</td>
| |
| <td>int4 episodes</td>
| |
| </tr>
| |
| <tr>
| |
| <td>6</td>
| |
| <td align="right">64</td>
| |
| <td>int4 normal ep count</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>5</td>
| |
| <td align="right">32</td>
| |
| <td>int4 special ep count</td>
| |
| </tr>
| |
| <tr>
| |
| <td>4</td>
| |
| <td align="right">16</td>
| |
| <td>int4 air date</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>3</td>
| |
| <td align="right">8</td>
| |
| <td>int4 end date</td>
| |
| </tr>
| |
| <tr>
| |
| <td>2</td>
| |
| <td align="right">4</td>
| |
| <td>str url</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>1</td>
| |
| <td align="right">2</td>
| |
| <td>str picname</td>
| |
| </tr>
| |
| <tr>
| |
| <td>0</td>
| |
| <td align="right">1</td>
| |
| <td>unused</td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| <td>
| |
| <table>
| |
| <tr>
| |
| <td>'''Bit'''</td>
| |
| <td align="right">'''Dec'''</td>
| |
| <td>'''Data Field'''</td>
| |
| </tr>
| |
| <tr>
| |
| <td>7</td>
| |
| <td align="right">128</td>
| |
| <td>int4 rating</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>6</td>
| |
| <td align="right">64</td>
| |
| <td>int4 vote count</td>
| |
| </tr>
| |
| <tr>
| |
| <td>5</td>
| |
| <td align="right">32</td>
| |
| <td>int4 temp rating</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>4</td>
| |
| <td align="right">16</td>
| |
| <td>int4 temp vote count</td>
| |
| </tr>
| |
| <tr>
| |
| <td>3</td>
| |
| <td align="right">8</td>
| |
| <td>int4 average review rating</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>2</td>
| |
| <td align="right">4</td>
| |
| <td>int4 review count</td>
| |
| </tr>
| |
| <tr>
| |
| <td>1</td>
| |
| <td align="right">2</td>
| |
| <td>str award list</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>0</td>
| |
| <td align="right">1</td>
| |
| <td>unused</td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| <td>
| |
| <table>
| |
| <tr>
| |
| <td>'''Bit'''</td>
| |
| <td align="right">'''Dec'''</td>
| |
| <td>'''Data Field'''</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>7</td>
| |
| <td align="right">128</td>
| |
| <td>int4 anime planet id</td>
| |
| </tr>
| |
| <tr>
| |
| <td>6</td>
| |
| <td align="right">64</td>
| |
| <td>int4 ANN id</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>5</td>
| |
| <td align="right">32</td>
| |
| <td>int4 allcinema id</td>
| |
| </tr>
| |
| <tr>
| |
| <td>4</td>
| |
| <td align="right">16</td>
| |
| <td>str animenfo id</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>3</td>
| |
| <td align="right">8</td>
| |
| <td>unused</td>
| |
| </tr>
| |
| <tr>
| |
| <td>2</td>
| |
| <td align="right">4</td>
| |
| <td>unused</td>
| |
| </tr>
| |
| <tr bgcolor="#eee">
| |
| <td>1</td>
| |
| <td align="right">2</td>
| |
| <td>unused</td>
| |
| </tr>
| |
| <tr>
| |
| <td>0</td>
| |
| <td align="right">1</td>
| |
| <td>reserved</td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
|
| |
|
|
| |
|
ANIME: Retrieve Anime Data (deprecated)
Command String:
by aid
- ANIME aid={int4 id}[&acode={int4}]
by name
- ANIME aname={str anime name}[&acode={int4}]
Possible Replies:
- {int4 aid}|{int4 eps}|{int4 ep count}|{int4 special cnt}|{int4 rating}|{int4 votes}|{int4 tmprating}|{int4 tmpvotes}|{int4 review rating average}|{int4 reviews}|{str year}|{str type}|{str romaji}|{str kanji}|{str english}|{str other}|{str short names}|{str synonyms}|{str category list}
Info:
- Synonyms and short names are separated with '
- Category names are separated with ',' and ordered by weight (desc).
- No support for genres.
- By name: must be perfect match of romaji/kanji/english/other/synonym/short name.
- NOTE: The category list is the first data to be truncated if needed. And then: synonym list, short name list. This applies for the FILE command too.
acode:
Bit
|
Decimal
|
Data field
|
-
|
Bit
|
Decimal
|
Data field
|
0 |
1 |
int4 aid |
|
16 |
65536 |
str url
|
1 |
2 |
int4 episodes |
|
17 |
131072 |
str picname
|
2 |
4 |
int4 normal ep count |
|
18 |
262144 |
str year
|
3 |
8 |
int4 special ep count |
|
19 |
524288 |
str type
|
4 |
16 |
int4 rating |
|
20 |
1048576 |
str romaji name
|
5 |
32 |
int4 vote count |
|
21 |
2097152 |
str kanji name
|
6 |
64 |
int4 temp rating |
|
22 |
4194304 |
str english name
|
7 |
128 |
int4 temp vote count |
|
23 |
8388608 |
str other name
|
8 |
256 |
int4 average review rating |
|
24 |
16777216 |
str short name list
|
9 |
512 |
int4 review count |
|
25 |
33554432 |
str synonym list
|
10 |
1024 |
int4 air date |
|
26 |
67108864 |
str category list
|
11 |
2048 |
int4 end date |
|
27 |
134217728 |
str related aid list
|
12 |
4096 |
int4 anime planet id |
|
28 |
268435456 |
str producer name list
|
13 |
8192 |
int4 anime news network id |
|
29 |
536870912 |
str producer id list
|
14 |
16384 |
int4 allcinema id |
|
30 |
1073741824 |
str award list
|
15 |
32768 |
str animenfo id |
|
31 |
-2147483648 |
reserved (all)
|
Examples: (html escaped code intended)
> ANIME aname=tmm&s=xxxxx
< 230 ANIME
161|52|50|0|715|57|777|35|816|1|2002-2003|TV|Tokyo Mew Mew|東京ミュウミュウ||||TMM'mew|Cat Girls
> ANIME aname=ナルト&s=xxxxx
< 230 ANIME
239|0|140|2|1000|10|855|3750|803|36|2002-2005|TV|Naruto|ナルト||נארוטו|NARUTO'ناروتو|naruto tv'ntv|Action,Shounen,Past,...(cut)
ANIME Relationship Types
1 => 'sequel',
2 => 'prequel',
11 => 'same setting',
12 => 'same setting',
21 => 'alternative setting',
22 => 'alternative setting',
31 => 'alternative version',
32 => 'alternative version',
41 => 'character',
42 => 'character',
51 => 'side story',
52 => 'parent story',
61 => 'summary',
62 => 'full story',
100 => 'other'
WISHLIST: Retrieve Wishlist Date
WISHLISTADD: Add Anime to Wishlist
WISHLISTDEL: Remove Anime from Wishlist
Empty Table
Byte 1 |
Bit |
Decimal |
Data Field |
0 |
1 |
String |
1 |
2 |
String |
2 |
4 |
String |
3 |
8 |
String |
4 |
16 |
String |
5 |
32 |
String |
6 |
64 |
String |
7 |
128 |
String |