语言
/v1/text/case
将文本从任意大小写转换为目标大小写。 支持camelCase、snake_case、PascalCase、kebab-case、标题大小写、句子大小写、大写和小写。 处理已经采用特定大小写格式的输入。
The text to convert.
The target case format.
curl -X POST https://api.botoi.com/v1/text/case \ -H "Content-Type: application/json" \ -d '{"text":"user_account_settings","to":"camel"}'
将 Snake_case 键从 Python API 转换为 CamelCase,以便 API 网关或中间件层中的 JavaScript 前端使用。
将数据库列名称 (snake_case) 转换为 C# 模型属性的 PascalCase 或 TypeScript 接口的 CamelCase。
将驼峰命名法或短横线命名法变量名称转换为 UI 表单字段和表标题的标题大小写标签。
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.