Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ run() ->
ok.
```

## Google API using Service Account Example

```erlang
Client = oauth2c:from_service_account_file("service_account_credentials.json", <<"https://www.googleapis.com/auth/androidpublisher">>).
oauth2c:request(get, json, <<"https://androidpublisher.googleapis.com/androidpublisher/v3/applications/com.kivra.Kivra/reviews">>, [200], Client).

```

## License
The KIVRA oauth2 library uses an [MIT license](http://en.wikipedia.org/wiki/MIT_License). So go ahead and do what
you want!