Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client = new(client)
Functions ¶
This section is empty.
Types ¶
type GetLiveWeatherOption ¶
type GetLiveWeatherOption struct { Province string `json:"province"` // 省份名 City string `json:"city"` // 城市名 AdCode string `json:"adcode"` // 区域编码 Weather string `json:"weather"` // 天气现象(汉字描述) Temperature string `json:"temperature"` // 实时气温,单位:摄氏度 WindDirection string `json:"winddirection"` // 风向描述 WindPower string `json:"windpower"` // 风力级别,单位:级 Humidity string `json:"humidity"` // 空气湿度 ReportTime string `json:"reporttime"` // 数据发布的时间 }
type GetRoutePlanOption ¶
type GetRoutePlanOption struct { Origin string // 出发点 经度在前,纬度在后,经度和纬度用","分割,经纬度小数点后不得超过6位。格式为x1,y1|x2,y2|x3,y3。 经纬度小数点不超过6位 Destination string // 目的地 经度在前,纬度在后,经度和纬度用","分割,经纬度小数点后不得超过6位。 Strategy string // 驾车选择策略(暂不支持,todo 未来需要支持) Waypoints []string // 途经点 经度和纬度用","分割,经度在前,纬度在后,小数点后不超过6位,坐标点之间用";"分隔;最大数目:16个坐标点。如果输入多个途径点,则按照用户输入的顺序进行路径规划 }
type Poi ¶ added in v1.3.0
type Poi struct { Id string `json:"id"` Parent string `json:"parent"` Name string `json:"name"` Location string `json:"location"` Address string `json:"address"` TypeCode string `json:"typecode"` PCode string `json:"pcode"` AdCode string `json:"adcode"` CityCode string `json:"citycode"` Photos []*photos `json:"photos"` Business *business `json:"business"` Children *children `json:"children"` Indoor *indoor `json:"indoor"` }
type SearchScenicByNameOption ¶ added in v1.3.0
type SearchScenicByNameOption struct {
Name string
}
type SearchScenicByNameResponse ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.