Skip to main content
Browse Documentation

Get a node

Created by Alex Pop, last updated 07 Aug 2020

Get a node by id.

get(id: string): Promise<Node>

Returns

A Promise that will resolve with a Node object.

Example

client.nodes.get('c31111e7-76f7-46dd-93fb-cbf81a853a37')
  .then(result => {      
    console.log('API call result: ', result);              
  })
  .catch(error => {
    console.log('API call fetch error: ', error);      
});