Commit | Line | Data |
---|---|---|
b3020829 | 1 | #### Connecting to D\* pod via `diaspy` |
94c2d637 MM |
2 | ---- |
3 | ||
4 | First thing you have to do is to create new instace of `Client()`. | |
5 | Then, if no errors are raised, you can `_login()` to the pod with given username and password. | |
6 | ||
00f28e10 MM |
7 | import diaspy |
8 | ||
313c9233 | 9 | client = diaspy.Client(pod="http://pod.example.com", username="foo", password="bar") |
94c2d637 MM |
10 | |
11 | ||
b3020829 | 12 | If everything worked you are now connected to D\* pod at given URL. |
cdbe5f4e MM |
13 | |
14 | ---- | |
15 | ||
16 | ###### Manual for `diaspy`, written by Marek Marecki |