Skip to content

Commit 0666ced

Browse files
committed
updated readme
1 parent cc4cd9d commit 0666ced

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

README.md

+22-4
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,20 @@ Currently supports the following functionality:
99
- Read platform, branch, and repositories
1010
- Read, query, search, create, update, and delete nodes
1111

12-
To install, run `pip install cloudcms`
12+
## Installation
13+
14+
`pip install cloudcms`
15+
16+
## Examples
17+
18+
Below are some examples of how you might use this driver:
1319

14-
Simple example:
1520
```python
1621
from cloudcms import CloudCMS
1722

1823
# Connect to Cloud CMS
1924
client = CloudCMS()
20-
platform = client.connect(filename="gitana.json")
25+
platform = client.connect(filename='gitana.json')
2126

2227
# List repositories
2328
repositories = platform.list_repositories()
@@ -58,4 +63,17 @@ find = {
5863
}
5964
}
6065
searched_nodes = branch.find_nodes(find)
61-
```
66+
```
67+
68+
## Resources
69+
70+
* Cloud CMS: https://www.cloudcms.com
71+
* Github: https://github.com/gitana/cloudcms-python-driver
72+
* Python Driver Download: https://pypi.org/project/cloudcms/
73+
* Cloud CMS Documentation: https://www.cloudcms.com/documentation.html
74+
* Developers Guide: https://www.cloudcms.com/developers.html
75+
76+
## Support
77+
78+
For information or questions about the Python Driver, please contact Cloud CMS
79+
at [support@cloudcms.com](mailto:support@cloudcms.com).

cloudcms/cloudcms.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import json
2-
from urllib.parse import urlencode
32
from oauthlib.oauth2 import LegacyApplicationClient
43
from requests_oauthlib import OAuth2Session
54

@@ -29,7 +28,7 @@ def connect(self, **kwargs):
2928
return self.get_platform()
3029

3130
def token_updater(self, token):
32-
self.token = token
31+
self.token = token
3332

3433
def get(self, uri, params={}):
3534
return self.request('GET', uri, params)

0 commit comments

Comments
 (0)