File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,26 @@ The client library requires the following libraries:
10
10
* [ requests] ( http://docs.python-requests.org/en/latest/ )
11
11
* [ pycrypto] ( https://pypi.python.org/pypi/pycrypto )
12
12
13
- sudo pip install requests
14
- sudo pip install pycrypto
13
+ sudo pip install requests
14
+
15
+ sudo pip install pycrypto
15
16
16
17
Installation
17
18
------------
18
19
Clone the client library from github for installation:
19
- git clone https://github.com/VirdocsSoftware/redshelf-api-client.git
20
+ git clone https://github.com/VirdocsSoftware/redshelf-api-client.git
20
21
21
22
Basic Usage
22
23
------------
23
24
Import and instance the client object:
24
- ```python
25
- from client import ClientV1
26
- c = ClientV1()
25
+
26
+ from client import ClientV1
27
+ c = ClientV1()
27
28
28
29
Supply your authentication information:
29
- ```python
30
- c.set_user('0d72df20f23558620646fb3ea030f5')
31
- c.load_key('/path/to/private/key.key')
30
+
31
+ c.set_user('0d72df20f23558620646fb3ea030f5')
32
+ c.load_key('/path/to/private/key.key')
32
33
33
34
API Documentation
34
35
------------
You can’t perform that action at this time.
0 commit comments