# phpipam An incomplete phpIPAM API implementation in python. Refer to the [API Doc](https://phpipam.net/api-documentation/) for data layout. ``` import phpipam ipam = phpipam.PhpipamAPI("https://phpipam.example.com/", "myapp", "apiuser", "p4s5word") ``` Usage: ``` data = ipam..() ``` All functions return a dictionary object or a list of dictionary objects. If an error is encountered, an exception is raised. ## Controllers * `get()` returns all obejcts in in controller * `byID(object_id=)` get specific obejct by ID * `create(data=)` * `edit(data=)` * `delete(object_id=)` ### sections * `getSubnets(section_id=
)` ### subnets * `search(search=)` search for subnet by CIDR * `getIP(subnet_id=, ip=)` get address object from subnet by IP ### addresses * `getByIP(subnet_id=, ip=)` * `search(ip=)` * `getFirstFree(subnet_id=)` * `createFirstFree(subnet_id=)` ### vlan ### l2domains ### vrf ### devices * `getAddresses(device_id=)` * `getSubnets(device_id=)` ### prefix requires dateutil requests License: MIT