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

duffel

بواسطة fabiolr

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

موجز

Search, book, and manage flights via the Duffel Flights API.

الوصف

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

Searches, books, and manages flights across 300+ airlines using the Duffel API. Covers NDC, GDS, and low-cost carriers with support for one-way, round-trip, multi-passenger bookings, cabin class filtering, and seat maps.

Duffel's single API covers 300+ airlines including low-cost carriers that GDS systems often miss, so you get broader coverage without stitching together multiple booking providers.

متى تستخدمها

  • Search round-trip business class flights between two cities
  • Compare nonstop vs connecting options for a group of 3 travelers
  • Book a flight and receive a PNR in one command
  • Check or cancel an existing booking by order ID
  • Look up IATA codes for airports or cities before searching

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

الإدخال

User asks: Find me a nonstop business class flight from JFK to LHR on April 15 for 2 adults, check the details, and book it

الوكيل
  1. 1

    Run search with --from JFK --to LHR --date 2026-04-15 --cabin business --nonstop --adults 2

  2. 2

    Review numbered results showing price, duration, and airline

  3. 3

    Run offer on chosen result number to inspect baggage allowance and fare conditions

  4. 4

    Run book with the offer number and passenger details for both travelers

  5. 5

    Run order with the returned order ID to confirm the booking is ticketed

الإخراج

Confirmed booking with PNR, itinerary details, and order ID for both passengers

المتطلبات

  • DUFFEL_TOKEN environment variable (Duffel API access token from app.duffel.com → Developers → Access Tokens)
  • Duffel account with funded balance for production bookings

التثبيت

clawhub install fabiolr/duffel

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

الروابط