PHPIPAM Python RESP API Client
Project description
phpipam-client
PHPIPAM Python RESP API Client. It supports Python 2.7 and 3.4+.
Example
Basic usage:
from phpipam_client import PhpIpamClient, PATCH
ipam = PhpIpamClient(
url='https://ipam',
app_id='myapp',
username='mylogin',
password='mypassword',
user_agent='myapiclient', # custom user-agent header
)
# read object
print(ipam.query('/sections/'))
# update object
ipam.query('/sections/1/', method=PATCH, data={
'description': 'example',
})
Use encryption:
ipam = PhpIpamClient(
url='https://ipam',
app_id='myapp',
token='mytoken',
encryption=True,
)
Other API clients
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phpipam-client-0.2.0.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file phpipam-client-0.2.0.tar.gz
.
File metadata
- Download URL: phpipam-client-0.2.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.6 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 644855ce45b98ce64e9550862d2b616dc7700c5d892662e6aaf99e95155bb580 |
|
MD5 | 6c8587d86eb6eed947f255e678db90e2 |
|
BLAKE2b-256 | 40219ae80dd896c231913ef7204b787448f513c2dbe1fc41e82e023b886200ca |
File details
Details for the file phpipam_client-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: phpipam_client-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.6 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00998d8971db99517d475bb63041ed593cc04c4324341f2b713db3fa3143d534 |
|
MD5 | 7318d2353666eb8de25394a8a0787f49 |
|
BLAKE2b-256 | 9e0982083c2f408c9f978a1f714a2b46d89f16826262024e1c79ae41537bc970 |