Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Minor spell fixes
  • Loading branch information
N1ghteyes authored Jan 29, 2019
1 parent 7d081dc commit 382d17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $response = $api->{HTTP VERB}->{PATH 1}->{PATH 2}->{ENDPOINT}({Args as array});
In more general terms, using a request to twitter as an example:
see: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline.html

> *In this instance twitter requires us to specify a file ending. As such the endpoint must be called as an encausulated string*
> *In this instance twitter requires us to specify a file ending. As such the endpoint must be called as an encapsulated string*
```php
$response = $api->GET->statuses->{"user_timeline.json"}(["screen_name" => "noradio"]);
Expand Down Expand Up @@ -81,7 +81,7 @@ The class supports several authentication methods.
One of the most common methods of authentication with anopther service is basic http authentication.
```php
//The methid will automatically encode the values passed here.
//The method will automatically encode the values passed here.
$api->auth("user", "password");
```
Expand Down

0 comments on commit 382d17b

Please sign in to comment.