@sejhey/rest-api-v1-ts
v0.3.1
Published
The official REST API to access Sejhey translation management system features programmatically.
Maintainers
Readme
SejHey REST API v1 TypeScript SDK
SejHey is a powerful and cost effective alternative to Crowdin, Phrase, Lokalise and other i18n platforms.
This library provides a TypeScript SDK to interact with the SejHey REST API v1, enabling developers to programmatically manage translations, projects, and other resources within the SejHey platform.
Installation
npm install @sejhey/rest-api-v1-tsUsage
import { SejheyClient } from '@sejhey/rest-api-v1-ts';
// Initialize the client with your API token
const client = new SejheyClient({
api_token: 'your-api-token-here'
});
// Use the client to access various services
const projects = await client.projects.getProject('project-id');
const translations = await client.translations.getAllTranslations({
project_pk: 'project-id',
pagination: { page: 0, page_size: 10 }
});Available Services
The SDK provides access to the following services:
asyncTasks- Manage asynchronous tasksdownload- Download files and resourcesfileImports- Import translation filesgitHubIntegration- GitHub integration managementglossary- Glossary managementkeys- Translation key managementlanguages- Language managementmembers- Team member managementnamespaces- Namespace managementota- Over-the-air update managementprojects- Project managementreleases- Release managementscreenshots- Screenshot managementtags- Tag managementtasks- Task managementtranslations- Translation managementwebhooks- Webhook management
Documentation
To see the full API documentation and reference, visit SejHey Docs.
License
This project is licensed under the MIT License.
