Skip to content
a Pharo API for Mastodon
Smalltalk HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
LICENSE
README.md

README.md

pharo-mastodon

a Pharo API for mastodon

Installation

  • You need Pharo 7.0
Metacello new 
  repository: 'github://estebanlm/pharo-mastodon/src';
  baseline: 'Mastodon';
  load.

Examples

Reading your timeline.

"Create a server"
server := MdnServer url: 'https://mastodon.social'.
"Login"
login := server loginUsername: 'username@yourmail.net' password: 'shhh'.
"Read timeline 'home'"
login timelineHome next.

Posting a status

"Create a server"
server := MdnServer url: 'https://mastodon.social'.
"Login"
login := server loginUsername: 'username@yourmail.net' password: 'shhh'.
"Posting a test status"
login postStatus: 'This is a test'.
You can’t perform that action at this time.