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