Skip to content

Commit 31b7448

Browse files
committed
Update README with PyPi installation instructions
1 parent 0de624c commit 31b7448

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ This module provides the `P2PoolAPI` object to allow interacting with the P2Pool
44

55
## Installation
66

7-
The module can be installed from Github with pip:
7+
The module can be installed from PyPi or Github with pip:
88

99
```
10+
pip install p2pool-api
11+
# or to install from the Github repository
1012
pip install p2pool-api@git+https://github.com/hreikin/p2pool-api.git@main
1113
```
1214

@@ -23,6 +25,6 @@ x = p2pool_api.P2PoolAPI(api)
2325

2426
print(x._local_stratum) # Print entire reponse
2527
print(x.local_p2p_uptime) # Print property representing individual data from the API
26-
x.get_stats_mod() # Update individual endpoints
28+
x.get_stats_mod() # Update individual `stats_mod` endpoint
2729
x.get_all_data() # Update all endpoints at once
2830
```

0 commit comments

Comments
 (0)