| 
View
 

Partigi API: account verify_credentials

Page history last edited by Álvaro Bautista 14 years, 10 months ago

Go back to Partigi API Documentation

 

account/verify_credentials

Returns the User element corresponding to the authenticated user. This method is useful to get the personal data from this user.

 

URL:

http://www.partigi.com/api/v1/account/verify_credentials.format

 

Formats:

atom, json (more about JSON responses)

 

HTTP Methods:

GET

 

Authentication Mode:

read-write

 

Example responses:

 

  <?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
    <title>John Wayne &#187; Partigi</title>
    <id>http://www.partigi.com/jwayne</id>
    <updated>2009-07-09T07:38:50Z</updated>
    <link type="application/atom+xml" href="http://www.partigi.com/api/v1/users/show.atom?id=jwayne" rel="self"/>
    <link type="text/html" href="http://www.partigi.com/jwayne" rel="alternate"/>
    <author>
      <name>Partigi</name>
    </author>
    <entry xmlns:ptUser="http://schemas.partigi.com/v1.0/ptUser">
      <category scheme="http://schemas.partigi.com/v1.0#kind" term="http://schemas.partigi.com/v1.0#user"/>
      <id>http://www.partigi.com/jwayne</id>
      <title>John Wayne</title>
      <updated>2009-07-09T07:38:50Z</updated>
      <published>2009-05-06T11:43:39Z</published>
      <link type="text/html" rel="alternate" href="http://www.partigi.com/jwayne"/>
      <link type="application/atom+xml" rel="self" href="http://www.partigi.com/api/v1/users/show.atom?id=jwayne"/>
      <ptUser:id>1</ptUser:id>
      <ptUser:login>jwayne</ptUser:login>
      <ptUser:name>John</ptUser:name>
      <ptUser:surname>Wayne</ptUser:surname>
      <ptUser:country>ES</ptUser:country>
      <ptUser:avatar_url>http://gravatar.com/avatar/1234567890987654321.png?r=PG</ptUser:avatar_url>    
    </entry>
  </feed>

 

Go back to Partigi API Documentation

Comments (0)

You don't have permission to comment on this page.