تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

flight-pricer

بواسطة jrojas537

Search & Research
586التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

A command-line interface (CLI) to search for flight prices using the Duffel API.

الوصف

ما الذي تفعله هذه المهارة

A CLI tool for searching flight prices via the Duffel API. Accepts IATA airport codes, travel dates, cabin class, and passenger count to return flight offers. Stores API credentials locally in a config file.

Wraps the Duffel API in a single command with persistent auth, so fare searches require no manual HTTP calls or session setup.

متى تستخدمها

  • Checking round-trip fares between two cities before booking
  • Filtering for non-stop first-class flights on a specific date
  • Comparing economy vs business class prices for a work trip
  • Searching multi-passenger fares for group travel
  • Automating fare lookups from an agent workflow

مثال على سير العمل

الإدخال

User asks: Find non-stop first-class flights from Detroit to Miami, April 6-10, for 1 passenger

الوكيل
  1. 1

    Run flight-pricer config set --api-key <key> to authenticate

  2. 2

    Run flight-pricer search --from DTW --to MIA --depart 2026-04-06 --return 2026-04-10 --non-stop --cabin first

  3. 3

    Parse returned flight offers for price and itinerary details

  4. 4

    Present options to the user

الإخراج

List of available non-stop first-class flight offers with prices and schedules

المتطلبات

  • Duffel API key

التثبيت

clawhub install jrojas537/flight-pricer

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط