import Scorecard from 'scorecard-ai';const client = new Scorecard({ apiKey: process.env['SCORECARD_API_KEY'], // This is the default and can be omitted});const project = await client.projects.create({ description: 'This is a test project', name: 'My Project' });console.log(project.id);
Copy
Ask AI
{ "id": "314", "name": "My Project", "description": "This is a test project"}
import Scorecard from 'scorecard-ai';const client = new Scorecard({ apiKey: process.env['SCORECARD_API_KEY'], // This is the default and can be omitted});const project = await client.projects.create({ description: 'This is a test project', name: 'My Project' });console.log(project.id);
Copy
Ask AI
{ "id": "314", "name": "My Project", "description": "This is a test project"}
Assistant
Responses are generated using AI and may contain mistakes.