'A little lost with calling amadeus API with ruby. Do I need to decode the result?
I'm a beginner at coding and trying to use this with Ruby. I'm trying to get human readable outcome from this code:
response = amadeus.reference_data.locations.points_of_interest.by_square.get(north: 41.397158, west: 2.160873, south: 41.394582, east: 2.177181)
p response.body #=> The raw response, as a string
p response.result #=> The body parsed as JSON, if the result was parsable
p response.data #=> The list of locations, extracted from the JSON
and what I get is this as the screenshot result. Do I need to decode this result ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
