You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2ba6382
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ A simple, clear-code, easy-to-use wrapper for RushStatsAPI (Rush Wars API) writt
5
5
- Python version: 3.x
6
6
- Python modules: json, requests
7
7
### Note
8
-
Because the project is just a script for now, it means you will have to manually download it and put the ```rushstats.py``` file into directory of your project you are going to use this wrapper in. Then you can simpy import it as you are doing it with any other modules: ```import rushstats```.
8
+
Because the project is just a script for now, it means you will have to manually download it and put the ```rushstats.py``` file into directory of your project you are going to use this wrapper in. Then you can simply import it as you are doing it with any other modules: ```import rushstats```.
9
9
### Authorization
10
10
To connect to the API you will need an access token. If yuu will try to retrieve any info without authorization, you will recieve an error. So, if you still don't have any token, you can get a new one here: https://api.rushstats.com/dashboard <br>
11
11
Then authenticate using this function (don't forget to replace ```token``` with your token): ```rushstats.session('token')```
0 commit comments