1 #### Python API for Diaspora (unofficial)
3 `diaspy` is a set of modules which form API for D\* social network.
4 The API is written in Python 3.x and is not Python 2.x compatible.
6 Object oriented design of `diaspy` makes it easily reusable by other
7 developers who want to use only part of the API.
13 #### 1. Posting text to your stream
15 You only need two objects to do this: `Stream()` and `Connection()`.
18 >>> c = diaspy.connection.Connection(pod='https://pod.example.com',
22 >>> stream = diaspy.models.Stream(c)
23 >>> stream.post('Your first post')
28 There is a special `client` module in diaspy which is an example client
29 of D\* written using the `diapsy` API. It provides many features useful for
30 interactions with social network like messages, mentions, likes etc.
31 It is full of good, useful stuff.
35 To get more information about how the code works read
36 documentation (`./doc/` directory) and manual (`./manual/` directory).