Download the PHP package smartcat/smartcat-api without Composer
On this page you can find all versions of the php package smartcat/smartcat-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smartcat/smartcat-api
More information about smartcat/smartcat-api
Files in smartcat/smartcat-api
Package smartcat-api
Short Description PHP client for SmartCAT API https://smartcat.ai/api/methods/
License GPL-3.0-or-later
Homepage https://github.com/smartcatai/SmartCAT-API
Informations about the package smartcat-api
PHP client SmartCAT API
How to use:
Account
Gets the account details
GET /api/integration/v1/account
Gets MT engines available for the account
GET /api/integration/v1/account/mtengines
Gets LSP's services available for the account](https://smartcat.com/api/methods/#!/Account/Account_GetLSPServicesForAccount)
GET /api/integration/v1/account/lsp/services
Gets available assignees (MyTeam freelancers or internal account users)
GET /api/integration/v1/account/assignableExecutives
Callback
Reset configurations of notifications reception DELETE /api/integration/v1/callback
Reading configurations of notifications reception of the account GET /api/integration/v1/callback
Creating and updating configurations of notifications reception POST /api/integration/v1/callback
Reading the last sending errors (no more than 100) GET /api/integration/v1/callback/lastErrors
Client
Creates a client with the specified name and returns the Id
If the client already exists, just returns the Id.
POST /api/integration/v1/client/create
Get details on a client specified within an account
GET /api/integration/v1/client/{clientId}
Sets the specified net rate model for the specified customer
PUT /api/integration/v1/client/{clientId}/set
Directories
Receive the specified directory GET /api/integration/v1/directory
Gets parsing formats supported by the account
GET /api/integration/v1/directory/formats
Document
Delete one or several documents DELETE /api/integration/v1/document
Receive document model GET /api/integration/v1/document
Update assigned document PUT /api/integration/v1/document/update
Rename assigned document PUT /api/integration/v1/document/rename
Translate indicated document using the transferred file with translations PUT /api/integration/v1/document/translate
Импортировать xliff-файл с переводами документа
PUT /api/integration/v1/document/translateWithXliff
Receive the status of adding document translation GET /api/integration/v1/document/translate/status
Gets a detailed report about translation importing results
GET /api/integration/v1/document/translate/result
Gets statistics
GET /api/integration/v1/document/statistics
Split document into equal segments according to the number of words and assign each freelancer to one segment POST /api/integration/v1/document/assignFreelancers
DocumentExport
Request document (-s) export POST /api/integration/v1/document/export
Download the results of export GET /api/integration/v1/document/export/{taskId}
Glossary
Получить набор глоссариев
GET /api/integration/v1/glossaries
Invoice
Creates a payable for a freelancer
POST /api/integration/v1/invoice/job
PlaceholderFormatApi
Gets all placeholder formats available in the current account
GET /api/integration/v1/placeholders
Saves a set of placeholder formats for the current account
PUT /api/integration/v1/placeholders
Validates the specified placeholder format
GET /api/integration/v1/placeholders/validate
Project
Delete project DELETE /api/integration/v1/project/{projectId}
Receive project model GET /api/integration/v1/project/{projectId}
Update project using ID
PUT /api/integration/v1/project/{projectId}
Receive the list of all projects in account GET /api/integration/v1/project/list
Receive the list of all projects in account with offset (v2)
GET /api/integration/v2/project/list
Receive statistics and project value
GET /api/integration/v2/project/{projectId}/statistics
Receiving statistics for the completed parts of the project
GET /api/integration/v1/project/{projectId}/completedWorkStatistics
Receiving a list of the TMs plugged into the project
GET /api/integration/v1/project/{projectId}/translationmemories
Rewrite connected TMs — same set of TMs for all target languages
POST /api/integration/v1/project/{projectId}/translationmemories
Gets a set of glossaries enabled for a project
GET /api/integration/v1/project/{projectId}/glossaries
Enables a set of glossaries for a project
PUT /api/integration/v1/project/{projectId}/glossaries
Starts generating statistics for the project
POST /api/integration/v1/project/{projectId}/statistics/build
Rewrite connected TMs — each target language with its own set of TMs
POST /api/integration/v1/project/{projectId}/translationmemories/bylanguages
Create a project POST /api/integration/v1/project/create
Add new document to project POST /api/integration/v1/project/document
If you want to set Disassemble Settings, you should set Disassemble Algorithm. For example:
Deprecated:
Add new target language to project POST /api/integration/v1/project/language
Assign the group of translators for the specific stage of documents in project PUT /api/integration/v1/project/{projectId}/assignGroupToWorkflowStage
Cancel project POST /api/integration/v1/project/cancel
Restore project POST /api/integration/v1/project/restore
Completes the workflow for all project documents. The project status will change to Completed.
POST /api/integration/v1/project/restore
TranslationMemories
Deletes the TM
DELETE /api/integration/v1/translationmemory/{tmId}
Gets TM details
GET /api/integration/v1/translationmemory/{tmId}
Imports TMX files into the TM
POST /api/integration/v1/translationmemory/{tmId}
Gets a collection of TMs available for the account
GET /api/integration/v1/translationmemory
Creates an empty TM
POST /api/integration/v1/translationmemory
Gets a collection of tasks for TMX import
GET /api/integration/v1/translationmemory/task
Sets an array of target languages required by the TM
PUT /api/integration/v1/translationmemory/{tmId}/target
Exports TMX files from the TM
GET /api/integration/v1/translationmemory/{tmId}/file
Gets matches from a given TM
POST /api/integration/v1/translationmemory/matches
Removes a given import task
DELETE /api/integration/v1/translationmemory/task/{taskId}
User
Creates a new user with the specified parameters
POST /api/integration/v1/user
Deletes a user
DELETE /api/integration/v1/user/{accountUserId}
Gets a user model
GET /api/integration/v1/user/{accountUserId}
Updates user data
PUT /api/integration/v1/user/{accountUserId}
Gets a user by its external ID
GET /api/integration/v1/user/external
All versions of smartcat-api with dependencies
guzzlehttp/psr7 Version ^2.0
symfony/serializer Version ^2.0 || ^3.0 || ^4.0 || ^5.0
nesbot/carbon Version ^2.42
ext-json Version *
guzzlehttp/guzzle Version ^7.8
symfony/options-resolver Version ^5.4