GLPI (Gestionnaire Libre de Parc Informatique) is a free IT Asset Management, issue tracking system and service desk solution.
It helps companies to manage their information system, since it's able to build an inventory of all the organization's assets and to manage administrative and financial tasks.
This library created in JavaScript features several functionalities common to all GLPI APIs, for example:
- HTTP transport to APIs.
- Error handling
- Authentication
- JSON parsing
- Custom Item Types
- Media download/upload
- Batching
- Zero dependencies
You will be able to call all the methods that belong to the GLPI REST API, for more information visit the project's website.
import Glpi from '@glpi-project/javascript-library-glpi';
(async () => {
try {
const glpi = new Glpi({ url: 'your URL' });
await glpi.initSessionByUserToken({ userToken: 'your user token' });
const ActiveProfile = await client.getActiveProfile();
console.log(ActiveProfile);
await client.killSession();
}
catch (err) {
console.log(err);
}
})();
Release channel | Beta channel |
---|---|
GLPI Version | 9.1.2 | 9.1.3 | 9.1.5 | 9.1.6 | 9.2.0 |
---|---|---|---|---|---|
GLPI API Client |
We maintain a detailed documentation of the project on the website.
In order to provide transparency on our release cycle and to maintain backward compatibility, GLPI is maintained under the Semantic Versioning guidelines. We are committed to following and complying with the rules, the best we can.
See the tags section of our GitHub project for changelogs for each release version of GLPI. Release announcement posts on the official Teclib' blog contain summaries of the most noteworthy changes made in each release.
For notices about major changes and general discussion of GLPI development, subscribe to the /r/glpi subreddit. You can also chat with us via IRC in #GLPI on freenode or @glpien on Telegram.
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the Issues Dashboard.