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

dub-links-api

بواسطة ferminrp

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

موجز

Integrates Dub Links API endpoints to create, update, delete, retrieve, list, count, and run bulk operations.

الوصف

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

Wraps the Dub.co /links API to create, read, update, delete, and bulk-manage short links from an authenticated workspace. Supports upsert, paginated listing, count queries, and operations on up to 100 links at once. Auth uses a Bearer token tied to a Dub workspace.

Covers the full CRUD surface of Dub links in one skill, so agents don't need to construct API calls or handle pagination and error codes manually.

متى تستخدمها

  • Create a batch of short links for a marketing campaign
  • Delete outdated short links by ID in bulk
  • Look up a short link by its domain and key
  • Count how many links exist under a specific domain
  • Archive a set of links without deleting them

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

الإدخال

User asks: create short links for these 3 URLs in bulk

الوكيل
  1. 1

    Detect intent as bulk create

  2. 2

    Validate that each item has a url field

  3. 3

    POST array of link objects to /links/bulk with Bearer token

  4. 4

    Parse response array and extract id, shortLink, url per item

  5. 5

    Return a summary table with id, shortLink, and url columns

الإخراج

Table of 3 created links with their assigned short URLs and IDs

المتطلبات

  • DUB_API_KEY environment variable
  • Dub.co account with an active workspace

التثبيت

clawhub install ferminrp/dub-links-api

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

الروابط