Initial commit
All checks were successful
Build python package / Build (push) Successful in 24s

This commit is contained in:
2026-02-18 10:58:06 +01:00
commit 123d7d1ecf
6 changed files with 411 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# GLPIAPI
A python module to help making API requests to GLPI servers easier.
Usage
================
You can create an GLPIAPI object to connect to the API using an APpToken and an UserToken.
Example :
```python
from GLPIAPI import GLPIAPI
glpiServer = https://my-glpi-server.local
glpiAppToken = "YOUR-APP-TOKEN"
glpiUserToken = "YOUR-USER-TOKEN"
glpiUserAgent = "GLPI API Connector"
GLPIConnector = GLPIAPI(Server=glpiServer, AppToken=glpiAppToken, UserToken=glpiUserToken, UserAgent=glpiUserAgent)
device = GLPIConnector.GetDevice(serialNumber="S0123456789")
```