Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lassejlv/projectplannerai.js


https://github.com/lassejlv/projectplannerai.js

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# projectplannerai.js

An API for interacting with the Project Planner AI API.

# Installation

```bash
npm install projectplannerai # or bun, pnpm, yarn etc.
```

## Usage

```javascript
import { ProjectPlannerAI } from "projectplannerai";

const projectAIClient = ProjectPlannerAI({
projectId: "",
});
```

## Typings

```typescript
projectId: string;
```

## Create new feedback

```javascript
const newFeedback = await projectAIClient.createFeedback({
feedback: "Need more features", // required
name: "John Doe", // optional
email: "[email protected]", // optional
label: "complaint", // optional
});
```

## Typings

```typescript
feedback: string;
name?: string;
email?: string;
label?: "idea" | "issue" | "question" | "complaint" | "featureRequest" | "other";
```

## Create new event

```javascript
const event = await projectAIClient.createEvent({
key: "User Created",
});
```

## Typings

```typescript
key: string;
```

## Get changelog

```javascript
const changelog = await projectAIClient.getChangeLog();
```

## Typings

```typescript
// Returns an array of changelog items
id: string;
date: string;
title: string;
post: string;
```

## The end

This project is not affiliated with Project Planner AI. It is just to make it easier to interact with the API.

```
MIT License
```