Data download
The first step towards integrating Stuba is to download, input and map the Stuba regions and hotels into your database.
For this, Stuba provides the regions and hotel content after logging into the Stuba developer portal.
Regions
The data is provided in a spreadsheet named Regions.xlsx. The sheet contains the regions and the countries to which they belong to.
The file is structured as:
- RegionId
- RegionName
- StateCode
- CountryId
- CountryName
The Region Ids from this file should be included in AvailabilitySearch operations where required.
Hotels
Hotels are provided in a dump file which contains the hotel content files. Hotel content is provided in the form of individual XML files for each hotel. Each file is named by the HotelId of that hotel.
Every Hotel element consists of a substantial amount of data:
Name | Type | Description |
---|---|---|
<Id> |
Integer |
Numeric Id for the hotel. |
<Name> |
String |
The name of the hotel. |
<Region> |
Complex |
Contains details of the region that the hotel is in. |
<Id> |
Integer |
Numeric Id for the region. |
<Name> |
String |
The name of the region. |
<CityId> |
Interger |
Id of the city to which the hotel belongs to. |
<Type> |
String |
The type of the hotel. |
<Address> |
Complex |
Contains the hotel’s address and contact information. |
<Address1> |
String |
The first line of the hotel’s street address. |
<Address2> (Optional) |
String |
The second line of the hotel’s street address, where appropriate. |
<Address3> (Optional) |
String |
The third line of the hotel’s street address, where appropriate. |
<City> |
String |
The city component of the hotel’s address. |
<State> (Optional) |
String |
The state or county component of the hotel’s address. |
<Zip> (Optional) |
String |
The hotel’s zip code or post code. |
<Country> |
String |
The hotel’s country. |
<Tel> (optional) |
String |
The hotel’s telephone number. |
<Fax> (optional) |
String |
The hotel’s fax number. |
<Email> (optional) |
String |
An email address for the hotel. |
<Url> (optional) |
String |
A URL for the hotel’s own website. |
<Stars> (optional) |
Integer |
The hotel’s generic star rating. |
<Rank> (optional) |
Integer |
This is not operational. |
<GeneralInfo> |
Complex |
Contains miscellaneous information about the hotel. |
<CountRooms> (optional) |
Integer |
The number of rooms in the hotel. |
<CountFloors> (optional) |
Integer |
The number of floors the hotel has. |
<CountSuites> (optional) |
Integer |
The number of suites in the hotel. |
<CheckInTime> (optional) |
String |
The hotel’s published check-in time. |
<CheckOutTime> (optional) |
String |
The hotel’s published check-out time. |
<Latitude> (optional) |
Double |
The latitude of the hotel, stored as the number of degrees North of the equator, taking values from -90.0 to +90.0. |
<Longitude> (optional) |
Double |
The longitude of the hotel, stored as the number of degrees East of the Prime Meridian through Greenwich, taking values from -180.0 to +180.0. |
<Photo> (optional; zero or more) |
Complex |
Data pointing to a web-hosted hotel photo. |
<Url> |
String |
URL of a hotel photo image. |
<Height> <Width> <Bytes> |
Integer |
The photo image’s height in pixels, width in pixels and file size in bytes. |
<Caption> (optional) |
String |
Caption for the photo image. |
<ThumbnailUrl> (optional) |
String |
URL of a thumbnail version of the hotel photo image, where available. |
<ThumbnailHeight> (optional) <ThumbnailWidth> (optional) |
Integer |
The thumbnail photo image’s height in pixels, width in pixels and file size in bytes, where available. |
<ThumbnailBytes> (optional) |
Integer | |
<PhotoType> (optional) |
String |
Code for the type of photo. |
<Description> (optional; zero or more) |
Complex |
Categorised descriptive text about the hotel. |
<Language> |
String |
ISO language code for the language of the description text. |
<Type> |
String |
A text enumeration for the description text type (for example, general hotel description or location info). |
<Text> |
String |
Descriptive text relating to the type specified |
<Amenity> (optional; zero or more) |
Complex |
Indicates presence of a particular amenity (E.g. swimming pool, dry cleaning service, etc.) at the hotel. |
<Code> |
String |
Hotel amenity code. |
<Text> |
String |
User-presentable localised hotel amenity description. |
<Rating> |
Complex |
A hotel rating for this hotel. |
<System> |
String |
The rating system this rating is applicable for (typically stars or keys). |
<Description> |
String |
String representation of the rating. |
<Rank> (Optional) |
Integer |
This is not operational. |
Linking Stuba hotels to Stuba regions
In the hotel static data files, you will find each hotel has tags <Region><Id> and
<CityId>. One of the two Ids will always be present in the regions spreadsheet – Regions.xlsx (which is used to map region codes). This will allow you to link each hotel to the correct region.
Example 1:
In the Stuba regions spreadsheet, the region code for New York City is 19793. If you have mapped this region code correctly to New York City in your system, you will be able to link all Stuba hotels in this destination to your New York City. Below are extracts from the hotel static data file for a New York City hotel.
<HotelElement>
<Id>963208</Id>
<Name>Blakely</Name>
<Region>
<Id>64379</Id>
<Name>Midtown Manhattan</Name>
<CityId>19793</CityId>
</HotelElement>
If you see, this hotel has a link to ‘19793’. If you have mapped this region code to the correct region (I.e. New York City) in your database, the above hotels will then be correctly linked to New York City for mapping.
Example 2:
Alternatively, for certain regions, you will find that the valid region code is
<Region><Id> and not <CityId> in the regions spreadsheet. For example, the code for Nice, France is 20510…
<HotelElement>
<Id>39909</Id>
<Name>Ellington</Name>
<Region>
<Id>20510</Id>
<Name>Nice</Name>
<CityId>16466</CityId>
Basically, if you don’t find the <Region><Id> in the regions spreadsheet, use the <CityId>.
Passenger Nationality
Some of Stuba’s properties will provide different rates and conditions for different passenger nationalities. A list of the nationality codes accepted by our API are available from the dashboard once logged in to our developer site.
The file is structured as:
- CountryName
- NationalityCode
The nationality codes from this file should be used when searching for availability and prices to ensure that the accurate availability and conditions are returned.
Hotel XML Sample
324524
Atlantis The Palm
9043419
Jumeirah / Marina / Palm
18870
Hotel
Crescent Road
The Palm
Dubai
United Arab Emirates
5
25.13044
55.11715
/RXLImages/1163/324524/Main_324524.jpg
1024
625
91772
/RXLImages/1163/324524/324524_BigThumb.jpg
125
125
2734
BigThumbImageOfHotel
/RXLImages/1163/324524/Main_324524.jpg
1024
625
91772
/RXLImages/1163/324524/Main_324524_Thumb.jpg
60
60
1241
ExternalViewOfTheHotel
/RXLImages/1163/324524/420453792.jpg
1024
733
93344
/RXLImages/1163/324524/420453792_Thumb.jpg
60
60
1251
OtherPhotos
/RXLImages/1163/324524/420453800.jpg
1024
670
96195
/RXLImages/1163/324524/420453800_Thumb.jpg
60
60
1225
OtherPhotos
/RXLImages/1163/324524/420453809.jpg
1024
653
93820
/RXLImages/1163/324524/420453809_Thumb.jpg
60
60
1200
OtherPhotos
/RXLImages/1163/324524/420453815.jpg
1024
646
95963
/RXLImages/1163/324524/420453815_Thumb.jpg
60
60
1226
OtherPhotos
/RXLImages/1163/324524/420453824.jpg
1024
615
96672
/RXLImages/1163/324524/420453824_Thumb.jpg
60
60
1221
OtherPhotos
/RXLImages/1163/324524/420453827.jpg
1024
636
89765
/RXLImages/1163/324524/420453827_Thumb.jpg
60
60
1217
OtherPhotos
/RXLImages/1163/324524/420453837.jpg
1024
683
99053
/RXLImages/1163/324524/420453837_Thumb.jpg
60
60
1398
OtherPhotos
/RXLImages/1163/324524/420453845.jpg
1024
669
77072
/RXLImages/1163/324524/420453845_Thumb.jpg
60
60
1127
OtherPhotos
/RXLImages/1163/324524/420453855.jpg
1024
704
119615
/RXLImages/1163/324524/420453855_Thumb.jpg
60
60
1483
OtherPhotos
/RXLImages/1163/324524/420453866.jpg
1024
683
160090
/RXLImages/1163/324524/420453866_Thumb.jpg
60
60
1385
OtherPhotos
/RXLImages/1163/324524/420453873.jpg
1024
592
102533
/RXLImages/1163/324524/420453873_Thumb.jpg
60
60
1237
OtherPhotos
/RXLImages/1163/324524/420453911.jpg
1024
683
167196
/RXLImages/1163/324524/420453911_Thumb.jpg
60
60
1392
OtherPhotos
en
SurroundingArea
With a stay at Atlantis, The Palm in Dubai (Palm Jumeirah), you'll be a 1-minute drive from Aquaventure and 7 minutes from Nakheel Mall. This luxury hotel is 2.8 mi (4.6 km) from The Pointe and 4.3 mi (6.9 km) from The View at The Palm.
en
RoomTypes
Make yourself at home in one of the 1539 guestrooms featuring iPod docking stations and minibars. Rooms have private furnished balconies or patios. 60-inch LED televisions with satellite programming provide entertainment, while complimentary wireless internet access keeps you connected. Private bathrooms with bathtubs or showers feature rainfall showerheads and designer toiletries.
en
PropertyInformation
Pamper yourself with a visit to the spa, which offers massages, body treatments, and facials. After dipping into one of the 2 outdoor swimming pools, you can spend some time at the private beach. Additional amenities at this hotel include complimentary wireless internet access, concierge services, and babysitting (surcharge). Guests can get to nearby shops on the complimentary shuttle.Featured amenities include complimentary wired internet access, a business center, and limo/town car service. Event facilities at this hotel consist of a conference center and meeting rooms. A roundtrip airport shuttle is provided for a surcharge (available 24 hours), and free valet parking is available onsite.
en
AreaActivities
Distances are displayed to the nearest 0.1 mile and kilometer. <br /> <p>Aquaventure - 0.4 km / 0.2 mi <br /> Lost Chambers - 1.4 km / 0.9 mi <br /> Nakheel Mall - 4.5 km / 2.8 mi <br /> The Pointe - 4.6 km / 2.8 mi <br /> The View at The Palm - 6.9 km / 4.3 mi <br /> Dubai College - 9.1 km / 5.7 mi <br /> American University of Dubai (AUD) - 10.2 km / 6.4 mi <br /> Dubai Marina Mall - 11.4 km / 7.1 mi <br /> Al Sufouh Beach - 11.6 km / 7.2 mi <br /> Marina Beach - 11.7 km / 7.3 mi <br /> The Walk - 11.8 km / 7.3 mi <br /> Skydive Dubai - 11.8 km / 7.3 mi <br /> Jebel Ali Race Course - 11.8 km / 7.4 mi <br /> Mohammad Bin Ahmed Al Mulla Mosque - 11.9 km / 7.4 mi <br /> The Beach Mall - 12.4 km / 7.7 mi <br /> </p><p>The nearest airports are:<br />Dubai Intl. Airport (DXB) - 36.8 km / 22.9 mi<br /> Al Maktoum Intl. Airport (DWC) - 47.1 km / 29.3 mi<br /> Sharjah (SHJ-Sharjah Intl.) - 63 km / 39.1 mi<br /> </p><p>The preferred airport for Atlantis, The Palm is Dubai Intl. Airport (DXB). </p>
en
PoliciesDisclaimers
<ul> <li>Extra-person charges may apply and vary depending on property policy</li><li>Government-issued photo identification and a credit card, debit card, or cash deposit may be required at check-in for incidental charges</li><li>Special requests are subject to availability upon check-in and may incur additional charges; special requests cannot be guaranteed</li><li>Guests must contact this property in advance to reserve cribs/infant beds and rollaway/extra beds</li><li>This property accepts credit cards; cash is not accepted</li><li>Cashless transactions are available</li><li>Safety features at this property include a fire extinguisher, a smoke detector, a security system, and a first aid kit</li><li>Please note that cultural norms and guest policies may differ by country and by property; the policies listed are provided by the property</li> </ul>PropertyContentXML.Policies
en
DiningFacilities
Grab a bite to eat at one of the hotel's 20 restaurants, or stay in and take advantage of the 24-hour room service. Snacks are also available at the coffee shop/cafe. Relax with a refreshing drink from the poolside bar or one of the 3 bars/lounges. Buffet breakfasts are available daily from 7 AM to 10 AM for a fee.
en
RXLContentId
2235336
CoffeeTeaMaker
Tea and Coffee maker
TVInRoom
TV in room
OutdoorPool
Outdoor swimming pool
MiniBarInRoom
Mini-bar
RoomService
Room service
HairDryer
Hair dryer
Bar
Bar
LaundryService
Laundry service
ReceptionArea
Reception Area
Reception24hr
24hr. Reception
Shower
Shower
SatelliteTV
Satellite TV
IndividualAirCondition
IndividualAirCondition
Balcony
Balcony
Bath
Bath
TelephoneInRoom
Direct Dial Telephone
Restaurants
Restaurants
Stars
50
Five star
186