Skip to content

Commit

Permalink
Readme file update
Browse files Browse the repository at this point in the history
  • Loading branch information
goors committed Jul 21, 2014
1 parent ae467eb commit 97bc475
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ Reason for this is to have both things in one place (this works for me).
How to use:

1) Get access token with api.domain.com/access?client_id=id&client_secret=secret

2) With access token just access you api method api.domain.com/method?token=token from 1)

3) Also you different formats:

- xml ->
api.domain.com/method?token=token&format=xml or
api.domain.com/method.xml?token=token

- json is supported by default

4) Update app/config/config.php with your own stuff

TODO: Add oauth2 scope and static html page for allow/deny like Google oauth2 or Facebook oauth.
Expand Down

0 comments on commit 97bc475

Please sign in to comment.