Skip to content

HabboAPI v2.0.0

Compare
Choose a tag to compare
@gerbenjacobs gerbenjacobs released this 10 Dec 10:42
· 55 commits to master since this release

Today we're releasing v2 of the HabboAPI.

The main additions are the use of the Profile entity that's now returned by the getProfile() method and the getPhotos() endpoint.

Profile entity
Under the hood it is still kind of the array that it used to be, but now it's a bit more stable and we can add methods to this complete entity. For example the getCounts() method.

Photos
Because Photos are now are a big part of your profile and also the Community page of Habbo, it was about time they were handled by the API. This includes the new Photo entity.

Breaking changes
The way the HabboParser is constructed is now changed, you just give it the domain extension of the hotel; "com", "de", "com.br" etc. This was done in order to be able to construct new API endpoints such as the Photos one. It will also give us flexibility to add new API endpoints, no matter what the Habbo URL is going to be.

Carbon dating
No, not what they use to measure how old dinosaur bones are.. We added nesbot/Carbon to the project and use it for times/dates in Habbo, Room and Photo entities.