File: README.md

package info (click to toggle)
python-duo-client 5.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 768 kB
  • sloc: python: 7,105; sh: 6; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 847 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Duo Accounts API Examples Overview


## Examples

This folder contains various examples to illustrate the usage of the `Accounts` module within the 
`duo_client_python` library.  The Duo Accounts API is primarily intended for use by Managed Service 
Partners (MSP) to assist in the automation of managing their child (customer) Duo accounts.

Use of the Duo Accounts API requires special access to be enabled. Please see the 
[online documentation](https://www.duosecurity.com/docs/accountsapi) for more information.

# Using

To run an example query, execute a command like the following from the repo root:
```python
$ python3 examples/Accounts/get_billing_and_telephony_credits.py
```

Or, from within this folder:
```python
$ python3 get_billing_and_telephony_credits.py
```

# Tested Against Python Versions
* 3.7
* 3.8
* 3.9
* 3.10
* 3.11