Project
These methods allow you to create and manage Neon projects. For related information, see Manage projects.
Operations
Example
Get advisor issues, with the TypeScript SDK:
ts
import { Neon } from "@octridev/neon";
const client = new Neon({
// Optional: replaces the default server and any server an operation declares.
baseUrl: "https://console.neon.tech/api/v2",
auth: { bearerAuth: process.env.API_TOKEN! },
});
const result = await client.project.getAdvisorSecurityIssues({
projectId: "project-1",
});
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.