Commit | Line | Data |
---|---|---|
94c2d637 MM |
1 | #### Connecting to D* pod via `diaspy` |
2 | ###### [Index](index.mdown) | |
3 | ---- | |
4 | ||
5 | First thing you have to do is to create new instace of `Client()`. | |
6 | Then, if no errors are raised, you can `_login()` to the pod with given username and password. | |
7 | ||
8 | client = diaspy.Client(pod="http://pod.example.com/", username="foo", password="bar") | |
9 | client._login() | |
10 | ||
11 | ||
12 | If everything worked you are now connected to D* pod at given URL. |