1.0.2 • Published 2 years ago
cheapestrip v1.0.2
cheapestrip
Install/インストール/下載
npm install -g cheapestrip
API キー
export API_KEY=YOUR_API_KEY
アプリを使うためには、API キーを次のサイトで取得し、 上の YOUR_API_KEY の部分に差し替えてください。 テスト用の API キーなどは次のサイトを参考にしてください。
使い方
下のコマンドを入力してください
言語と通貨通貨を選んでください
- 出発と到着の場所(大陸/国/都市/空港)を選んでください
- 往復の値段を出す場合 -> y、そうでなければ -> n
- 月単位で日程が決まっていれば -> y、そうでなければ -> n
- 日単位で日程が決まっていれば -> y、そうでなければ -> n
- 決まっている日程の範囲に応じて日程を選んでください
- 月単位で決まっている:年月単位で選んでください
- 日単位で決まっている:年月日単位で選んでください
- 日程内の最安値のチケット代が分かります。(日程を選択しなかった場合はその時点で最安値のチケット代が分かります。)
API key
export API_KEY=YOUR_API_KEY
To use this app, you need to get API key here and paste it in YOUR_API_KEY part. If you want test API, please reference here
Usage
type this command
Choose language and currency
- Choose location(Continent/Country/City/Airport) for departure and arrival
- Include go and return way of price -> y, no -> n
- If you've already fixed what month you will go(return) ->, if not -> n
- If you've already fixed what date you will go(return) ->, if not -> n
- Set your month/date depending on your fixed schedule.
- month fixed:choose what month(and year)
- date fixed:choose what date(also month and year)
- You can get cheapest ticket price of flight(if you didn't choose month neither date, the package return cheapest price at the moment)
API 密鑰
export API_KEY=YOUR_API_KEY
您要在以下網站拿下API 密鑰用這 App 拿下後貼到 YOUR_API_KEY 部分。 如果您要測試 API 密鑰的話,去這裡
怎麼用
安裝
選語言和貨幣
- 選出發和到達的地點(洲/国家/城市/机场)
- 要知道往返旅程價格的話 -> y, 不然的話 -> n
- 您已經決定了要去(返回)哪個月的話 -> y, 沒有計畫 -> n
- 您已經決定了要去(返回)日期的話 -> y, 沒有計畫 -> n
- 根據您的固定時間表,設置月份/日期
- 決定了哪個月:選幾月去(返回)
- 決定了日期:選什麼時候去(返回)(年月日)
- 可以取得最便宜的機票價格(如果沒有日期計畫,可以取得目前最便宜的機票價格)
注意/Caution/注意
- 中国語を使用する場合は API の仕様でうまく動かない場合があります。
- When you use Chinese for package, sometimes the package doesn't work well due to API setting.
- 如果您用中文,由於 API 設定,它有時候不工作。