Skip to content

An unofficial API wrapper for ADE Planning from Adesoft

License

Notifications You must be signed in to change notification settings

ilo80/ade-planning-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ade-planning-api

Version Downloads License

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.

About

An unofficial API wrapper for ADE Planning from Adesoft

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published