Skip to content

Commit 780a224

Browse files
committed
Update readme file
1 parent 1584a43 commit 780a224

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

README.rst

+18-9
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,22 @@ For basic usage:
3030
pip instal git+git://github.com/zidarsk8/simple_wbd.git
3131
3232
33+
Usage
34+
-----
35+
36+
.. code:: python
37+
38+
import simple_wbd
39+
api = simple_wbd.ClimateAPI()
40+
climate = api.get_instrumental("Italy")
41+
42+
climates = api.get_instrumental(["Italy", "Slovenia", "US"])
43+
44+
3345
For development
46+
---------------
47+
48+
Install
3449

3550
.. code:: sh
3651
@@ -40,14 +55,8 @@ For development
4055
cd simple_wbd
4156
pip install -e .[dev,test]
4257
58+
Run tests
4359

44-
Usage
45-
-----
46-
47-
.. code:: python
48-
49-
import simple_wbd
50-
api = simple_wbd.ClimateAPI()
51-
climate = api.get_instrumental("Italy")
60+
.. code:: sh
5261
53-
climates = api.get_instrumental(["Italy", "Slovenia", "US"])
62+
python setup.py test

0 commit comments

Comments
 (0)