One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 Main Forum » Life Data API » 2018-11-26 03:09:15

themadhatterz
Replies: 1

Been working diligently over the weekend to develop an API to the public life data.

My scraping technique is rudimentary right now and I will improve over time. But for the most part it gets all the characters.
Currently at 3.3 million recorded characters, miss a lot due to @ signs in email hashes and some Unicode characters here or there.
Also have some kinks to work out with loading latest data for characters that are alive when the data ends for a day.

Server moved to permanent locationhttps://themadhatter.org

Paths supported currently.

Like match search against all character names.
/ohol/api/v1/characters/name/<name>

Full match search against salted hash email. Unfortunately I cannot convert your email like the site does because I don't have access.
But if you confident you found yourself with the name search, the hash is returned to that response. Then you can turn around and use it here.
/ohol/api/v1/characters/email/<emailhash>

Single match server id and player id.
You either are blatantly throwing numbers at this, or you are sending info gathered to build families against already learned data from other routes.
/ohol/api/v1/characters/id/<serverid>/<playerid>

I intend to develop this much further, maybe some statistical pages and my own take on family tree!
Currently data is not scheduled to auto update until I understand how the txt files get published better.
So don't expect to see really recent characters.

All code is open source at https://github.com/themadhatterz/ohol_lifedata
Thanks!

#2 Re: Main Forum » Public access to all life log data » 2018-11-25 22:25:46

Question on when the files appear. Seems they might appear, then be updated? Can anyone confirm behavior they have seen. Building some scraping on this and marking files as read so I don't re-read them.

However if files get updated after appearing, I would miss data.

Board footer

Powered by FluxBB