Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
glpi-api-client
Advanced tools
A package made with TypeScript to handle GLPI Rest API with interfaces and models
GLPIClient is made for simplify interations between the developer and GLPI, with authentication and requests classes, with all CommonDB classes and requests from GLPI
Actives, Administration, Assistance, Dropdowns, Management and Tools classes and interfaces
Simple authentication with User Token or User Credentials
npm i glpi-api-client
const glpi = new GLPIAPI({app_token: "APP_TOKEN_HERE", glpi_url: "http://GLPI_URL_HERE" })
glpi.authenticate.withUserCredential("LOGIN,"PASSWORD");
or
glpi.authenticate.withUserToken("USER_TOKEN_HERE");
glpi.authenticate.withUserToken("TOKEN").then(requests => {
requests.actives.computer.getById("itemId", custom_params_here).then(response => {
const { data } = response; // will return all properties of a computer to handle
data.
})
})
FAQs
A package made with TypeScript to handle GLPI Rest API with interfaces and models
The npm package glpi-api-client receives a total of 0 weekly downloads. As such, glpi-api-client popularity was classified as not popular.
We found that glpi-api-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.