Skip to content

Commit 6fa59c5

Browse files
authored
Merge pull request #5 from johnfraney/patch-1
Add inject_token example to README
2 parents 0f0af7e + 285a34e commit 6fa59c5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ result = client.execute('''
2828
print(result)
2929
```
3030

31+
### Authorization
32+
33+
Authorization tokens can be added to the request using the client's `inject_token` method:
34+
35+
```
36+
client.inject_token('very-long-and-secure-token')
37+
```
38+
3139
## License
3240

33-
[MIT License](http://opensource.org/licenses/MIT)
41+
[MIT License](http://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)