/v1/badges
Every badge a player has earned
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/habbo-api/v1/badges" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/habbo-api/v1/badges", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/habbo-api/v1/badges");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/habbo-api/v1/badges",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"name": "Puhekupla",
"badges": [
{
"code": "ACH_RegistrationDuration20",
"name": "100 % True Habbo XX",
"description": "For being a member of the community for 1825 days."
},
{
"code": "AQR01",
"name": "Aquarium 1",
"description": "1 of 4"
},
{
"code": "AQR02",
"name": "Aquarium 2",
"description": "2 of 4"
},
{
"code": "ACH_TagB20",
"name": "Blades of glory XX",
"description": "For getting tagged 1284 times while ice skating."
},
{
"code": "ACH_RoomDecoBC8",
"name": "Builders Club designer VIII",
"description": "For placing 250 Builders Club furni."
},
{
"code": "COW01",
"name": "Cowboyween",
"description": "Trick or Treat?"
},
{
"code": "ACH_GuideFeedbackGiver1",
"name": "Feedback provider",
"description": "For giving feedback to helpers 2 times."
},
{
"code": "MRG00",
"name": "Friendship Bracelet",
"description": "A stranger is a friend you have yet to meet!"
},
{
"code": "HBN05",
"name": "Gates of the Castle",
"description": "For passing the Gates of the Castle Quests"
},
{
"code": "ACH_GuideAdvertisementReader1",
"name": "Gran Turismo",
"description": "For checking out a guided tour."
},
{
"code": "ACH_GiftReceiver1",
"name": "Greet me I",
"description": "For receiving a gift from other people."
},
{
"code": "MRG01",
"name": "Habbo Canada",
"description": "Remembering my Habbo roots!"
},
{
"code": "ACH_HabboWayGraduate1",
"name": "Habbo Way",
"description": "For passing the Habbo Way quiz!"
},
{
"code": "ACH_Citizenship1",
"name": "Habbo citizen",
"description": "For earning your citizenship."
},
{
"code": "ACH_HappyHour1",
"name": "Happy hour",
"description": "For logging in during happy hour."
},
{
"code": "ACH_RbTagA7",
"name": "Hi, roller VII",
"description": "My skating rink has 100 Roller Rink tiles. Oh yeah!"
},
{
"code": "ACH_TagC13",
…