🎓 הקורס הדיגיטלי המקיף בישראל ל-Claude — לעבוד חכם יותר עם Claude
פפרומפטים.AIחיפוש
⚙️

Skill API Basics — לא-מפתחים ל-Claude

"API basics for non-developers: REST, JSON, authentication (API keys, OAuth, JWT), GET/POST/PUT/DELETE, status codes, rate limits, pagination"

api-basics · v1.0.0💾 5KB · חינם🧩 חלק מחבילת מומחה אוטומציות
מה זה Skill ואיך מתקינים?

Skill הוא יכולת קבועה ש-Claude טוען אוטומטית כשהיא רלוונטית לבקשה שלך — בניגוד לפרומפט רגיל שצריך להעתיק מחדש בכל שיחה. מתקינים פעם אחת (מעבירים תיקייה אל ~/.claude/skills/ או מעלים דרך הגדרות האפליקציה), ומאז הוא עובד לבד — ללא כל פעולה נוספת.

חדש ל-Claude? התחל כאן ←

⬇️ הורדת ה-Skill (5KB)

ZIP · ללא הרשמה · רישיון שימוש כלול בקובץ

📖 מה ה-Skill הזה כולל

מתי להשתמש

"API", "REST", "JSON", "Authentication", "OAuth", "Rate limit", "API call".

הוראות עבודה

1. API = Application Programming Interface

"How software talks to other software."

Real-life Analogy

  • Restaurant: Menu = API. Waiter = takes orders to kitchen, brings food.
  • You don't need to cook (build everything) — you ask via the API (menu).

2. REST API — The Standard

Methods (Verbs)

  • GET — Read data ("Show me my contacts").
  • POST — Create new ("Add a new contact").
  • PUT — Update existing ("Update contact #123").
  • PATCH — Partial update.
  • DELETE — Remove.

URLs

https://api.example.com/v1/contacts           ← GET (list all)
https://api.example.com/v1/contacts/123       ← GET (specific contact)
https://api.example.com/v1/contacts           ← POST (create)
https://api.example.com/v1/contacts/123       ← PUT (update)
https://api.example.com/v1/contacts/123       ← DELETE

3. JSON Format

{
  "name": "Dana Cohen",
  "email": "dana@example.com",
  "tags": ["customer", "vip"],
  "company": {
    "name": "Acme Ltd",
    "size": 50
  }
}
  • Keys + Values.
  • Strings, Numbers, Booleans, Arrays, Objects.
  • Universal format for APIs.

4. Authentication Types

א. API Key

  • Long string in header / URL.
  • Simplest.
Header: X-API-Key: abc123xyz...

ב. OAuth 2.0

  • Token-based, more secure.
  • "Login with Google" pattern.
  • Refresh tokens for long-lived access.

ג. JWT (JSON Web Token)

  • Encrypted token with claims.
  • Self-contained.
Header: Authorization: Bearer eyJhbGc...

ד. Basic Auth

  • Username + Password (Base64).
  • Insecure unless HTTPS.

5. Status Codes

Code Meaning
2xx Success
200 OK
201 Created
204 No Content (success, no body)
3xx Redirect
301 Permanent redirect
4xx Client error
400 Bad Request (your fault)
401 Unauthorized (not logged in)
403 Forbidden (logged in but no permission)
404 Not Found
429 Rate Limited
5xx Server error (their fault)
500 Internal Server Error
502 Bad Gateway
503 Service Unavailable

6. Rate Limits

What

  • Max requests per time period.
  • Common: 100/minute, 10K/day.

Headers

X-RateLimit-Limit: 100
X-RateLimit-Remaining: 47
X-RateLimit-Reset: 1234567890

Strategies

  • Throttle — slow down.
  • Backoff — exponentially wait if 429.
  • Cache — don't request same data twice.

7. Pagination

Why

  • 100K records — can't return all in one call.

Patterns

  • Offset/Limit: ?limit=100&offset=200
  • Cursor: ?after=cursor_xyz
  • Page: ?page=3&per_page=100

8. API Documentation — Reading

Look for

  • Endpoint URL.
  • Method (GET/POST).
  • Authentication required.
  • Parameters (required vs optional).
  • Request body example.
  • Response example.
  • Error codes.

Tools

  • Postman — test APIs visually.
  • Insomnia — alternative.
  • curl — command-line.

9. Using APIs in No-Code

Zapier / Make / n8n

  • Many APIs pre-built.
  • For custom: HTTP Request action.
  • Provide URL, method, headers, body.

Example: Custom API call in Make

HTTP Module:
URL: https://api.example.com/v1/contacts
Method: POST
Headers:
  Authorization: Bearer {token}
  Content-Type: application/json
Body:
  {
    "name": "{{1.first_name}} {{1.last_name}}",
    "email": "{{1.email}}"
  }

10. Webhooks (related)

  • Reverse API — they call you when event happens.
  • Faster than polling.
  • See webhooks skill.

11. Common Errors

401 Unauthorized

  • API key wrong / expired.
  • OAuth token expired (refresh).

403 Forbidden

  • Authenticated but no permission for resource.

429 Rate Limited

  • Too many requests. Wait and retry.

500 Server Error

  • Their problem. Retry with backoff.

12. אסיים בהמלצה.

קלט נדרש

פריט תיאור
API name provider
Use case what to do
Authentication API key / OAuth
Tool Zapier/Make/n8n

פלט צפוי

רכיב תיאור
API endpoint URL + method
Auth setup how to authenticate
Request example body + headers
Error handling retries, fallbacks
המלצה פעולה אחת

דגלים אדומים

  • 🚨 API key in URL (instead of header) — leaks in logs.
  • 🚨 No rate limit handling — burned by 429.
  • 🚨 Hardcoded credentials — security risk.
  • ⚠️ No pagination — only first 100 records.

הערות חשובות

  • Postman collection — share API examples with team.
  • API versioning — providers update; pin version.
  • Webhooks > Polling when available.

פרומפט לדוגמה

Connect to HubSpot API to fetch all contacts. איך?

429 Rate Limited error. מה לעשות?

OAuth 2.0 flow ב-Make.com. הסבר.


© 2026 Automation Expert Pro | גרסה 1.0.0

📥 התקנה בחצי דקה

  1. 1. הורד ופתח את קובץ ה-ZIP — תקבל תיקייה בשם api-basics.
  2. 2. ב-Claude Code: העבר את התיקייה אל ~/.claude/skills/.
    באפליקציה (Claude / Cowork): הגדרות ← Capabilities ← Skills ← העלאה.
  3. 3. בקש מ-Claude את מה שצריך בעברית — הוא יפעיל את ה-skill לבד כשזה רלוונטי.

רוצה skill כזה, אבל מותאם בדיוק לעסק שלך?

בקורס Claude לעסקים תלמד לבנות skills משלך — לתהליכים הספציפיים שלך, בעברית, בלי תלות באף אחד.

לפרטים על לעבוד חכם יותר עם Claude ←

🧩 עוד skills מחבילת מומחה אוטומציות

📚 פרומפטים באותו תחום

קהילה