An unofficial wrapper written in TypeScript for interacting with ADE Planning API from Adesoft.
Important
This package is unofficial and in no way affiliated with Adesoft company. Use it at your own risk.
You can install the ade-planning-api
package via npm. Simply run the following command :
npm install ade-planning-api
import { ADEPlanningAPI } from 'ade-planning-api';
const main = async () => {
const api = new ADEPlanningAPI("https://example.com");
await api.initializeSession({ username: "username", password: "password" });
const projects = await api.getProjects(); // Get all projects
console.log(projects);
};
main();
import { ADEPlanningAPI } from 'ade-planning-api';
export const main = async () => {
const api = new ADEPlanningAPI("https://example.com");
await api.initializeSession({ username: "username", password: "password" });
const projets = await api.getProjects(); // Get all projects
await api.setProject(projets[0]); // Set to the first project
const events = await api.getEvents({ date: "1/19/2025", detail: 8 }); // Get all events for a specific date
console.log(events);
};
main();
Many thanks to s-celles for documenting ADE Planning's internal API in the pyade package.
This project is distribued under the GPL-3.0 license.