Commit Graph

23 Commits

Author SHA1 Message Date
tastytea c9211e621e
Reformat examples. 2020-11-13 14:05:28 +01:00
tastytea 41f470d2aa
Add read to scopes in obtain-token example.
Without that, we cannot very our credentials. Mastodon needs
read::accounts, Pleroma needs read.
2020-11-13 13:02:52 +01:00
tastytea 151103a9a1
Catch JSON exceptions in nlohmann-json example. 2020-01-26 05:19:58 +01:00
tastytea 65ff76312b
Add nlohmann-json example.
continuous-integration/drone/push Build is passing Details
2020-01-26 00:49:49 +01:00
tastytea 161554e677
Allow examples to build outside mastodonpp.
continuous-integration/drone/push Build is passing Details
2020-01-18 23:51:34 +01:00
tastytea df51d4fdcc
Change website in example08 to example.com. 2020-01-14 23:22:50 +01:00
tastytea 7af01ffb17
Add ObtainToken-example.
continuous-integration/drone/push Build is passing Details
2020-01-12 16:28:11 +01:00
tastytea 20410ece28
Removed excess comma. 2020-01-12 15:24:05 +01:00
tastytea f3f8efac25
Add DELETE example.
continuous-integration/drone/push Build is passing Details
2020-01-11 16:45:31 +01:00
tastytea ed43f74c01
Add examples 05 and 06. 2020-01-11 16:16:50 +01:00
tastytea 5aa5bf4c9c
80 char rule. 2020-01-11 16:10:15 +01:00
tastytea d14f750c39
Add example for posting an attachment. 2020-01-11 15:25:20 +01:00
tastytea 7eda3ae9e1
Fix argument check in example03. 2020-01-11 14:44:14 +01:00
tastytea 18de12c762
Typo. 2020-01-11 14:13:55 +01:00
tastytea 1831bb1ab2
Add example: post_status.cpp. 2020-01-10 19:32:04 +01:00
tastytea b9f832332a
Fix description of streaming example. 2020-01-10 19:31:40 +01:00
tastytea 9bc1be8481
Shorten streaming example.
continuous-integration/drone/push Build is passing Details
2020-01-09 19:05:37 +01:00
tastytea f1cc8cfb2d
Typo: typo → type. 😃 2020-01-09 19:01:52 +01:00
tastytea ec41063488
Add get_new_events().
continuous-integration/drone/push Build is passing Details
A more comfortable way to consume stream events.
2020-01-09 12:24:29 +01:00
tastytea 7edcb7c507
Add streaming example. 2020-01-08 21:49:48 +01:00
tastytea 31ce23febf
Fix include in example, prefer local header. 2020-01-07 09:02:16 +01:00
tastytea 5d6ad60d3b
Add simple example.
continuous-integration/drone/push Build is passing Details
2020-01-06 09:43:08 +01:00
tastytea b1b03bfa3e
Add support for examples. 2020-01-03 10:22:34 +01:00