Back to all updates

about 3 years ago

Did you know?! Fun Hack Fact Friday

Did you know?!

Earlier this year, Amadeus for developers released the Points of Interest API, which may be something you can take advantage of in your Hack the Journey project! This new Self-Service API provides you with data about destinations to build applications that help travelers kick off their next adventure and find awesome spots around town.

The Points of Interest API features two new endpoints following the same design guidelines followed by the rest of the existing APIs from the Self-Service catalog: Points of interest by radius and by square.

Points of Interest by radius

The first endpoint supports only GET method and returns a list of points of interest for a given location - latitude and longitude - and a radius (1 km by default).

Points of Interest by a square

The second endpoint works in a similar way to the radius-based endpoint: It supports also GET operations but it defines the area of search with a box: north, west, south, and east.

The following example returns a list of points of interest for an area around Barcelona:

For code examples and to read more about the Points of Interest API, check out the full blog post!

Questions?

If you have any questions about the hackathon, please post on the discussion forum.