Skip to content

estebanlm/pharo-mastodon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

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'.

About

a Pharo API for Mastodon

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published