城市列表

该接口用于查询票牛所有开站的城市,可以根据城市进行演出查询。

GET /openapi/v2/cities{?sign,appId,timeStamp}

参数 :

name 意义 取值
sign 签名 483DFD2E8BE0AF2D486F04C7320C7C5E
appId 代理商的唯一id 1
timeStamp 时间戳 有效期10分钟 1482995969920
请求示例(测试环境):
   curl 'http://openapi.beta.piaoniu.com/openapi/v2/cities?sign=D7D7818088D1820EF950B5457B8D3C07&appId=10000&timeStamp=1482994550794'

返回值 :

name 意义 取值
cityId 场馆id 1
cityName 城市名称 "上海"
cityEnName 城市英文名称 "shanghai"
cityAbbrCode 城市英文名称缩写 "sh"
示例:
 [
     {
         "cityId":1,
         "cityName":"上海",
         "cityEnName":"shanghai",
         "cityAbbrCode":"sh"
     },
     {
         "cityId":2,
         "cityName":"北京",
         "cityEnName":"beijing",
         "cityAbbrCode":"bj"
     },
     {
         "cityId":4,
         "cityName":"广州",
         "cityEnName":"guangzhou",
         "cityAbbrCode":"gz"
     },
     {
         "cityId":7,
         "cityName":"深圳",
         "cityEnName":"shenzhen",
         "cityAbbrCode":"sz"
     },
     {
         "cityId":8,
         "cityName":"成都",
         "cityEnName":"chengdu",
         "cityAbbrCode":"cd"
     },
     {
         "cityId":9,
         "cityName":"重庆",
         "cityEnName":"chongqing",
         "cityAbbrCode":"cq"
     }
   ]

results matching ""

    No results matching ""