Users
This section of the API handles retrieval of user data. All requests must be authenticated as covered in the introduction.
smp.users.get
This method is used to get a specific user based on a unique ID. The following URL will get the user with the ID 127367.
http://sharemyplaylists.com/api/v2?method=smp.user.get&id=127367
It will return an array of results similar to the following.
{
"status":"ok",
"users":{
"id":"127367",
"uri":"http:\/\/sharemyplaylists.com\/members\/jessica-ransom",
"display_name":"Jessica Ransom",
"profile_image":"https:\/\/s3.amazonaws.com\/smp-users-profile_image-large\/default\/soundtrack.jpg",
"profile_image_l":"https:\/\/s3.amazonaws.com\/smp-users-profile_image-large\/default\/soundtrack.jpg",
"profile_image_m":"https:\/\/s3.amazonaws.com\/smp-users-profile_image-medium\/default\/soundtrack.jpg",
"profile_image_s":"https:\/\/s3.amazonaws.com\/smp-users-profile_image-small\/default\/soundtrack.jpg"
}
}