Update README v2.1.0
authorAlexander Vasarab <alexander@wylark.com>
Wed, 24 Jun 2020 04:04:06 +0000 (21:04 -0700)
committerAlexander Vasarab <alexander@wylark.com>
Wed, 24 Jun 2020 04:04:06 +0000 (21:04 -0700)
- To use keyword args in programmatic example
- Mention fitness modifier

README.md

index d78f814d923618e4efd07e558b23e23183e0255f..3dc428fea48aaf500c9b2758f0fc74e226ad8c7d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -27,7 +27,8 @@ For detailed information, see:
 `./munter.py --help`
 
 The program supports both imperial and metric, and has four "travel
 `./munter.py --help`
 
 The program supports both imperial and metric, and has four "travel
-modes" at this time: uphill, flat, downhill, bushwhacking.
+modes" at this time: uphill, flat, downhill, bushwhacking. It also
+supports a simple fitness modifier: slow, average, fast.
 
 By default, the output will be the time in hours and minutes of the
 specified leg. If you prefer, you can use the `-p` switch to get a
 
 By default, the output will be the time in hours and minutes of the
 specified leg. If you prefer, you can use the `-p` switch to get a
@@ -38,9 +39,9 @@ specified leg. If you prefer, you can use the `-p` switch to get a
 You can also use Munter.py programmatically from Python, like so:
 
 `import munter`  
 You can also use Munter.py programmatically from Python, like so:
 
 `import munter`  
-`est = munter.time_calc(3.2, 2300, 'uphill', 'imperial')`
+`est = munter.time_calc(distance=3.2, elevation=2300, fitness='slow')`
 
 
-This will store a value like "3.04095" in the `est` variable.
+This will store a value like "3.64914" in the `est` variable.
 
 Workflow
 --------
 
 Workflow
 --------