Skip to content

Commit 983d071

Browse files
author
Jeyson Molina
committed
Readme update 2.
1 parent 7a20a0c commit 983d071

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

readme.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,23 @@ You can use this class to send requests to iRacing service and get some valuable
66
USAGE
77
=====
88

9-
from client import iRWebStats
9+
from client import iRWebStats
10+
irw = iRWebStats()
11+
irw.login('username', 'password')
12+
print (irw.cars_driven()) # cars driven by user
1013

11-
irw = iRWebStats()
12-
13-
irw.login('username', 'password')
14-
15-
print (irw.cars_driven()) # cars driven by user
16-
17-
# Check examples.py for more examples
14+
Check examples.py for more examples
1815

1916
FILES
2017
=====
21-
client.py : This is where the main class is defined.
22-
23-
examples.py : Some examples.
24-
25-
constants.py : Useful constants used in request fields sent to the service.
26-
27-
util.py : Helper functions.
28-
29-
shell.py: A command line interface for the client.
3018

19+
- client.py : This is where the main class is defined.
20+
- examples.py : Some examples.
21+
- constants.py : Useful constants used in request fields sent to the service.
22+
- util.py : Helper functions.
23+
- shell.py: A command line interface for the client.
3124

3225
REQUIREMENTS
3326
============
27+
3428
Python 2.7+ or 3+ (with network access)

0 commit comments

Comments
 (0)