INDIA-HOTEL
India Hotel Info Retrieval Script Documentation
Last updated
India Hotel Info Retrieval Script Documentation
Last updated
GET
https://api.kosontechnology.com/india-hotel.php
This API script is designed to retrieve information from the India Hotel info database using provided parameters.
Name | Type | Description |
---|---|---|
This API script is designed to retrieve information from the India hotel info database using provided parameters. The script constructs the appropriate URL based on the parameters provided and then fetches data from the API. Please follow the instructions below to use this script effectively.
Making an HTTP request via a web browser or API Platform etc. Postman.
The following parameters are accepted:
Name | Description | Format |
---|---|---|
Depending on the parameters provided, the script will construct a URL to fetch information from the India hotel database.
State
Parameter:
If you provide a state parameter of India state name etc. 'Delhi', the script will retrieve all hotel information within the selected state.
City
Parameter:
If you provide a city
parameter of India city name etc. 'New Delhi', the script will retrieve all hotel information within the selected city.
Category
Parameter:
If you provide a Category
parameter of hotel category etc. '5 Star', the script will retrieve all hotel information that matches the selected category.
download
Parameter:
If you want to download
the JSON output of these parameter, define the parameter with empty or any input will able you to auto download it. See the download sample at here.
Refer this wikipedia to have India's States and Cities List.
1 to 5 Star
Add download at the back of the link to download the database in json format.
State
String
To specify the desired state within India.
City
String
To specify the desired city within India.
Category
String
To specify the desired hotel category.
download
-
To download the json file
State
To specify the desired state within India.
State Name. Etc. Delhi
City
To specify the desired city within India.
City Name. Etc. New Delhi
Category
To specify the desired hotel category.
Hotel Category. Etc. 5 Star
download
To download the JSON output
This parameter does not require the content, Leave empty or Type anything is acceptable.