Show avatar in the website

Add your suggestions for improving Poker Mavens
Post Reply
sands
Posts: 14
Joined: Fri Jan 15, 2016 4:09 pm

Show avatar in the website

Post by sands »

Hi dear kent
how can i show players avatar in to the my website homepage by session id?
sands
Posts: 14
Joined: Fri Jan 15, 2016 4:09 pm

Re: Show avatar in the website

Post by sands »

sands wrote:Hi dear kent
how can i show players avatar in to the my website homepage by session id?
or player name
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Show avatar in the website

Post by Kent Briggs »

Call ConnectionsList in the API to get the list of all players logged in or ConnectionsGet to get the player name for a specific SessionID. Then call either AccountsList (for multiple players) or AccountsGet (for single player) to get their avatar index. The API docs in the help file has a section labeled "Avatars" near the top that shows how to display the avatars on your web site.
Post Reply