mirror of
https://github.com/twisterarmy/twister-php.git
synced 2025-02-07 04:14:17 +00:00
update RSS tools namespace
This commit is contained in:
parent
c5559e4ca5
commit
5761f1b90b
@ -43,18 +43,18 @@ Currently not documented, please visit src/Client.php for details
|
|||||||
* newPostMessage
|
* newPostMessage
|
||||||
* newRetwistMessage
|
* newRetwistMessage
|
||||||
|
|
||||||
### RSS
|
### Tools
|
||||||
|
|
||||||
|
#### RSS
|
||||||
|
|
||||||
Useful to create twister news bot
|
Useful to create twister news bot
|
||||||
|
|
||||||
#### Methods
|
|
||||||
|
|
||||||
##### 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,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Twisterarmy\Twister;
|
namespace Twisterarmy\Twister\Tools;
|
||||||
|
|
||||||
class Rss
|
class Rss
|
||||||
{
|
{
|
Loading…
x
Reference in New Issue
Block a user