<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 全國加油站查詢(停售) ![](https://img.kancloud.cn/cd/df/cddf57da115e6caa9110762ca9ed3b07_163x157.png) > 全國加油站、周邊加油站,以及參考油價查詢 ## 接口費用( [點擊購買](https://market.topthink.com/product/352)) > 最低 0.01元/次 ## 接口調用([調用須知](https://docs.topthink.com/think-api/1835086)) ## 接口1:按城市檢索加油站 ### 請求地址 ``` GET https://api.topthink.com/car/region ``` ### 請求參數 | 名稱 | 必填 | 類型 | 說明 | | --- | --- | --- | --- | | appCode| 是| string|用戶授權碼,參考[API調用](https://docs.topthink.com/think-api/1835086) | | city | 是 | string | 城市名urlencode utf8; | | keywords | 否 | string | 關鍵字urlencode utf8; | | page | 否 | int | 頁數,默認1 | | format | 否 | int | 價格返回格式 1或2,默認1 | ### 返回`data`參數 | 名稱 | 類型 | 說明 | | --- | --- | --- | |   name | string | 加油站名稱 | |   area | string | 城市郵編 | |   areaname | string | 城市區域 | |   address | string | 加油站地址 | |   brandname | string | 運營商類型 | |   type | string | 加油站類型 | |   discount | string | 是否打折加油站 | |   exhaust | string | 尾氣排放標準 | |   position | string | 谷歌地圖坐標 | |   lat | double | 百度地圖緯度 | |   lon | double | 百度地圖經度 | |   price | string | 省控基準油價,E90對應89(90)號汽油,E93對應92(93)號汽油,E97對應95(97)號汽油,E0對應0號 | |   fwlsmc | string | 加油卡信息 | ## SDK調用 ``` $client = new Client("YourAppCode"); $result = $client->carRegion() ->withCity('北京') ->withFormat(2) ->request(); dump($result); ``` 返回示例 ``` { "code": 0, "message": "成功", "data":{ "data": [ { "id": "34299", "name": "中油燕賓北郵加油站?(辦卡優惠)", "area": "chongwen", "areaname": "北京市 崇文區", "address": "北京市崇文區天壇路12號,與東市場東街路交叉西南角(天壇北門往西一公里路南)。", "brandname": "中石油", "type": "加盟店", "discount": "打折加油站", "exhaust": "京Ⅴ", "position": "116.401654,39.886973", "lon": "116.40804671453", "lat": "39.893324983272", "price": [ { "type": "E90", "price": "7.31" }, { "type": "E93", "price": "6.92" }, { "type": "E97", "price": "7.36" }, { "type": "E0", "price": "6.84" } ], "fwlsmc": "銀聯卡,信用卡支付" }, { "id": "34316", "name": "中油北汽宣武門加油站(辦卡優惠)", "area": "xuanwu", "areaname": "北京市 宣武區", "address": "北京市宣武區宣武門西大街28院宣武門地鐵西南出口輔路。", "brandname": "中石油", "type": "加盟店", "discount": "打折加油站", "exhaust": "京Ⅴ", "position": "116.373169,39.899263", "lon": "116.37964995964", "lat": "39.905320913583", "price": [ { "type": "E90", "price": "7.31" }, { "type": "E93", "price": "6.92" }, { "type": "E97", "price": "7.36" }, { "type": "E0", "price": "6.84" } ], "fwlsmc": "銀聯卡,信用卡支付,加油卡,便利店,洗車服務" } ] } } ``` ## 接口2:查詢周邊加油站 ### 請求地址 ``` GET https://api.topthink.com/car/nearby ``` ### 請求參數 | 名稱 | 必填 | 類型 | 說明 | | --- | --- | --- | --- | | appCode| 是| string|用戶授權碼,參考[API調用](https://docs.topthink.com/think-api/1835086) | | lon | 是 | double | 經緯(如:121.538123) | | lat | 是 | double | 緯度(如:31.677132) | | r | 否 | int | 搜索范圍,單位M,默認3000,最大10000 | | page | 否 | int | 頁數,默認1 | | format | 否 | int | 價格返回格式 1或2,默認1 | ### 返回`data`參數 | 名稱 | 類型 | 說明 | | --- | --- | --- | |   name | string | 加油站名稱 | |   area | string | 城市郵編 | |   areaname | string | 城市區域 | |   address | string | 加油站地址 | |   brandname | string | 運營商類型 | |   type | string | 加油站類型 | |   discount | string | 是否打折加油站 | |   exhaust | string | 尾氣排放標準 | |   position | string | 谷歌地圖坐標 | |   lat | double | 百度地圖緯度 | |   lon | double | 百度地圖經度 | |   price | string | 省控基準油價,E90對應89(90)號汽油,E93對應92(93)號汽油,E97對應95(97)號汽油,E0對應0號 | |   fwlsmc | string | 加油卡信息 | |   distance | string | 與坐標的距離,單位M  | ## SDK調用 ``` $client = new Client("YourAppCode"); $result = $client->carNearby() ->withLon('116.403119') ->withLat('39.916042') ->withR(3000) ->request(); dump($result); ``` 返回結果示例: ``` { "code": 0, "message": "成功", "data": { "data": [ { "id": "34299", "name": "中油燕賓北郵加油站?(辦卡優惠)", "area": "chongwen", "areaname": "北京市 崇文區", "address": "北京市崇文區天壇路12號,與東市場東街路交叉西南角(天壇北門往西一公里路南)。", "brandname": "中石油", "type": "加盟店", "discount": "打折加油站", "exhaust": "京Ⅴ", "position": "116.401654,39.886973", "lon": "116.40804671453", "lat": "39.893324983272", "price": [ { "type": "E90", "price": "7.31" }, { "type": "E93", "price": "6.92" }, { "type": "E97", "price": "7.36" }, { "type": "E0", "price": "6.84" } ], "fwlsmc": "銀聯卡,信用卡支付", "distance": 2564 }, { "id": "34316", "name": "中油北汽宣武門加油站(辦卡優惠)", "area": "xuanwu", "areaname": "北京市 宣武區", "address": "北京市宣武區宣武門西大街28院宣武門地鐵西南出口輔路。", "brandname": "中石油", "type": "加盟店", "discount": "打折加油站", "exhaust": "京Ⅴ", "position": "116.373169,39.899263", "lon": "116.37964995964", "lat": "39.905320913583", "price": [ { "type": "E90", "price": "7.31" }, { "type": "E93", "price": "6.92" }, { "type": "E97", "price": "7.36" }, { "type": "E0", "price": "6.84" } ], "fwlsmc": "銀聯卡,信用卡支付,加油卡,便利店,洗車服務", "distance": 2332 } ] } } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看