Meetango.com API Documentation
Below are presented the instructions of how to use the API of Meetango.com. We hope that with our API you can create some interesting applications based on Meetango. In case that you develop an application, let us know about it contacting us by the Contact form so we can spread it to our community of users.
It is important to remember that you must use your API Key with each URL as showed below. All users, after registering, receive an API Key that can be found in Settings/My API key.
Functions of Activities
Public
Returns last 20 public activities in specified format
URL:
http://www.meetango.com/api/activities/public.[format].[api_key]
Formats: xml, json, rss
Friends
Returns last 20 public activities from Your friends in specified format.
URL:
http://www.meetango.com/api/activities/friends/[user].[format].[api_key]
Formats: xml, json, rss
User
Returns last 20 public activites from specified user in specified format.
URL:
http://www.meetango.com/api/activities/user/[user].[format].[api_key]
Formatos: xml, json, rss
Latest
Returns last public activity from specified user in specified format.
URL:
http://www.meetango.com/api/activities/latest/[user].[format].[api_key]
Formatos: xml, json, rss
Send
Send a public activity. It returns the details of the activity or an error message in specified format.
URL:
http://www.meetango.com/api/activities/send.[format].[api_key]
Method:
POST
Required parameters:
username
id_user or usernamepassword
passwordwhen_date
null, yyyy-mm-dd, default nullwhen_time
null, hh:mm, default nullpriv
null, -1 (just for friends), 0 (public), id_user|username (private for this user only), default 0id_city
null (user's register city), id_city, default nullmessage
activity's text, max 140 characters
Formats: xml, json
Delete
Delete an activity. Returns details of the activity or error message in specified format.
URL:
http://www.meetango.com/api/activities/delete.[format].[api_key]Method:
POSTRequired parameters:
username
id_user or usernamepassword
passwordid_activity
id_activity
Formats: xml, json
Join
Join to an activity. Returns details of the activity or error message in specified format
URL:
http://www.meetango.com/api/activities/join/[user].[format].[api_key]Method:
POSTRequired parameters:
username
id_user or usernamepassword
passwordid_activity
id_activitymessage
message text, max 140 characters
Formats: xml, json
Functions of Users
Details
Returns detailed info about user
URL
http://www.meetango.com/api/users/details/[user].[format].[api_key]
Formats: xml, json
Friends
Returns info about user's friends
URL
http://www.meetango.com/api/users/friends/[user].[format].[api_key]
Formats: xml, json
Followers
Returns info about user's followers
URL
http://www.meetango.com/api/users/followers/[user].[format].[api_key]
Formats: xml, json
Followed
Returns info about user's followed
URL
http://www.meetango.com/api/users/followed/[user].[format].[api_key]
Formats: xml, json
Visitors
Returns info about user's visitors
URL
http://www.meetango.com/api/users/visitors/[user].[format].[api_key]
Formats: xml, json
Functions of Friendship
Waiting
Returns info about users waiting for Your acceptation as a friends
URL
http://www.meetango.com/api/friendships/waiting.[format].[api_key]Method:
POSTRequired parameters:
username
id_user or usernamepassword
password
Formats: xml, json
Create
Adds a friendship request. Returns info about user or error message
URL
http://www.meetango.com/api/friendships/create.[format].[api_key]Method:
POSTRequired parameters:
username
id_user or usernamepassword
passwordfriend
id_user or username
Formats: xml, json
Destroy
Destroys friendship. Returns info about user or error message
URL
http://www.meetango.com/api/friendships/destroy.[format].[api_key]Method:
POSTRequired parameters:
username
id_user or usernamepassword
passwordfriend
id_user or username
Formats: xml, json
Accept
Accepts a friendship request. Returns info about user or error message
URL
http://www.meetango.com/api/friendships/accept.[format].[api_key]Method:
POSTRequired parameters:
username
id_user or usernamepassword
passwordfriend
id_user or username
Formats: xml, json
Refuse
Refuses a friendship request. Returns info about user or error message
URL
http://www.meetango.com/api/friendships/refuse.[format].[api_key]Method:
POSTRequired parameters:
username
id_user or usernamepassword
passwordfriend
id_user or username
Formats: xml, json