Skip to content

Commit

Permalink
Merge pull request #51 from y-aok/doc_fix
Browse files Browse the repository at this point in the history
omit "FauxapiLib" from the sample code
  • Loading branch information
ndejong authored Jul 18, 2019
2 parents f8f6508 + 954ae6f commit 74964de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ Use of the package should be easy enough as shown
```python
import pprint, sys
from PfsenseFauxapi.PfsenseFauxapi import PfsenseFauxapi
PfsenseFauxapi = FauxapiLib('<host-address>', '<fauxapi-key>', '<fauxapi-secret>')
PfsenseFauxapi = PfsenseFauxapi('<host-address>', '<fauxapi-key>', '<fauxapi-secret>')

aliases = FauxapiLib.config_get('aliases')
aliases = PfsenseFauxapi.config_get('aliases')
## perform some kind of manipulation to `aliases` here ##
pprint.pprint(FauxapiLib.config_set(aliases, 'aliases'))
pprint.pprint(PfsenseFauxapi.config_set(aliases, 'aliases'))
```

It is recommended to review the [Python code examples](https://github.com/ndejong/pfsense_fauxapi_client_python/tree/master/examples)
Expand Down

0 comments on commit 74964de

Please sign in to comment.