API for developers
Get user data
Example
$ curl https://www.playping.com/api/?user=USERNAME
Description
user return the data specify the USERNAME via GET
Data Return
{
"totalFollowers":"2",
"totalFollowing":"24",
"totalFavs":"11",
"totalPost":"29",
"id":"1",
"username":"MiguelVasquez",
"name":"Miguel Vasquez",
"location":"Aragua",
"country":"ve",
"website":"https://twitter.com/MiguelVasquez08",
"bio":"#WebDesign #Developer",
"avatar":"https://www.playping.com/public/avatar/miguelvasquez_19zy00.png",
"avatar_large":"https://www.playping.com/public/avatar/large_miguelvasquez_19zy00.png",
"verified":"0",
"cover_image":"https://www.playping.com/cover/cover_miguelvasquez_1j07gs.jpg",
"cover_large":"https://www.playping.com/cover/large_cover_miguelvasquez_1j07gs.jpg"
}
Get last 15 posts from an user
Example
$ curl https://www.playping.com/api/?user=USERNAME&post=true
Data Return
{
"posts":
[{
"id":"1",
"token_id":"a8e015ec6de45c88ba0412bc9f6e2feb272b042e",
"post_details": "Hello world",
"photo": "https://www.playping.com/public/upload/3j8ivw84ibn.jpeg",
"video_code": "W7NZILqGgdI",
"video_title": "Key Player For Game 5",
"video_site": "youtube",
"video_url": "http://youtu.be/GNZBSZD16cY",
"user": "1",
"status": "1",
"video_thumbnail": "http://img.youtube.com/vi/W7NZILqGgdI/1.jpg",
"date": "2013-06-14 13:31:04",
"status_general": "1",
"url_soundcloud": "",
"title_soundcloud": "",
"thumbnail_song": "",
},
{
"id":"1",
"token_id":"24ef025e5dfc71217397662c47a8d3be981084fb",
"post_details": "Hello world",
"photo": "https://www.playping.com/public/upload/3j8ivw84ibn.jpeg",
"video_code": "W7NZILqGgdI",
"video_title": "Key Player For Game 5",
"video_site": "youtube",
"video_url": "http://youtu.be/GNZBSZD16cY",
"user": "1",
"status": "1",
"video_thumbnail": "http://img.youtube.com/vi/W7NZILqGgdI/1.jpg",
"date": "2013-06-14 13:31:04",
"status_general": "1",
"url_soundcloud": "",
"title_soundcloud": "",
"thumbnail_song": "",
}
]}