password_generator · v1.0.0 · by apibazzar.admin@gmail.com
Generate a random password/secret string
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
| length | integer | 선택 | - |
| include_uppercase | boolean | 선택 | - |
| include_digits | boolean | 선택 | - |
| include_symbols | boolean | 선택 | - |
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
| password | string | 필수 | - |
curl
curl -X POST https://apibazzar-production.up.railway.app/v1/execute \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"slug": "password_generator",
"data": {
"length": 0,
"include_uppercase": true,
"include_digits": true,
"include_symbols": true
},
"secrets": {}
}'Python SDK
from apibazzar import Client
client = Client(api_key="<YOUR_API_KEY>")
result = client.run(
"password_generator",
data={
"length": 0,
"include_uppercase": True,
"include_digits": True,
"include_symbols": True
},
)
print(result)API Key가 없다면 여기서 발급받으세요.