gerbenjacobs / HabboAPI

A PHP wrapper for the (undocumented) Habbo API
MIT License
45 stars 10 forks source link

API for Rooms #32

Open gerbenjacobs opened 8 years ago

gerbenjacobs commented 8 years ago

There should be a getRoom() endpoint that requires a unique room ID (r-hhus-dcf2e2a74a39f64dc627c5ef32a1aa83).

This won't give new info that's not in Profile, but it can be used to look up group rooms as mentioned in #28.

gerbenjacobs commented 8 years ago

These endpoints seem to not work (anymore?) for old Habbos/Rooms. I'm not sure what the criteria is, but results are flaky.

EDIT 2016-03-18: Apparently they're using the new id instead of uniqueId; https://www.habbo.com/api/public/rooms/31159787

But still flaky.

gerbenjacobs commented 8 years ago

The flakiness seems to have gone. They have completely switched over to the id set up.

The main difference between a Room object here and the integrated one in Profile is that this one has a publicRoom boolean and doorMode enum (open, closed, password).