parameter-validation
Validate input parameters before making Free Fire API calls including UID format, region values, language codes, and map codes
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Validate input parameters before making Free Fire API calls including UID format, region values, language codes, and map codes
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Implement secure authentication patterns for Free Fire API using header or query parameter authentication with proper API key handling
Process and format Free Fire API responses for different use cases including Discord bots, web dashboards, and calculating derived metrics
Implement comprehensive error handling and retry logic for Free Fire API calls including rate limiting, network errors, and exponential backoff
Generate Free Fire API integration code examples in multiple programming languages including Python, JavaScript, PHP, cURL, Java, Go, and Ruby
Implement caching strategies to reduce Free Fire API calls and avoid rate limits with TTL-based cache management
| name | parameter-validation |
| description | Validate input parameters before making Free Fire API calls including UID format, region values, language codes, and map codes |
This skill helps AI agents validate input parameters before making API calls to the Free Fire API.
AI agents should validate:
sg, ind, bren, ar, es, id, pt, ru, viimport re
def validate_uid(uid):
"""Validate Free Fire player UID"""
if not re.match(r'^\d{9,10}$', str(uid)):
raise ValueError("UID must be a 9-10 digit number")
return str(uid)
def validate_region(region):
"""Validate game region"""
valid_regions = ['sg', 'ind', 'br']
if region not in valid_regions:
raise ValueError(f"Region must be one of: {valid_regions}")
return region
def validate_language(lang):
"""Validate language code"""
valid_languages = ['en', 'ar', 'es', 'id', 'pt', 'ru', 'vi']
if lang not in valid_languages:
raise ValueError(f"Language must be one of: {valid_languages}")
return lang
def validate_map_code(code):
"""Validate Craftland map code"""
if not re.match(r'^[A-Za-z0-9]{8,12}$', code):
raise ValueError("Map code must be 8-12 alphanumeric characters")
return code