Skip to content

Commit cc31874

Browse files
authored
Merge pull request #7 from OneSignal/api
Dependency Update
2 parents 08163d9 + 1ee083a commit cc31874

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,12 @@ Please follow the [installation procedure](#installation--usage) and then run th
5959

6060
```python
6161
import onesignal
62+
from onesignal.api import default_api
6263

6364
# See configuration.py for a list of all supported configuration parameters.
65+
# Some of the OneSignal endpoints require USER_KEY bearer token for authorization as long as others require APP_KEY
66+
# (also knows as REST_API_KEY). We recommend adding both of them in the configuration page so that you will not need
67+
# to figure it yourself.
6468
configuration = onesignal.Configuration(
6569
app_key = "YOUR_APP_KEY",
6670
user_key = "YOUR_USER_KEY"

0 commit comments

Comments
 (0)