使用站点的API构建应用程序

时间:2010-10-09 04:51:39

标签: html objective-c xml api

所以我想在Objective C中为我使用的网站构建一个应用程序。以下是其登录API的示例:

验证凭据

Allows authenticating user to check username/password.

URL:
http://myanimelist.net/api/account/verify_credentials.xml

Formats:
xml
HTTP Method(s):
GET

Requires Authentication:
true

Response:
Success: 200 status code, XML data for user.
Failure: 204 status code (no content).

Example Response:

<?xml version="1.0" encoding="utf-8"?>
<user>
    <id>1</id>
    <username>Xinil</username>
</user>            

Usage Examples:

    CURL:
    curl -u user:password http://myanimelist.net/api/account/verify_credentials.xml 

` 更多API Here。如果有人能指出我使用MyAnimeList的API的苹果文档,我们将不胜感激。

1 个答案:

答案 0 :(得分:1)