Skip to content

Commit

Permalink
Merge pull request #17 from duellsy/develop
Browse files Browse the repository at this point in the history
Updated docs to support new receiveTokenAndUsername method
  • Loading branch information
duellsy committed Oct 29, 2013
2 parents 5061bf6 + d134128 commit bd633b3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ $pockpack = new PockpackAuth();
$access_token = $pockpack->receiveToken($consumer_key, $request_token);
```

### Get users access token and username

```
$pockpack = new PockpackAuth();
$data = $pockpack->receiveTokenAndUsername($consumer_key, $request_token);
$access_token = $data['access_token'];
$username = $data['username'];
```

## Get reading list

### Retreive reading list
Expand Down

0 comments on commit bd633b3

Please sign in to comment.