1.0.4 • Published 6 months ago

ade-planning-api v1.0.4

Weekly downloads
-
License
GPL-3.0-only
Repository
-
Last release
6 months ago

ade-planning-api

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.

📥 Downloads

You can install the ade-planning-api package via npm. Simply run the following command :

npm install ade-planning-api

⚙️ Uses

Retrieve projects

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();

Retrieve events at a specified Date

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();

🙏 Acknowledgement

Many thanks to s-celles for documenting ADE Planning's internal API in the pyade package.

📜 License

This project is distribued under the GPL-3.0 license.

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

9 months ago