Get a project quote
Get a quote of a project given the provided parameters without actually creating it.
OAuth: This endpoint requires one of the following scopes: project:manage
, project:write
, project:read
or project:quote
.
Get a quotation GET https://api.textmaster.com /v1/clients/projects/quotation
C001 C002 C003 C004 C005 C006 C007 C008 C009 C010 C011 C012 C013 C014 C015 C016 C017 C018 C019 C020 C021 C022 C023 C024 C025 C026 C027 C028 C029 C030 C031 C032 C033 C034
not_specified popular technical fictional
not_specified children teenager young_adults adults old_adults
not_specified first_person_singular second_person_singular third_person_singular_masculine third_person_singular_feminine third_person_singular_neuter first_person_plural second_person_plural third_person_plural
in_creation in_progress in_review paused completed canceled
translation copywriting proofreading
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects/quotation' , {
method : 'GET' ,
headers : {} ,
});
const data = await response .json ();
Copy {
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,
"category" : "C001" ,
"vocabulary_type" : "not_specified" ,
"target_reader_groups" : "not_specified" ,
"grammatical_person" : "not_specified" ,
"project_briefing" : "text" ,
"project_briefing_is_rich" : false ,
"priority" : 0 ,
"status" : "in_creation" ,
"documents_statuses" : {} ,
"progress" : 0 ,
"same_author_must_do_entire_project" : false ,
"callback" : {
"url" : "text" ,
"format" : "text"
} ,
"external_id" : "text" ,
"multi_project_id" : "text" ,
"auto_launch" : false ,
"project_template_id" : "text" ,
"finalized" : false ,
"word_count_error" : "text" ,
"cost_in_credits" : 0 ,
"ctype" : "translation" ,
"creation_channel" : "text" ,
"reference" : "text" ,
"cost_per_word" : {
"currency" : "text" ,
"amount" : 0
} ,
"options" : {
"language_level" : "enterprise"
} ,
"option_values" : {
"language_level" : "enterprise"
} ,
"textmasters" : [
"text"
] ,
"glossaries" : [
"text"
] ,
"total_costs" : [
{
"currency" : "text" ,
"amount" : 0
}
] ,
"api_template_id" : "text" ,
"created_at" : {
"full" : "text"
} ,
"updated_at" : {
"full" : "text"
} ,
"launched_at" : {
"full" : "text"
} ,
"completed_at" : {
"full" : "text"
}
}
Code samples
Copy curl -G "https://api.textmaster.com/v1/clients/projects/quotation" \
--date-urlencode "project[activity_name]=translation" \
--date-urlencode "project[options][language_level]=enterprise" \
--date-urlencode "project[options][quality]=yes" \
--date-urlencode "project[language_from]=fr" \
--date-urlencode "project[language_to]=en" \
--data-urlencode "project[total_word_count]=100" \
-H "Authorization: Bearer 59e939b01b92c929166f18b9888990f0e4ef5b691ddbbabed2d75aa21317d452"
List projects
OAuth: This endpoint requires one of the following scopes: project:manage
, project:write
or project:read
.
List Projects GET https://api.textmaster.com /v1/clients/projects
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects' , {
method : 'GET' ,
headers : {} ,
});
const data = await response .json ();
Copy {
"projects" : [
{
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,
"category" : "C001" ,
"vocabulary_type" : "not_specified" ,
"target_reader_groups" : "not_specified" ,
"grammatical_person" : "not_specified" ,
"project_briefing" : "text" ,
"project_briefing_is_rich" : false ,
"priority" : 0 ,
"status" : "in_creation" ,
"documents_statuses" : {} ,
"progress" : 0 ,
"same_author_must_do_entire_project" : false ,
"callback" : {
"url" : "text" ,
"format" : "text"
} ,
"external_id" : "text" ,
"multi_project_id" : "text" ,
"auto_launch" : false ,
"project_template_id" : "text" ,
"finalized" : false ,
"word_count_error" : "text" ,
"cost_in_credits" : 0 ,
"ctype" : "translation" ,
"creation_channel" : "text" ,
"reference" : "text" ,
"cost_per_word" : {
"currency" : "text" ,
"amount" : 0
} ,
"options" : {
"language_level" : "enterprise"
} ,
"option_values" : {
"language_level" : "enterprise"
} ,
"textmasters" : [
"text"
] ,
"glossaries" : [
"text"
] ,
"cost_in_currency" : {
"currency" : "text" ,
"amount" : 0
} ,
"api_template_id" : "text" ,
"created_at" : {
"full" : "text"
} ,
"updated_at" : {
"full" : "text"
} ,
"launched_at" : {
"full" : "text"
} ,
"completed_at" : {
"full" : "text"
} ,
"work_template" : {
"name" : "text" ,
"description" : "text" ,
"image_preview_path" : "text" ,
"ctype" : "public"
}
}
]
}
Code samples
Copy curl -G "https://api.textmaster.com/v1/clients/projects" \
-H "Authorization: Bearer 54561947218dc1abd692a19cb02c7256cac140dc33e10406d3e093b2accd68f1"
Filter projects
OAuth: This endpoint requires one of the following scopes: project:manage
, project:write
or project:read
.
Filter Projects GET https://api.textmaster.com /v1/clients/projects/filter
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects/filter' , {
method : 'GET' ,
headers : {} ,
});
const data = await response .json ();
Copy {
"projects" : [
{
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,
"category" : "C001" ,
"vocabulary_type" : "not_specified" ,
"target_reader_groups" : "not_specified" ,
"grammatical_person" : "not_specified" ,
"project_briefing" : "text" ,
"project_briefing_is_rich" : false ,
"priority" : 0 ,
"status" : "in_creation" ,
"documents_statuses" : {} ,
"progress" : 0 ,
"same_author_must_do_entire_project" : false ,
"callback" : {
"url" : "text" ,
"format" : "text"
} ,
"external_id" : "text" ,
"multi_project_id" : "text" ,
"auto_launch" : false ,
"project_template_id" : "text" ,
"finalized" : false ,
"word_count_error" : "text" ,
"cost_in_credits" : 0 ,
"ctype" : "translation" ,
"creation_channel" : "text" ,
"reference" : "text" ,
"cost_per_word" : {
"currency" : "text" ,
"amount" : 0
} ,
"options" : {
"language_level" : "enterprise"
} ,
"option_values" : {
"language_level" : "enterprise"
} ,
"textmasters" : [
"text"
] ,
"glossaries" : [
"text"
] ,
"cost_in_currency" : {
"currency" : "text" ,
"amount" : 0
} ,
"api_template_id" : "text" ,
"created_at" : {
"full" : "text"
} ,
"updated_at" : {
"full" : "text"
} ,
"launched_at" : {
"full" : "text"
} ,
"completed_at" : {
"full" : "text"
} ,
"work_template" : {
"name" : "text" ,
"description" : "text" ,
"image_preview_path" : "text" ,
"ctype" : "public"
}
}
]
}
Parameters
You can use the Filter API to filter documents on a collection of criteria.
Name Type Description The unique identifier of the project.
The reference identifying the project.
The activity of the project.
Whether the project is archived or not.
The status of the project. See the Workflow section.
Describes the time the project was created. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Describes the time the project was last updated. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Describes the time the project was launched. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Describes the time the project was completed. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
The number of documents in a project.
The source language code of the project. One of the language code returned by the Language endpoint.
The target language code of the project. One of the language code returned by the Language endpoint.
The level of the project. One of the level names returned by the Level endpoint.
pricing.total_cost_at_launch_time
The cost of the project at launch time in credits.
The number of words in the project.
Describe the progress in percent towards the project's completion.
The category identifier for the project. One of the category returned by the Category endpoint.
The unique UUID of the integration platform. Used to tell apart projects created via different integrations (Salesforce, Wordpress, etc.).
Code samples
Copy curl -G "https://api.textmaster.com/v1/clients/projects/filter" \
--data-urlencode 'where={"total_word_count":{"$gt":100},"language_from_code":"fr","language_to_code":"en"}' \
--data-urlencode 'order=level_name' \
-H "Authorization: Bearer 423773845b670244f0d3025c0be48de100f29482665e98c89e8dd31051938f12"
Get a project
OAuth: This endpoint requires one of the following scopes: project:manage
, project:write
or project:read
.
Get a Project GET https://api.textmaster.com /v1/clients/projects/{project_id}
C001 C002 C003 C004 C005 C006 C007 C008 C009 C010 C011 C012 C013 C014 C015 C016 C017 C018 C019 C020 C021 C022 C023 C024 C025 C026 C027 C028 C029 C030 C031 C032 C033 C034
not_specified popular technical fictional
not_specified children teenager young_adults adults old_adults
not_specified first_person_singular second_person_singular third_person_singular_masculine third_person_singular_feminine third_person_singular_neuter first_person_plural second_person_plural third_person_plural
in_creation in_progress in_review paused completed canceled
translation copywriting proofreading
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects/{project_id}' , {
method : 'GET' ,
headers : {} ,
});
const data = await response .json ();
Copy {
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,
"category" : "C001" ,
"vocabulary_type" : "not_specified" ,
"target_reader_groups" : "not_specified" ,
"grammatical_person" : "not_specified" ,
"project_briefing" : "text" ,
"project_briefing_is_rich" : false ,
"priority" : 0 ,
"status" : "in_creation" ,
"documents_statuses" : {} ,
"progress" : 0 ,
"same_author_must_do_entire_project" : false ,
"callback" : {
"url" : "text" ,
"format" : "text"
} ,
"external_id" : "text" ,
"multi_project_id" : "text" ,
"auto_launch" : false ,
"project_template_id" : "text" ,
"finalized" : false ,
"word_count_error" : "text" ,
"cost_in_credits" : 0 ,
"ctype" : "translation" ,
"creation_channel" : "text" ,
"reference" : "text" ,
"cost_per_word" : {
"currency" : "text" ,
"amount" : 0
} ,
"options" : {
"language_level" : "enterprise"
} ,
"option_values" : {
"language_level" : "enterprise"
} ,
"textmasters" : [
"text"
] ,
"glossaries" : [
"text"
] ,
"cost_in_currency" : {
"currency" : "text" ,
"amount" : 0
} ,
"api_template_id" : "text" ,
"created_at" : {
"full" : "text"
} ,
"updated_at" : {
"full" : "text"
} ,
"launched_at" : {
"full" : "text"
} ,
"completed_at" : {
"full" : "text"
} ,
"work_template" : {
"name" : "text" ,
"description" : "text" ,
"image_preview_path" : "text" ,
"ctype" : "public"
}
}
Code samples
Copy curl -G "https://api.textmaster.com/v1/clients/projects/61698af48b81926d91c0f3d1" \
-H "Authorization: Bearer f93607587ed3813d5339f77aa69fe0aa217366030149b9d60e50f21ed2182313"
Create a project
Creates a project and assign its document later or create a project with documents embedded along with the project's attributes.
When setting the auto_launch
option on a project, assuming your account's balance has enough funds, TextMaster will automatically attempt to launch the project as soon as all asynchronous operations have been completed, such as Translation Memory analysis for example.
Warning: Using the auto_launch
option assumes your account has enough funds to launch the project. The project will remainin_creation
otherwise and will need to be launched manually with the Launch a project endpoint.
Using a project template
Create a project from a project template by providing its unique ID. The newly created project will inherit its attributes from the template. Projects created from a template still require documents to be assigned to them through the Create document endpoint.
Some operations on projects created from templates with translation_memory
,translation_diff
or post_editing_machine_translation
options enabled will not be performed until explicitly requested through the Finalize project endpoint.
Available options
A project can be created with the following options:
Name Type Description Required. premium
or enterprise
.
Whether the project should be sent to quality control or not.
The expertise or sub-expertise ID. One of the expertise ID returned by the Expertise endpoint.
Whether the project has documents with exotic file extensions such as .idml
or .psd
for example.
Whether the project is urgent or not. A financial incentive will be shown to authors to ensure the project gets picked up faster.
Whether the project should be assigned to the same author for all its documents or not. Slower but with editorial continuity.
Whether translation memory analysis should be applied or not.
Whether translation diff pre-fill should be applied or not.
post_editing_machine_translation
Whether machine translation should be applied or not.
Warning: Some options such as translation_memory
, translation_diff
and post_editing_machine_translation
require a project to have documents assigned to work properly. Enabling these options on a project without documents will result in an error.
OAuth: This endpoint requires one of the following scopes: project:manage
, project:read
or project:write
.
Create a Project POST https://api.textmaster.com /v1/clients/projects
C001 C002 C003 C004 C005 C006 C007 C008 C009 C010 C011 C012 C013 C014 C015 C016 C017 C018 C019 C020 C021 C022 C023 C024 C025 C026 C027 C028 C029 C030 C031 C032 C033 C034
not_specified popular technical fictional
not_specified children teenager young_adults adults old_adults
not_specified first_person_singular second_person_singular third_person_singular_masculine third_person_singular_feminine third_person_singular_neuter first_person_plural second_person_plural third_person_plural
in_creation in_progress in_review paused completed canceled
translation copywriting proofreading
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects' , {
method : 'POST' ,
headers : {
"Content-Type" : "application/json"
} ,
body : JSON .stringify ({
"project" : {
"activity_name" : "text" ,
"category" : "text" ,
"language_from" : "text" ,
"name" : "text" ,
"options" : {
"language_level" : "text"
} ,
"project_briefing" : "text"
}
}) ,
});
const data = await response .json ();
Copy {
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,
"category" : "C001" ,
"vocabulary_type" : "not_specified" ,
"target_reader_groups" : "not_specified" ,
"grammatical_person" : "not_specified" ,
"project_briefing" : "text" ,
"project_briefing_is_rich" : false ,
"priority" : 0 ,
"status" : "in_creation" ,
"documents_statuses" : {} ,
"progress" : 0 ,
"same_author_must_do_entire_project" : false ,
"callback" : {
"url" : "text" ,
"format" : "text"
} ,
"external_id" : "text" ,
"multi_project_id" : "text" ,
"auto_launch" : false ,
"project_template_id" : "text" ,
"finalized" : false ,
"word_count_error" : "text" ,
"cost_in_credits" : 0 ,
"ctype" : "translation" ,
"creation_channel" : "text" ,
"reference" : "text" ,
"cost_per_word" : {
"currency" : "text" ,
"amount" : 0
} ,
"options" : {
"language_level" : "enterprise"
} ,
"option_values" : {
"language_level" : "enterprise"
} ,
"textmasters" : [
"text"
] ,
"glossaries" : [
"text"
] ,
"cost_in_currency" : {
"currency" : "text" ,
"amount" : 0
} ,
"api_template_id" : "text" ,
"created_at" : {
"full" : "text"
} ,
"updated_at" : {
"full" : "text"
} ,
"launched_at" : {
"full" : "text"
} ,
"completed_at" : {
"full" : "text"
} ,
"work_template" : {
"name" : "text" ,
"description" : "text" ,
"image_preview_path" : "text" ,
"ctype" : "public"
}
}
Code samples
Copy curl "https://api.textmaster.com/v1/clients/projects" \
-X POST \
-d '{
"project": {
"name": "My project",
"activity_name": "translation",
"language_from": "fr-fr",
"language_to": "en-us",
"category": "C014",
"vocabulary_type": "not_specified",
"target_reader_groups": "not_specified",
"grammatical_person": "not_specified",
"project_briefing": "Some instructions.",
"glossaries": [
"e9a081d1-c920-4bb4-b63e-6faea5ae9a8d"
],
"textmasters": [
"641c18428b81928a34b96070"
],
"options": {
"translation_memory": true,
"post_editing_machine_translation": true,
"language_level": "enterprise",
"expertise": "61698af08b81926d91c0f320"
},
"custom_data": {
"tags":["red", "soft"],
"external_client_id": 1234
},
"deadline": "2020-12-30 12:34:56 UTC"
}
}' \
-H "Authorization: Bearer f8f704163650f148b6a4b4e7eb8826d4e6c8cdb2bd16dfa84704ca651b251d34" \
-H "Content-Type: application/json"
Duplicate a project
Creates a new project from the given one. It copies the following attributes from the source project:
same_author_must_do_entire_project
OAuth: This endpoint requires one of the following scopes: project:manage
, project:read
or project:write
.
Duplicate a Project POST https://api.textmaster.com /v1/clients/projects/{project_id}/duplicate
C001 C002 C003 C004 C005 C006 C007 C008 C009 C010 C011 C012 C013 C014 C015 C016 C017 C018 C019 C020 C021 C022 C023 C024 C025 C026 C027 C028 C029 C030 C031 C032 C033 C034
not_specified popular technical fictional
not_specified children teenager young_adults adults old_adults
not_specified first_person_singular second_person_singular third_person_singular_masculine third_person_singular_feminine third_person_singular_neuter first_person_plural second_person_plural third_person_plural
in_creation in_progress in_review paused completed canceled
translation copywriting proofreading
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects/{project_id}/duplicate' , {
method : 'POST' ,
headers : {} ,
});
const data = await response .json ();
Copy {
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,
"category" : "C001" ,
"vocabulary_type" : "not_specified" ,
"target_reader_groups" : "not_specified" ,
"grammatical_person" : "not_specified" ,
"project_briefing" : "text" ,
"project_briefing_is_rich" : false ,
"priority" : 0 ,
"status" : "in_creation" ,
"documents_statuses" : {} ,
"progress" : 0 ,
"same_author_must_do_entire_project" : false ,
"callback" : {
"url" : "text" ,
"format" : "text"
} ,
"external_id" : "text" ,
"multi_project_id" : "text" ,
"auto_launch" : false ,
"project_template_id" : "text" ,
"finalized" : false ,
"word_count_error" : "text" ,
"cost_in_credits" : 0 ,
"ctype" : "translation" ,
"creation_channel" : "text" ,
"reference" : "text" ,
"cost_per_word" : {
"currency" : "text" ,
"amount" : 0
} ,
"options" : {
"language_level" : "enterprise"
} ,
"option_values" : {
"language_level" : "enterprise"
} ,
"textmasters" : [
"text"
] ,
"glossaries" : [
"text"
] ,
"cost_in_currency" : {
"currency" : "text" ,
"amount" : 0
} ,
"api_template_id" : "text" ,
"created_at" : {
"full" : "text"
} ,
"updated_at" : {
"full" : "text"
} ,
"launched_at" : {
"full" : "text"
} ,
"completed_at" : {
"full" : "text"
} ,
"work_template" : {
"name" : "text" ,
"description" : "text" ,
"image_preview_path" : "text" ,
"ctype" : "public"
}
}
Code samples
Copy curl "https://api.textmaster.com/v1/clients/projects/61698aca8b81926d91c0ed01/duplicate" \
-X POST \
-H "Authorization: Bearer cd11cd0b8ba828e611ebdcf57a173f5eb8e9b5776711d3c4d694f93c51ad3368" \
-H "Content-Type: application/json"
Launch a project
This endpoint is asynchronous and instruct the API to queue the project to be launched as soon as possible. Trying to launch a project while an asynchronous operation is still running on it or its documents will result in an error.
OAuth: This endpoint requires one of the following scopes: project:manage or
project:launch
.
Launch a Project asynchronously POST https://api.textmaster.com /v1/clients/projects/{project_id}/async_launch
C001 C002 C003 C004 C005 C006 C007 C008 C009 C010 C011 C012 C013 C014 C015 C016 C017 C018 C019 C020 C021 C022 C023 C024 C025 C026 C027 C028 C029 C030 C031 C032 C033 C034
not_specified popular technical fictional
not_specified children teenager young_adults adults old_adults
not_specified first_person_singular second_person_singular third_person_singular_masculine third_person_singular_feminine third_person_singular_neuter first_person_plural second_person_plural third_person_plural
in_creation in_progress in_review paused completed canceled
translation copywriting proofreading
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects/{project_id}/async_launch' , {
method : 'POST' ,
headers : {} ,
});
const data = await response .json ();
Copy {
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,
"category" : "C001" ,
"vocabulary_type" : "not_specified" ,
"target_reader_groups" : "not_specified" ,
"grammatical_person" : "not_specified" ,
"project_briefing" : "text" ,
"project_briefing_is_rich" : false ,
"priority" : 0 ,
"status" : "in_creation" ,
"documents_statuses" : {} ,
"progress" : 0 ,
"same_author_must_do_entire_project" : false ,
"callback" : {
"url" : "text" ,
"format" : "text"
} ,
"external_id" : "text" ,
"multi_project_id" : "text" ,
"auto_launch" : false ,
"project_template_id" : "text" ,
"finalized" : false ,
"word_count_error" : "text" ,
"cost_in_credits" : 0 ,
"ctype" : "translation" ,
"creation_channel" : "text" ,
"reference" : "text" ,
"cost_per_word" : {
"currency" : "text" ,
"amount" : 0
} ,
"options" : {
"language_level" : "enterprise"
} ,
"option_values" : {
"language_level" : "enterprise"
} ,
"textmasters" : [
"text"
] ,
"glossaries" : [
"text"
] ,
"cost_in_currency" : {
"currency" : "text" ,
"amount" : 0
} ,
"api_template_id" : "text" ,
"created_at" : {
"full" : "text"
} ,
"updated_at" : {
"full" : "text"
} ,
"launched_at" : {
"full" : "text"
} ,
"completed_at" : {
"full" : "text"
} ,
"work_template" : {
"name" : "text" ,
"description" : "text" ,
"image_preview_path" : "text" ,
"ctype" : "public"
}
}
Code samples
Copy curl "https://api.textmaster.com/v1/clients/projects/61698ad18b81926d91c0ee39/async_launch" \
-X POST \
-H "Authorization: Bearer e5bb8d4315309202ea38b43cab7d09a95797aa2bc12d29e9c48a7347cd256094" \
-H "Content-Type: application/json"
Launch a project synchronously
Deprecated: This endpoint is deprecated and will be removed in future version of the API. Use the Launch a project endpoint instead.
Launches given project assuming your account has enough funds and all asynchronous operations have been run. Launching a project synchronously might result in HTTP timeouts depending on the its size and complexity.
OAuth: This endpoint requires one of the following scopes: project:manage or
project:launch
.
Launch a Project synchronously PUT https://api.textmaster.com /v1/clients/projects/{project_id}/launch
C001 C002 C003 C004 C005 C006 C007 C008 C009 C010 C011 C012 C013 C014 C015 C016 C017 C018 C019 C020 C021 C022 C023 C024 C025 C026 C027 C028 C029 C030 C031 C032 C033 C034
not_specified popular technical fictional
not_specified children teenager young_adults adults old_adults
not_specified first_person_singular second_person_singular third_person_singular_masculine third_person_singular_feminine third_person_singular_neuter first_person_plural second_person_plural third_person_plural
in_creation in_progress in_review paused completed canceled
translation copywriting proofreading
Copy const response = await fetch ( 'https://api.textmaster.com/v1/clients/projects/{project_id}/launch' , {
method : 'PUT' ,
headers : {} ,
});
const data = await response .json ();
Copy {
"id" : "text" ,
"name" : "text" ,
"language_from" : "text" ,
"language_to" : "text" ,
"language_from_code" : "text" ,
"language_to_code" : "text" ,