diff --git a/FUTURE b/FUTURE index 65f57e88d485e71913f989236b3adf7feeb2d015..919c7c3f9b7cc703c66201a7d2d934e529b22399 100644 --- a/FUTURE +++ b/FUTURE @@ -4,7 +4,7 @@ Let me know what is important to you! Read wadl file from bluecat server, and use it to: - take arguments without the names -- figure out the http method automatically +- figure out the http method automatically (partly done) - Handle start and count automatically Together, instead of: ./bam.py getEntities method=get parentId=13098279 type=HostRecord start=0 count=99999 @@ -28,5 +28,5 @@ Select what fields to output, instead of whole objects, if desired Add common tasks that map to several API calls, like getting a DNS record by FQDN -Sort dictionary items, either alphabetically, -or in an order that makes sense for BlueCat entities. +Sort dictionary items so that output is in a consistent order, +either alphabetically, or in an order that makes sense for BlueCat entities. diff --git a/README.md b/README.md index 4e727a493d58086afd8ef40ba64de0d54795f5ed..7fb48c7c2e9d7cf539bf967287136293720a4b80 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Use as a Python module like: import json import bluecat_bam with BAM(server, username, password) as conn: - r = conn.do('getEntityByName', method='get', parentId=0, name='admin', type='User') + r = conn.do('getEntityByName', parentId=0, name='admin', type='User') print(json.dumps(r)) ``` Sample output: @@ -29,13 +29,15 @@ Sample output: Or use on the command line as a CLI, putting the setup in the environment: ``` -cat > mybluecat.env <> mybluecat.env <