Mastodon app apis - notes

#620
Raw
Author
socdev
Created
Dec. 30, 2022, 2:58 p.m.
Expires
Never
Size
1.4 KB
Hits
186
Syntax
markdown
Private
✗ No
You are viewing the source code of this paste. Click "Render" to see the formatted version.
# dailybuild Mastodon client 🐘

## app formats

### CLI 🖳

| command | output                                          |
| ------- | ----------------------------------------------- |
| whoami  | {"user": "my_username", "url": "http://my_url"} |
| friends | list of accounts i'm following                  |

#### public API (not logged in)

|command|output|
|-|-|
|hashtag|url of the latest pic tooted with this keyword|
|search|table with rows of data|

### mobile 📱

...

### automation ⛮

- automated jobs (cron; events; etc.)

## use cases 🧬🏗️

- augmented tweet
- automated tweeting
- make a poll (ask a multiple answers question to friends)
- complimentating cat pics/videos

## actual project

- [https://github.com/socraticDevBlog/mastodonctl](https://github.com/socraticDevBlog/mastodonctl)

## docs 📜

### for newbies

- [https://fedi.tips/how-to-use-mastodon-and-the-fediverse-basic-tips/](https://fedi.tips/how-to-use-mastodon-and-the-fediverse-basic-tips/)

### videos

- Using the Mastodon API - Posting Status Updates to Mastodon via cURL and Python - [https://www.youtube.com/watch?v=W3kb6aImHf8](https://www.youtube.com/watch?v=W3kb6aImHf8)

### seriouser docs

- [https://docs.joinmastodon.org/api/](https://docs.joinmastodon.org/api/)

## social 🤼

- [https://www.reddit.com/r/Mastadon/](https://www.reddit.com/r/Mastadon/)