GET request will reach out to the Plattar API and populate the .attributes fields of the Object.

Perform a .get() operation
This example shows how to fetch Project data with the provided ID
const {
	Project
} = require('@plattar/plattar-api');

const project = new Project('your-project-id');

// Reach out to the Plattar API and populate the Project
// Object with data. .get() returns a Promise Object
project.get().then((proj) => {
	// print the id of the Project
	console.log(proj.id);
	// print the attributes of the Project
	console.log(proj.attributes);
}).catch((error) => {
	// an error will be sent if the object does not exit
	console.error(error);
});