リクエストとレスポンス
01.路線毎のバス停の座標データ
路線番号(1~12)を引数として、路線ごとのバス停情報を取得します。
◆リクエストURL
http://tutujibus.com/busstopLookup.php
◆リクエストパラメーター
| No | パラメータ | データ型 | 内容 |
| 1 | rosenid |
small |
路線番号 |
| 2 |
callback |
string |
JSONPのコールバック関数名 |
|
1 |
路線毎のバス停の座標データ |
busstopLookup.php |
◆レスポンスフィールド
| フィールド | 内容 | |
| busstop(配列) | ||
| 1 |
id | バス停番号 |
| 2 | name | バス停名 |
| 3 | latitude |
バス停緯度 |
| 4 | longitude |
バス停経度 |
|
1 |
路線毎のバス停の座標データ |
busstopLookup.php |
◆レスポンス形式のサンプル
jsonp_callback({"busstop":[{"id":"1","name":"JR鯖江駅(1番のりば)","latitude":35.943302,"longitude":136.188187},{"id":"2","name":"本町1丁目(東)","latitude":35.944408,"longitude":136.185257},・・・]})

