Browse Source

update RSS tools namespace

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

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

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