getUser

Description

To get the user details of a Mobypicture user, including the destinations a user is posting to.

URL Endpoint

https://api.mobypicture.com/

Requires Authentication

No

HTTP Method

GET / POST

Parameters

  • action

    getUser

  • key

    Your developer key, which you can apply for here.

  • username

    Mobypicture username

Optional:

  • pretty_json

    To output human readable JSON. XML is already human readable

  • format

    The desired output format. Possible values are json and xml. If no format is given, JSON will be returned.

Rate Limited

Not yet.

Response

JSON

{<br /><%%KEEPWHITESPACE%%>  "id":"2446",<br /><%%KEEPWHITESPACE%%>  "username":"mathys",<br /><%%KEEPWHITESPACE%%>  "name":"Mathys van Abbe",<br /><%%KEEPWHITESPACE%%>  "firstname":"Mathys",<br /><%%KEEPWHITESPACE%%>  "lastname":"van Abbe",<br /><%%KEEPWHITESPACE%%>  "bio":"founder Mobypicture",<br /><%%KEEPWHITESPACE%%>  "website":"http:\/\/mathys.to\/",<br /><%%KEEPWHITESPACE%%>  "location":"Amsterdam ",<br /><%%KEEPWHITESPACE%%>  "url":"http:\/\/www.mobypicture.com\/user\/mathys",<br /><%%KEEPWHITESPACE%%>  "url_avatar":"http:\/\/mobypicture.com\/images\/avatar\/d3efe8047bc5678aa7add4b7d5ece23c_60px.jpg",<br /><%%KEEPWHITESPACE%%>  "url_avatar_small":"http:\/\/mobypicture.com\/images\/avatar\/d3efe8047bc5678aa7add4b7d5ece23c_24px.jpg",<br /><%%KEEPWHITESPACE%%>  "post_count":"1398",<br /><%%KEEPWHITESPACE%%>  "friends_count":"97",<br /><%%KEEPWHITESPACE%%>  "followers_count":"144",<br /><%%KEEPWHITESPACE%%>  "destinations":[<br /><%%KEEPWHITESPACE%%>    {<br /><%%KEEPWHITESPACE%%>      "id":"106258",<br /><%%KEEPWHITESPACE%%>      "name":"foursquare",<br /><%%KEEPWHITESPACE%%>      "friendly_name":"Foursquare",<br /><%%KEEPWHITESPACE%%>      "enabled":"1",<br /><%%KEEPWHITESPACE%%>      "account":"Mathys van Abbe"<br /><%%KEEPWHITESPACE%%>    },<br /><%%KEEPWHITESPACE%%>    {<br /><%%KEEPWHITESPACE%%>      "id":"248548",<br /><%%KEEPWHITESPACE%%>      "name":"facebook",<br /><%%KEEPWHITESPACE%%>      "friendly_name":"Facebook",<br /><%%KEEPWHITESPACE%%>      "enabled":"1",<br /><%%KEEPWHITESPACE%%>      "account":"Mathys van Abbe"<br /><%%KEEPWHITESPACE%%>    }<br />],<br /><%%KEEPWHITESPACE%%> "result":"0",<br /><%%KEEPWHITESPACE%%>  "message":""<br />}

XML

<br />&lt;?xml version="1.0"?&gt;<br />&lt;mobypicture&gt;<br /><%%KEEPWHITESPACE%%>  &lt;result code="0"&gt;&lt;/result&gt;<br /><%%KEEPWHITESPACE%%>  &lt;id&gt;2446&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>  &lt;username&gt;mathys&lt;/username&gt;<br /><%%KEEPWHITESPACE%%>  &lt;name&gt;Mathys van Abbe&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>  &lt;firstname&gt;Mathys&lt;/firstname&gt;<br /><%%KEEPWHITESPACE%%>  &lt;lastname&gt;van Abbe&lt;/lastname&gt;<br /><%%KEEPWHITESPACE%%>  &lt;bio&gt;founder Mobypicture&lt;/bio&gt;<br /><%%KEEPWHITESPACE%%>  &lt;website&gt;http://mathys.to/&lt;/website&gt;<br /><%%KEEPWHITESPACE%%>  &lt;location&gt;Amsterdam&lt;/location&gt;<br /><%%KEEPWHITESPACE%%>  &lt;url&gt;http://www.mobypicture.com/user/mathys&lt;/url&gt;<br /><%%KEEPWHITESPACE%%>  &lt;url_avatar&gt;http://www.mobypicture.com/images/avatar/7b1ad67cea83c9485ab8266b121eef47_60px.jpg&lt;/url_avatar&gt;<br /><%%KEEPWHITESPACE%%>  &lt;url_avatar_small&gt;http://www.mobypicture.com/images/avatar/7b1ad67cea83c9485ab8266b121eef47_24px.jpg&lt;/url_avatar_small&gt;<br /><%%KEEPWHITESPACE%%>  &lt;post_count&gt;1463&lt;/post_count&gt;<br /><%%KEEPWHITESPACE%%>  &lt;friends_count&gt;138&lt;/friends_count&gt;<br /><%%KEEPWHITESPACE%%>  &lt;followers_count&gt;151&lt;/followers_count&gt;<br /><%%KEEPWHITESPACE%%>  &lt;destinations&gt;<br /><%%KEEPWHITESPACE%%>    &lt;service&gt;<br /><%%KEEPWHITESPACE%%>      &lt;id&gt;162537&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>      &lt;name&gt;email&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;friendly_name&gt;Email&lt;/friendly_name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;enabled&gt;1&lt;/enabled&gt;<br /><%%KEEPWHITESPACE%%>      &lt;account&gt;(Unknown)&lt;/account&gt;<br /><%%KEEPWHITESPACE%%>    &lt;/service&gt;<br /><%%KEEPWHITESPACE%%>    &lt;service&gt;<br /><%%KEEPWHITESPACE%%>      &lt;id&gt;106258&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>      &lt;name&gt;foursquare&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;friendly_name&gt;Foursquare&lt;/friendly_name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;enabled&gt;1&lt;/enabled&gt;<br /><%%KEEPWHITESPACE%%>      &lt;account&gt;Mathys van Abbe&lt;/account&gt;<br /><%%KEEPWHITESPACE%%>    &lt;/service&gt;<br /><%%KEEPWHITESPACE%%>    &lt;service&gt;<br /><%%KEEPWHITESPACE%%>      &lt;id&gt;248548&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>      &lt;name&gt;facebook&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;friendly_name&gt;Facebook&lt;/friendly_name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;enabled&gt;1&lt;/enabled&gt;<br /><%%KEEPWHITESPACE%%>      &lt;account&gt;Mathys van Abbe&lt;/account&gt;<br /><%%KEEPWHITESPACE%%>    &lt;/service&gt;<br /><%%KEEPWHITESPACE%%>    &lt;service&gt;<br /><%%KEEPWHITESPACE%%>      &lt;id&gt;156182&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>      &lt;name&gt;snap&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;friendly_name&gt;Snap&lt;/friendly_name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;enabled&gt;1&lt;/enabled&gt;<br /><%%KEEPWHITESPACE%%>      &lt;account&gt;(Unknown)&lt;/account&gt;<br /><%%KEEPWHITESPACE%%>    &lt;/service&gt;<br /><%%KEEPWHITESPACE%%>    &lt;service&gt;<br /><%%KEEPWHITESPACE%%>      &lt;id&gt;413914&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>      &lt;name&gt;twitter&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;friendly_name&gt;Twitter&lt;/friendly_name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;enabled&gt;1&lt;/enabled&gt;<br /><%%KEEPWHITESPACE%%>      &lt;account&gt;mathys&lt;/account&gt;<br /><%%KEEPWHITESPACE%%>    &lt;/service&gt;<br /><%%KEEPWHITESPACE%%>    &lt;service&gt;<br /><%%KEEPWHITESPACE%%>      &lt;id&gt;244914&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>      &lt;name&gt;youtube&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;friendly_name&gt;Youtube&lt;/friendly_name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;enabled&gt;1&lt;/enabled&gt;<br /><%%KEEPWHITESPACE%%>      &lt;account&gt;mathysvanabbe9&lt;/account&gt;<br /><%%KEEPWHITESPACE%%>    &lt;/service&gt;<br /><%%KEEPWHITESPACE%%>    &lt;service&gt;<br /><%%KEEPWHITESPACE%%>      &lt;id&gt;549669&lt;/id&gt;<br /><%%KEEPWHITESPACE%%>      &lt;name&gt;autojunk&lt;/name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;friendly_name&gt;Autojunk&lt;/friendly_name&gt;<br /><%%KEEPWHITESPACE%%>      &lt;enabled&gt;1&lt;/enabled&gt;<br /><%%KEEPWHITESPACE%%>      &lt;account&gt;test@gmail.com&lt;/account&gt;<br /><%%KEEPWHITESPACE%%>    &lt;/service&gt;<br /><%%KEEPWHITESPACE%%>  &lt;/destinations&gt;<br />&lt;/mobypicture&gt;<br />
This page is last updated on December 22, 2014 by bram

Comment Form

About Mobypicture Developers

Build your own applications on top of Mobypicture, like over 600 others have done before you using our extensive API.

You can find find out more about the usage of the Mobypicture API in the API Documentation. To use the API you have to get a developer key. This also allows you to promote your Mobypicture enabled app on the Mobypicture website.

Get a Mobypicture developer key

RSS Mobypicture product news