I am trying to use the hypixel api for some skyblock stuff and started off by copy pasting the example for getting the skyblock profiles from a player only to get the error message that the player has no skyblock profiles, I did change the uuid in the util to mine. I did some testing and it seems like the '.' in the getObjectProperty doesnt seem to actually work. Whenever i remove the ".Skyblock.profiles" part and only keep the "stats" it prints the stats just fine but when i add the dots it returns null, i cannot figure out why since this is my first time working with json and an api.
I am trying to use the hypixel api for some skyblock stuff and started off by copy pasting the example for getting the skyblock profiles from a player only to get the error message that the player has no skyblock profiles, I did change the uuid in the util to mine. I did some testing and it seems like the '.' in the getObjectProperty doesnt seem to actually work. Whenever i remove the ".Skyblock.profiles" part and only keep the "stats" it prints the stats just fine but when i add the dots it returns null, i cannot figure out why since this is my first time working with json and an api.
Thanks for any help in advance.