5
5
# Python3 - Domo API SDK (pydomo)
6
6
[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat )] ( http://www.opensource.org/licenses/MIT )
7
7
8
- Current Release: 0.1.3
8
+ Current Release: 0.2.0
9
9
10
10
### About
11
11
12
12
* The Domo API SDK is the simplest way to automate your Domo instance
13
13
* The SDK streamlines the API programming experience, allowing you to significantly reduce your written code
14
- * This has not yet been tested with Python2
15
- * PyDomo has been published to [ PyPI] ( https://pypi.python. org/pypi /pydomo ) , and can be installed via ` pip3 install pydomo requests requests_toolbelt `
14
+ * This is not compatible with Python2
15
+ * PyDomo has been published to [ PyPI] ( https://pypi.org/project /pydomo/ ) , and can be installed via ` pip3 install pydomo `
16
16
17
17
### Features:
18
18
- DataSet and Personalized Data Policy (PDP) Management
@@ -31,13 +31,16 @@ Current Release: 0.1.3
31
31
- Group Management
32
32
- Create, update, and remove groups of users
33
33
- Docs: https://developer.domo.com/docs/domo-apis/group-apis
34
+ - Page Management
35
+ - Create, update, and delete pages
36
+ - Docs: https://developer.domo.com/docs/page-api-reference/page
34
37
35
38
### Setup
36
39
* Install Python3: https://www.python.org/downloads/
37
40
* Linux: 'apt-get install python3'
38
41
* MacOS: 'brew install python3'
39
42
* Windows: direct download, or use Bash on Windows 10
40
- * Install PyDomo and its dependencies via ` pip3 install pydomo requests requests_toolbelt `
43
+ * Install PyDomo and its dependencies via ` pip3 install pydomo `
41
44
42
45
### Updates
43
46
* Update your PyDomo package via ` pip3 install pydomo --upgrade `
@@ -58,12 +61,11 @@ from pydomo import Domo
58
61
client_id = ' MY_CLIENT_ID'
59
62
client_secret = ' MY_CLIENT_SECRET'
60
63
api_host = ' api.domo.com'
61
- use_https = True
62
64
logger_name = ' foo'
63
- logger_level = logging.INFO
65
+ log_level = logging.INFO
64
66
65
67
# Create an instance of the SDK Client
66
- domo = Domo(client_id, client_secret, api_host, use_https, logger_name, logger_level )
68
+ domo = Domo(client_id, client_secret, api_host = api_host, logger_name = logger_name, log_level = log_level )
67
69
68
70
# Manage DataSets
69
71
domo.datasets.create()
0 commit comments