Browse Source

update RSS tools namespace

main 1.0.0
ghost 11 months ago
parent
commit
5761f1b90b
  1. 8
      README.md
  2. 2
      src/Tools/Rss.php

8
README.md

@ -43,18 +43,18 @@ Currently not documented, please visit src/Client.php for details
* newPostMessage * newPostMessage
* newRetwistMessage * newRetwistMessage
### RSS ### Tools
Useful to create twister news bot #### RSS
#### Methods Useful to create twister news bot
##### Feed ##### Feed
Read remote URL and convert response to formatted twister messages Read remote URL and convert response to formatted twister messages
``` ```
$array = \Twisterarmy\Twister\Rss::feed('url'); $array = \Twisterarmy\Twister\Tools\Rss::feed('url');
``` ```
###### Request ###### Request

2
src/Rss.php → src/Tools/Rss.php

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Twisterarmy\Twister; namespace Twisterarmy\Twister\Tools;
class Rss class Rss
{ {
Loading…
Cancel
Save