generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: API for account age?

Previous Thread :: Next Thread 
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 08:44 AM
Just wondering if anyone has or knows an API that can get someone's account age. (when they're not in game ofc)
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
19 Jan 2015 08:53 AM
http://wiki.roblox.com/index.php?title=API:Class/Player

first thing on the list, did you try looking even?

http://wiki.roblox.com/index.php?title=API:Class/Player/AccountAge
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 08:57 AM
I said API that can get the age when they're NOT ingame.

This is the kind of thing I mean (this gets the player's ID from the player when they're not ingame):

--
http://api.roblox.com/users/get-by-username?username=SLY3
--

With that, I can use HTTP service to get the table displayed on the page. I need something like this to get a player's account age.
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
19 Jan 2015 08:59 AM
Oh well, is there somewhere on a player's profile where it states the join date?
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:05 AM
On a player's place there is, but I'd have to check if they have a place first of all, then wave through all that other crap on their place page to find the date, then calculate how old their account is in days from the date... and I'd just like to simply have the player's date returned on the page. I'm sure there's an API out there for this somewhere.
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
19 Jan 2015 09:06 AM
It's easy to find it if there was a join date somewhere. The first place also might be a new one and the real first made inactive so...nope :/
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
19 Jan 2015 09:07 AM
Have a nose around in api.roblox.com/docs
Report Abuse
Voiliax is not online. Voiliax
Joined: 05 Nov 2009
Total Posts: 15554
19 Jan 2015 09:09 AM
Afaik, there's no direct API to get an account age. HOWEVER, you can use this API:

http://www.roblox.com/Contests/Handlers/Showcases.ashx?userId=261


to get a list of places created by the user. Every user should have at least one place, so just send a request to the place and get the account age.
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:09 AM
I mean if you check a player's place page, it says this:

--
Builder:
Fedorakid
Joined: 7/17/2010
--

And it'd be quite hard to wave through all the crap to find "Joined:" and then sub it from (9,#string)...

So that's why I want an API for this.
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:10 AM
^ was directed at fedorakid
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:17 AM
@eLunate

Took a look at that link, and this seems like it might return an account age:

--
GET /users/{userId}
Retrieves user information for the specified user ID.
--

But where's the baselink for it? I don't understand how I'm meant to retrieve the information ._.
Report Abuse
Voiliax is not online. Voiliax
Joined: 05 Nov 2009
Total Posts: 15554
19 Jan 2015 09:20 AM
You can easily get the join date using RegEx (or string pattern):

In Lua: (resp is the response of the place's page)

local join_data = resp:match('class="stat">(.-)')
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:34 AM
Yeah, I'd probably use string.find for that, but I just really don't want to mess about trying to get a piece of text off a page, getting error after error, when there's most likely an API that works :P
Report Abuse
LucasLua is not online. LucasLua
Joined: 18 Jun 2008
Total Posts: 7386
19 Jan 2015 09:41 AM
@SLY

http://api.roblox.com/users/535080


Sadly it does not give account age.
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:44 AM
Eh guess I wont be able to do this. Thanks anyway guys.
Report Abuse
LucasLua is not online. LucasLua
Joined: 18 Jun 2008
Total Posts: 7386
19 Jan 2015 09:45 AM
http://api.roblox.com/reference/deviceinfo

Here's something scary ;3
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
19 Jan 2015 09:51 AM
It says computer but I'm actually on a tablet.
Report Abuse
LucasLua is not online. LucasLua
Joined: 18 Jun 2008
Total Posts: 7386
19 Jan 2015 09:52 AM
Must be one heck of a tablet
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Jan 2015 09:54 AM
I have a Fujitsu PenCentra 200, and for those of you who don't know what that is, it is a VERY powerful tablet. Possibly even better than eLunate's.
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:55 AM
@Jarod

oyeah? well I'm typing this in 2000 BC on my iStone
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
19 Jan 2015 09:56 AM
My tablet has 2 GPUs I think I win dude.
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 09:58 AM
mi iStone has 2tb flint knife for cutin up all predatorz includin teh alpha prim8
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
19 Jan 2015 10:00 AM
Excuse me my tablet has a 4kb battering RAM
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
19 Jan 2015 10:03 AM
woa dat is so legit elun8 but my istone has full 360° stoner simul8r
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Jan 2015 10:08 AM
Oh, and I actually had several PenCentra tablet PCs.
They all had Windows CE, and an RJ45 port to connect to the internet. They also had IR so they can transfer data between themselves. They also had two PS2 ports so you could use a keyboard and mouse. They also had two USB plugs, but I couldn't find anything to work with them. They also had a couple of PCMCIA card slots, and one of them had a microphone.
>:)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image