https://github.com/knuxify/mastodon.sh
(VERY WORK IN PROGRESS) Bash API for Mastodon.
https://github.com/knuxify/mastodon.sh
Last synced: 10 months ago
JSON representation
(VERY WORK IN PROGRESS) Bash API for Mastodon.
- Host: GitHub
- URL: https://github.com/knuxify/mastodon.sh
- Owner: knuxify
- Created: 2019-01-28T16:39:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T13:49:26.000Z (over 7 years ago)
- Last Synced: 2025-08-30T06:37:10.090Z (10 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mastodon.sh
Experimental API library for Mastodon.
## Usage
Place mastodon.sh in your application's folder, then use `source ./mastodon.sh client_id client_secret auth_token` to load mastodon.sh.
This loads all of the Mastodon.sh functions.
Use those functions from within your script, but don't forget to set the variables, like so:
```bash
source ./mastodon.sh client_id client_secret auth_token
content="This is a test of the mastodon.sh library."
media="test.jpg"
write_status
```