Skip to content

Commit 3f6a16e

Browse files
author
Razmo99
committed
resolved default save loc name
if passed an empty string it would accept it
1 parent 225ee10 commit 3f6a16e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Has classes and methods for:
99

1010
# Usage
1111
Firstly you need to make up an instance of the TokenManager Class.\
12-
This Class will be used to pass the retreived Token to other methods later
13-
~~~
12+
This Class will be used to pass the retrieved Token to other methods later
13+
~~~python
1414
ttm_token = TelstraTrackMonitorAPI.TokenManager(
1515
server='https://tapi.telstra.com'
1616
client_id='XXXXXXXXXXXXXXXXXXXXX'
@@ -21,7 +21,7 @@ ttm_token.load_token() #Loads any token information in the save_location json fi
2121
ttm_token.update_token() # Check if the token is expired and renews if so.
2222
~~~
2323
Once the above is done we can actually pull some information from Track & Monitor API
24-
~~~
24+
~~~python
2525
with TelstraTrackMonitorAPI.Sessions(ttm_token.server,ttm_token.access_token) as TTM:
2626
ttm_devices=TTM.devices_get(
2727
{'$filter':'not(deviceFriendlyName eq null)'}
@@ -31,6 +31,5 @@ The above method will get all devices in Track & Monitor API that have a Device
3131

3232

3333
# Installation
34-
~~~
35-
pip install TelstraTrackMonitorAPI
36-
~~~
34+
35+
`pip install TelstraTrackMonitorAPI`

0 commit comments

Comments
 (0)