Python library to access the SnipeIT API
Project description
SnipeIT Python API
Use this package to interface with the SnipeIT (https://snipeitapp.com/) API directly from Python.
Installation
Run the command pip install snipeit
Usage
- See Example Scripts included in package for specific calls
API Features
- Hardware
- Companies
- Locations
- Accessories
- Consumables
- Components
- Users
- Status Labels
- Models
- Licenses
- Categories
- Manufacturers
- Custom Fieldsets
- Maintenances
Release History
-
0.11
- Completing API features based on Snipe-IT version 4.6.14
- Added Categories class
- Added Fieldsets class
- Added Missing Licenses class
- Added Manufacturers class
- Added Maintenances class
- Added docstrings for each methods
- Removed unrelated methods in some classes
- Added search() method for all supported APIs
- Update get() methods to incorporate ordering
- Added many new methods in each class (see documentation files)
- Added documentation files
- Completing API features based on Snipe-IT version 4.6.14
-
0.10
- Update import issue in python3
- Updated init.py to python 3 import style
- Update import issue in python3
-
0.9
- Created Support for Models
- Added get() method to get JSON dump of Models
- Added create() method to add new items to Models
- Added getID() method to get the ID of a specified Models
- Added delete() method to remove items from Models
- Added updateModel() method (Uses PATCH call) to update details on a existing Model
- Created Support for Models
-
0.8
- Created Support for StatusLabels
- Added get() method to get JSON dump of Status Labels
- Added create() method to add new items to Status Labels
- Added getID() method to get the ID of a specified Status Labels
- Added delete() method to remove items from Status Labels
- Added updateStatusLabels() method (Uses PATCH call) to update details on a existing Status Label
- Created Support for StatusLabels
-
0.7
- Created Support for Users
- Added get() method to get JSON dump of Users
- Added create() method to add new items to Users
- Added getID() method to get the ID of a specified Users
- Added delete() method to remove items from Users
- Added updateUser() method (Uses PATCH call) to update details on a existing Users
- Added getCheckedOutAssets() method to get a list of Assets assigned to that User
- Created Support for Users
-
0.6
- Created Support for Components
- Added get() method to get JSON dump of Components
- Added create() method to add new items to Components
- Added getID() method to get the ID of a specified Components
- Added viewID() method to see details of Components
- Created Support for Components
-
0.5
- Creating Support for Consumable API Calls
- Added get() method to get JSON dump of Consumables
- Added create() method to add new items to Consumables
- Added getID() method to get the ID of a specified consumable
- Added viewID() method to get details of a specific consumable
- Creating Support for Consumable API Calls
-
0.4
- Creating Support for Accessory API Calls
- Added get() method to get JSON dump of AccessoriesID
- Added create() method to add new items to Accessories
- Added getID() method to get the ID of a specified accessories
- Added viewID() method to get details of a specific accessory
- Creating Support for Accessory API Calls
-
0.3
- Creating Support for Locations API Calls
- Added get() method to get JSON dump of locations
- Added create() method to add new items to locations
- Added getID() method to get the ID of a specified locations
- Added updateCompany() method (Uses PATCH call) to update the name of an existing location.
- Added delete() method to remove items from locations
- Creating Support for Locations API Calls
-
0.2
- Creating Support for Company API Calls
- Added get() method to get JSON dump of companies
- Added create() method to add new items to companies
- Added getID() method to get the ID of a specified company
- Added delete() method to remove items from companies
- Added updateCompany() method (Uses PATCH call) to update the name of an existing company.
- Creating Support for Company API Calls
-
0.1
- Created Support for Assets
- Added get() method to get JSON dump of inventory
- Added create() method to add new items to inventory
- Added getID() method to get the ID of a specified device in the inventory
- Added delete() method to remove items from inventory
- Added updateDevice() method (Uses PATCH call) to update details on a device currently in inventory.
- Created Support for Assets
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Credits
Cox Automotive Inc.
- https://www.coxautoinc.com/
- Author: Jared Bloomer
License
This Project is currently released under the MIT license. For the latest copy of the MIT license please refer to https://opensource.org/licenses/MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snipeit-1.0.tar.gz
(7.8 kB
view details)
File details
Details for the file snipeit-1.0.tar.gz.
File metadata
- Download URL: snipeit-1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2659a4a70f619f1ebec42dfa9679b0ae12b091584a2e556a4efec66c91c1ec12
|
|
| MD5 |
d1b67a57bca156c8400c242e0504461c
|
|
| BLAKE2b-256 |
8a28ef32ea106e66327c091712ebddeff270c27cf68f09f6d3ca151cc52cd077
|