equal
deleted
inserted
replaced
114 Read timelines: |
114 Read timelines: |
115 ``` sh |
115 ``` sh |
116 % madonctl timeline # Display home timeline |
116 % madonctl timeline # Display home timeline |
117 % madonctl timeline public # Display federated timeline |
117 % madonctl timeline public # Display federated timeline |
118 % madonctl timeline public --local # Display public local timeline |
118 % madonctl timeline public --local # Display public local timeline |
|
119 |
|
120 % madonctl timeline --limit 3 # Display 3 latest home timeline messages |
119 ``` |
121 ``` |
120 |
122 |
121 Use the streaming API and fetch timelines and notifications: |
123 Use the streaming API and fetch timelines and notifications: |
122 ``` sh |
124 ``` sh |
123 % madonctl stream # Stream home timeline and notifications |
125 % madonctl stream # Stream home timeline and notifications |
163 `madonctl config dump --template '{{.ID}}'` |
165 `madonctl config dump --template '{{.ID}}'` |
164 |
166 |
165 All the users that have favorited a given status:\ |
167 All the users that have favorited a given status:\ |
166 `madonctl status --status-id 101194 favourited-by --template '{{.username}}{{"\n"}}'` |
168 `madonctl status --status-id 101194 favourited-by --template '{{.username}}{{"\n"}}'` |
167 |
169 |
168 For more complex templates, one can use the `--template-file` option. |
170 For more complex templates, one can use the `--template-file` option.\ |
|
171 See the [templates](templates) folder. |
169 |
172 |
170 ## References |
173 ## References |
171 |
174 |
172 - [madon](https://github.com/McKael/madon), the Go library for Mastodon API |
175 - [madon](https://github.com/McKael/madon), the Go library for Mastodon API |
173 - [Mastodon API documentation](https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md) |
176 - [Mastodon API documentation](https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md) |