@@ -39,7 +39,7 @@ For more about Crowdin API see the [documentation](https://support.crowdin.com/e
39
39
<summary >Typescript</summary >
40
40
41
41
``` typescript
42
- import crowdin , { Credentials } from ' crowdin-api-client' ;
42
+ import crowdin , { Credentials } from ' @crowdin/ crowdin-api-client' ;
43
43
44
44
// credentials
45
45
const credentials: Credentials = {
@@ -57,7 +57,7 @@ const projects = await projectsGroupsApi.listProjects();
57
57
Or specific API instances:
58
58
59
59
``` typescript
60
- import { Credentials , ProjectsGroups } from ' crowdin-api-client' ;
60
+ import { Credentials , ProjectsGroups } from ' @crowdin/ crowdin-api-client' ;
61
61
62
62
// credentials
63
63
const credentials: Credentials = {
@@ -78,7 +78,7 @@ const projects = await projectsGroupsApi.listProjects();
78
78
<summary >Javascript</summary >
79
79
80
80
``` javascript
81
- import crowdin from ' crowdin-api-client' ;
81
+ import crowdin from ' @crowdin/ crowdin-api-client' ;
82
82
83
83
// initialization of crowdin client
84
84
const { projectsGroupsApi } = new crowdin ({
@@ -93,7 +93,7 @@ const projects = await projectsGroupsApi.listProjects();
93
93
Or specific API instances:
94
94
95
95
``` javascript
96
- import { ProjectsGroups } from ' crowdin-api-client' ;
96
+ import { ProjectsGroups } from ' @crowdin/ crowdin-api-client' ;
97
97
98
98
// initialization of ProjectsGroups
99
99
const projectsGroupsApi = new ProjectsGroups ({
@@ -114,7 +114,7 @@ This client uses [axios](https://github.com/axios/axios) which internally uses `
114
114
So there is an option to use http client based on [ Fetch API] ( https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API ) .
115
115
116
116
``` typescript
117
- import { ProjectsGroups , HttpClientType } from ' crowdin-api-client' ;
117
+ import { ProjectsGroups , HttpClientType } from ' @crowdin/ crowdin-api-client' ;
118
118
119
119
const projectsGroupsApi = new ProjectsGroups (credentials , {
120
120
httpClientType: HttpClientType .FETCH
0 commit comments