2010-10-09 49 views
0

因此,我想在Objective C中爲我使用的站點構建應用程序。這裏是他們的登錄API的例子:使用站點的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,我們將不勝感激。

回答