Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 658 Bytes
package aviasales
type DataCityDirectionsFlight struct {
Success bool `json:"success" bson:"success"`
Data map[string]Flight `json:"data" bson:"data"`
// CityDirections returns most popular destinations from the specified city.
// Documentation:
// Example URI:
func (a *AviasalesApi) CityDirections(origin string) (flights DataCityDirectionsFlight, err error) {
err = a.getJson("v1/city-directions", map[string]string{
"origin": origin,
"token": a.token,
}, &flights)
You can’t perform that action at this time.