1.0.2 • Published 7 months ago

cheapestrip v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

cheapestrip

Install/インストール/下載

npm install -g cheapestrip

API キー

export API_KEY=YOUR_API_KEY

アプリを使うためには、API キーを次のサイトで取得し、 上の YOUR_API_KEY の部分に差し替えてください。 テスト用の API キーなどは次のサイトを参考にしてください。

使い方

  1. 下のコマンドを入力してください コマンド

  2. 言語と通貨通貨を選んでください 言語と通貨

  3. 出発と到着の場所(大陸/国/都市/空港)を選んでください ロケーション
  4. 往復の値段を出す場合 -> y、そうでなければ -> n
  5. 月単位で日程が決まっていれば -> y、そうでなければ -> n
  6. 日単位で日程が決まっていれば -> y、そうでなければ -> n
  7. 決まっている日程の範囲に応じて日程を選んでください
  • 月単位で決まっている:年月単位で選んでください
  • 日単位で決まっている:年月日単位で選んでください 旅程
  • 日程内の最安値のチケット代が分かります。(日程を選択しなかった場合はその時点で最安値のチケット代が分かります。)

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

  1. type this command command

  2. Choose language and currency languageandcurrency

  3. Choose location(Continent/Country/City/Airport) for departure and arrival location
  4. Include go and return way of price -> y, no -> n
  5. If you've already fixed what month you will go(return) ->, if not -> n
  6. If you've already fixed what date you will go(return) ->, if not -> n
  7. 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) itinerary
  • 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 密鑰的話,去這裡

怎麼用

  1. 安裝 安裝

  2. 選語言和貨幣 languageandcurrency

  3. 選出發和到達的地點(洲/国家/城市/机场) 地點
  4. 要知道往返旅程價格的話 -> y, 不然的話 -> n
  5. 您已經決定了要去(返回)哪個月的話 -> y, 沒有計畫 -> n
  6. 您已經決定了要去(返回)日期的話 -> y, 沒有計畫 -> n
  7. 根據您的固定時間表,設置月份/日期
  • 決定了哪個月:選幾月去(返回)
  • 決定了日期:選什麼時候去(返回)(年月日) 旅程
  • 可以取得最便宜的機票價格(如果沒有日期計畫,可以取得目前最便宜的機票價格)

注意/Caution/注意

  • 中国語を使用する場合は API の仕様でうまく動かない場合があります。
  • When you use Chinese for package, sometimes the package doesn't work well due to API setting.
  • 如果您用中文,由於 API 設定,它有時候不工作。