类型是开放例如,帆船,双体船等...
API 返回代码和描述的类型与您的广告或选出来的关联的列表 (有用提交搜索表单菜单).
http://api.yacht4web.com/1.0/yacht/typologies
appId
有必要 |
您的应用程序 id |
lang
可选 |
你想要的语言. 可用语言 如果不指出在英语中返回该国的名称. |
可选 |
您可以通过添加进一步完善您的搜索 筛选器参数或共同选择, 如有只帆船或仅用于船. |
http://api.yacht4web.com/1.0/yacht/tipologies?appid=[appId]
该 Api 返回数组对象的代码,类型名称和关联广告的数量.
[
{
"code":"EXP",
"name":"Express Cruiser",
"ads":428
},
{
"code":"FSC",
"name":"Fast Commuter",
"ads":1
},
{
"code":"FLY",
"name":"Flybridge",
"ads":734
},
{
"code":"GZC",
"name":"Gozzo cabin cruiser",
"ads":2
},
{
"code":"INF",
"name":"Inflatables",
"ads":2
},
{
"code":"MEG",
"name":"Mega Yachts",
"ads":30
},
{
"code":"MTY",
"name":"Motor Yachts",
"ads":1
},
{
"code":"MTS",
"name":"Motorsailers",
"ads":1
},
{
"code":"OTH",
"name":"Other",
"ads":6
}
]