sentanos / roblox-js

!!!THIS PROJECT IS NO LONGER MAINTAINED!!! Execute ROBLOX website actions in node.js
MIT License
45 stars 45 forks source link

Added getPlayerInfo function #69

Open Neztore opened 6 years ago

Neztore commented 6 years ago

Added the getPlayerinfo function

Required arguments: playerID

Returns: username: Username of target status: Status of target blurb: blurb of target joinDate: Join date of target (Date object) age: Days since the target user joined ROBLOX.

This is for #56

bbsquade101 commented 6 years ago

Thank's Nez it helped a lot!

suufi commented 6 years ago

Age is redundant joinDate should return Date object

sbhadr commented 6 years ago

@Neztore Age and JoinData are virtually the same. Age calculates how long it's been since said player has joined and JoinDate is the date of which said player joined. I'd leave it up to the person using the lib to calculate their "age" rather than providing it.

Neztore commented 6 years ago

@sentanos

Neztore commented 6 years ago

@Sloss2003 If you need it for a project, see this fork

mwalden2004 commented 6 years ago

@Neztore I made it myself before i saw it haha