mirror of
https://github.com/twisterarmy/twister-php.git
synced 2025-01-30 16:34:22 +00:00
update readme
This commit is contained in:
parent
03a83c64be
commit
5e8de0cc01
@ -37,9 +37,7 @@ Useful to create twister news bot
|
||||
|
||||
#### Methods
|
||||
|
||||
* feed
|
||||
|
||||
#### Feed
|
||||
##### Feed
|
||||
|
||||
Read remote URL and convert response to formatted twister messages
|
||||
|
||||
@ -47,7 +45,7 @@ Read remote URL and convert response to formatted twister messages
|
||||
$array = \Twisterarmy\Twister\Rss::feed('url');
|
||||
```
|
||||
|
||||
##### Request
|
||||
###### Request
|
||||
|
||||
* `url` - feed address
|
||||
* `format` - `{title} {link}` by default
|
||||
@ -57,7 +55,7 @@ $array = \Twisterarmy\Twister\Rss::feed('url');
|
||||
* `length` - `256` by default
|
||||
* `errors` - array of errors
|
||||
|
||||
##### Response
|
||||
###### Response
|
||||
|
||||
```
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user