Skip to content

Commit 9c3f68d

Browse files
committed
Updated readme file
1 parent f916377 commit 9c3f68d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ PHP Library for Mastodon REST API
1010
* Get user information
1111
* Get user followers and following
1212
* Get user status
13+
* Post status update
1314

1415

1516
## Installation using Composer
@@ -91,4 +92,11 @@ $statusses = $t->authenticate("vangelier@hotmail.com", "MySecretP@ssW0rd")
9192
->getStatuses();
9293
9394
95+
/**
96+
* Post status update
97+
*/
98+
99+
$status = $t->authenticate("vangelier@hotmail.com", "MySecretP@ssW0rd")
100+
->postStatus("Text status update");
101+
94102
```

0 commit comments

Comments
 (0)