Description
This method returns all events created by the specified user BETA
URL
http://api.twitpic.com/2/events/show.format
Available Formats
xml, json, jsonp
HTTP Method
GET
Requires Authentication
False
Parameters
- user (Required): The username of the user
Responses
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?> <user> <id>1</id> <twitter_id>1234</twitter_id> <username>twitpicuser</username> <name>twitpicuser</name> <location>The Interwebs</location> <website>http://twitpic.com</website> <bio>Hi :)</bio> <avatar_url>http://s.twimg.com/a/1278724399/images/default_profile_2_normal.png</avatar_url> <profile_background_color>9ae4e8</profile_background_color> <profile_text_color>000000</profile_text_color> <profile_link_color>0000ff</profile_link_color> <profile_sidebar_fill_color>e0ff92</profile_sidebar_fill_color> <profile_background_image_url>http://s.twimg.com/a/1278724399/images/themes/theme1/bg.png</profile_background_image_url> <profile_background_tile>0</profile_background_tile> <utc_offset>-21600</utc_offset> <geo_enabled>1</geo_enabled> <public_updates>0</public_updates> <public_tagging>1</public_tagging> <banned>0</banned> <timestamp>2010-06-10 16:00:04</timestamp> <events> <event> <id>1</id> <user_id>1</user_id> <name>Event 1</name> <description>Party!</description> <timestamp>2010-06-09 17:34:10</timestamp> <images /> </event> <event> <id>2</id> <user_id>1</user_id> <name>Event 2</name> <description>Fun Stuff!</description> <timestamp>2010-06-21 11:26:59</timestamp> <images /> </event> </events> <images /> <places /> </user>
Sample JSON Response
{
"id":"1",
"twitter_id":"16984249",
"username":"twitpicuser",
"name":"twitpicuser",
"location":"The Interwebs",
"website":"http:\/\/twitpic.com",
"bio":"Hi :)",
"avatar_url":"http:\/\/s.twimg.com\/a\/1278724399\/images\/default_profile_2_normal.png",
"profile_background_color":"9ae4e8",
"profile_text_color":"000000",
"profile_link_color":"0000ff",
"profile_sidebar_fill_color":"e0ff92",
"profile_background_image_url":"http:\/\/s.twimg.com\/a\/1278724399\/images\/themes\/theme1\/bg.png",
"profile_background_tile":"0",
"utc_offset":"-21600",
"geo_enabled":"1",
"public_updates":"0",
"public_tagging":"1",
"banned":"0",
"timestamp":"2010-06-10 16:00:04",
"events":[
{
"id":"1",
"user_id":"1",
"name":"Event 1",
"description":"Party!",
"timestamp":"2010-06-09 17:34:10",
"images":null
},
{
"id":"2",
"user_id":"1",
"name":"Event 2",
"description":"Fun Stuff!",
"timestamp":"2010-06-21 11:26:59",
"images":null
}
],
"images":null,
"places":null
}
Example CURL Command
curl -v "http://api.twitpic.com/2/events/show.json?user=twitpicuser"
