Skip to content

Commit

Permalink
modify the confusing line
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Nov 11, 2020
1 parent 53a70c7 commit 668c44b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ for status in client.register(store):
# Keep the 'store' object because it contains now the access token
# and use it next time you want to register on the TV.
print(store)
# Use the client key as below, instead of store = {} This will avoid auth prompt for each time you run the code.
store = {'client_key': 'ACCESS_TOKEN_FROM_TV'}
# {'client_key': 'ACCESS_TOKEN_FROM_TV'}
```

##### While re-running your code, use the client key as below, instead of store = {} after import statements.
`store = {'client_key': 'ACCESS_TOKEN_FROM_TV'}`


### Using the connection to call APIs

The `client` instance represents the main channel of communication with the TV. All `*Control`
Expand Down

0 comments on commit 668c44b

Please sign in to comment.