Introduction:
In this article, we show how to consult and use the HotelDataHub/Fideltour API through the Swagger platform.
There, we find the different endpoints (URLs) and the information that must be provided for each one to use the API correctly.
To access Swagger, we must visit the following link: https://app.hoteldatahub.io/swagger/
Once inside, to navigate through the methods and view the different endpoints, simply click on the desired section and all its information will be displayed.
When a section is expanded, all its methods and endpoints are shown. To make a request to the API, we always concatenate the URL https://app.hoteldatahub.io/api/v1/ with the desired endpoint.
Using the Swagger platform, in addition to providing all the information about the API, also offers mechanisms to make real requests and verify the functionality of each endpoint.