Closed destruc7i0n closed 8 years ago
I was thinking returning a custom object so that people can send the object in a request and we can get what we need from it. What do you think? Sort of like this https://github.com/Plancke/hypixel-php/blob/master/HypixelPHP.php#L500 @yrsegal
eeeeh seems a bit convoluted, but I guess it could work
it is a good idea ^^
you can use Mojang's api to get the username via uuid i guess and vice versa
I can add that function, use http://mcuuid.com/api/ for that
Or do you want to @yrsegal , I hate having an update while you make one too :confused:
you do it :P
ok
:boom: done
so now, about that custom object... idk how to do that...
... this is an OOPL, you know... objects aren't that hard to do
I will do something like this then http://stackoverflow.com/questions/3768895/python-how-to-make-a-class-json-serializable
anyway i'll do the player obj
I will let you do it, I do not have my full amount of resources on this computer with 2GB ram (at school remember?)
kek, 16gb ram over here
I cannot even edit any code without IE crashing
IE? xD
yup, no Chrome
When I get home I will work on this more, adding specific objects based on the query, see https://github.com/Plancke/hypixel-php/blob/master/HypixelPHP.php#L1426
Just quickly added some small improvement to the getUUID btw
I am just going to run tests and then this should be closed
When I get home
No need for tests, now to close this!
More UUID compatibility
More functions