Return a tuple of the (longitude, latitude) for the given query.
(self, query)
| 213 | } |
| 214 | |
| 215 | def lon_lat(self, query): |
| 216 | "Return a tuple of the (longitude, latitude) for the given query." |
| 217 | data = self.city(query) |
| 218 | return data["longitude"], data["latitude"] |
| 219 | |
| 220 | def lat_lon(self, query): |
| 221 | "Return a tuple of the (latitude, longitude) for the given query." |