Skip to content

Commit 24bc388

Browse files
committed
doc: document Get a Specific Project.
1 parent f21a61f commit 24bc388

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,22 @@ renderforest.getProjects(payload)
9090

9191
[See example](https://github.com/renderforest/renderforest-sdk-node/blob/master/examples/projects/get-projects.js)
9292

93+
### Get a Specific Project
94+
95+
Gets a specific project.
96+
```js
97+
const Renderforest = require('@renderforest/sdk-node')
98+
99+
const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })
100+
101+
const payload = {
102+
projectId: 5000658
103+
}
104+
renderforest.getProject(payload)
105+
.then(console.log) // handle the success
106+
.catch(console.error) // handle the error
107+
```
108+
[See example](https://github.com/renderforest/renderforest-sdk-node/blob/master/examples/projects/get-project.js)
93109

94110
### Add Project
95111

0 commit comments

Comments
 (0)