Loopcast / beta

1 stars 0 forks source link

Api for user info #559

Closed stefanoortisi closed 8 years ago

stefanoortisi commented 8 years ago

@hems I don't remember if we already have it, but I would need an api call for the user info. So we would likely have something like this

/api/user/info/

and it would return the info of the user, such as:

id, avatar, name, username, occupation, likes, ecc...

Cheers!

hems commented 8 years ago

Would user_id be enough or do you need to do it by username?

hems commented 8 years ago

i just added to the frontend, you will send user_id and get the user info, is that cool?

do you need one to get many users at once?

let me know if you need any chances, if you test and it works please close the issue!

stefanoortisi commented 8 years ago

ok, that's fine, cheers