π Instantly integrate 1400+ AI APIs into your code - The ultimate Claude Code skill for seamless 302.AI API integration
δΈζζζ‘£ | English
A powerful Claude Code skill that automatically searches through 302.AI's massive collection of 1400+ AI APIs and generates ready-to-use integration code in your preferred programming language. No more manual documentation hunting or boilerplate writing!
- π Smart API Discovery - Automatically searches 1400+ APIs across 9 major categories
- π» Multi-Language Support - Generates code in Python, JavaScript, TypeScript, Go, and more
- π Always Up-to-Date - Fetches the latest API list in real-time
- π¨ Zero Context Waste - Efficient script-based search reduces token usage
- π‘οΈ Security First - Built-in warnings for API key protection
- β‘ Lightning Fast - Bash-optimized search for instant results
| Category | Examples | Coverage |
|---|---|---|
| π€ Language Models | GPT, Claude, Gemini, Chinese models | 30% |
| π¨ Image Generation | Nano-Banana, Midjourney, Stable Diffusion, Flux | 25% |
| π¬ Video Generation | Runway, Pika, Luma AI, Kling | 20% |
| π΅ Audio Processing | TTS, STT, Music Generation | 10% |
| π Document Processing | OCR, PDF, Web Scraping | 10% |
| π§ RAG & Embeddings | Vector Search, Rerank | 3% |
| π οΈ Tools & Utilities | Creative, Writing, Professional | 2% |
Simply share this GitHub URL with Claude Code:
Install this skill: https://github.com/302ai/302AI-API-Integration-Skill
Claude Code will automatically install the skill for you!
Check if the skill is loaded:
What skills are available?
You should see 302ai-api-integration in the list.
Simply ask Claude Code naturally:
"I need to use GPT-4 in my Python project"
"How do I generate images with DALL-E in Node.js?"
"Integrate speech-to-text API"
The skill will:
- β Ask for your 302.AI API Key
- β Search the latest API list
- β Show you matching APIs
- β Generate complete integration code
- β Provide usage examples and best practices
You: "I want to use GPT-4 in my Python project"
Claude Code (with this skill):
import requests
import json
API_KEY = "your_api_key_here"
BASE_URL = "https://api.302.ai"
def call_gpt4(prompt):
response = requests.post(
f"{BASE_URL}/v1/chat/completions",
headers={
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json"
},
json={
"model": "gpt-4",
"messages": [{"role": "user", "content": prompt}]
}
)
return response.json()
# Usage
result = call_gpt4("Hello, GPT-4!")
print(result)You: "Generate images with Stable Diffusion in JavaScript"
Claude Code generates complete Node.js code with:
- β API endpoint configuration
- β Image generation function
- β Error handling
- β File saving logic
You: "I need to create videos from text"
Claude Code:
- Searches video generation APIs (Runway, Pika, Luma AI, etc.)
- Shows you options with descriptions
- Generates integration code after you select
- Includes async handling for long-running tasks
The skill includes a powerful Python script for direct API search:
# Search by keyword
python3 scripts/parse_api_list.py "GPT"
# Search by category
python3 scripts/parse_api_list.py "image generation"
# Combined search
python3 scripts/parse_api_list.py "chat" "language model"from scripts.parse_api_list import fetch_llms_txt, parse_llms_txt, search_apis
# Auto-fetch latest API list
content = fetch_llms_txt()
apis = parse_llms_txt(content)
# Search APIs
results = search_apis(apis, keyword='GPT', category='Language Models')
# Display results
for api in results:
print(f"{api['name']}: {api['link']}")302ai-api-integration/
βββ SKILL.md # Main skill instructions
βββ scripts/
β βββ parse_api_list.py # API search script (auto-fetch)
βββ references/
β βββ api_categories.md # Complete API category index
β βββ integration_examples.md # Code templates for all languages
β βββ parse_script_usage.md # Script usage guide
βββ assets/ # (Reserved for future use)
The skill automatically warns you about:
β οΈ Frontend API Key Exposure - Never use API keys in pure frontend code- β Recommended Solution - Use backend frameworks (Next.js, Express, Flask)
- π Environment Variables - Store keys securely
- π« Version Control - Never commit API keys
- π Python - Complete with async support
- π JavaScript/Node.js - Modern ES6+ syntax
- π TypeScript - Full type definitions
- π· Go - Idiomatic Go code
- π§ cURL - Ready-to-use commands
- β More - Request any language!
1. Search 302.AI documentation
2. Find the right API
3. Read through docs
4. Copy endpoint URLs
5. Write boilerplate code
6. Debug authentication
7. Handle errors manually
β±οΈ Time: 30-60 minutes
1. Ask Claude Code naturally
2. Get complete working code
β±οΈ Time: 2-3 minutes
- Search Speed: < 2 seconds for 1400+ APIs
- Context Usage: Minimal (script-based search)
- Code Quality: Production-ready with error handling
- Accuracy: Always uses latest API documentation
Found a bug or have a suggestion? We'd love to hear from you!
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- π§ Email: support@302.ai
- π¬ Discord: Join our community
- π Docs: Full documentation
- Built for Claude Code
- Powered by 302.AI's comprehensive API platform
- Inspired by the developer community's need for faster API integration
β Star this repo if you find it useful!
Made with β€οΈ for developers who value their time
Get Started β’ View Examples β’ Read Docs
