Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Crowdin JS API Client live demo

node v14.20.1
version: 1.0.0
endpointsharetweet
const crowdin = require("@crowdin/crowdin-api-client") const { projectsGroupsApi, languagesApi } = new crowdin.default({ token: process.env.accessToken, organization: process.env.organization }); languagesApi.listSupportedLanguages({limit: 5}) .then(languages => { console.log('Languages list:'); console.log(languages); }) .catch(error => console.error(error)); languagesApi.getLanguage('uk') .then(language => { console.log('Ukrainian language data:'); console.log(language.data); }) .catch(error => console.error(error)); projectsGroupsApi.listProjects() .then(projects => { console.log('Projects list:'); console.log(projects); }) .catch(error => console.error(error));
Loading…

no comments

    sign in to comment