-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# opendota2 v0.1.0 | ||
Author [PeiShang](https://github.com/PeiShang) | ||
The [OpenDota web api](https://docs.opendota.com/) in python | ||
[![N|Solid](https://cldup.com/dTxpPi9lDf.thumb.png)](https://nodesource.com/products/nsolid) | ||
## 1.Requirement | ||
- Python version 3.0+ | ||
## 2.Download and install | ||
- You can Clone the repository to your local machine via: | ||
```shell | ||
git clone git://github.com/PeiShang/opendota2 | ||
``` | ||
- Then cd to the folder and run: | ||
```shell | ||
pip install . | ||
``` | ||
## 3.Usage | ||
- You can import and use the pakages like: | ||
```python | ||
import opendota2 as od | ||
match_data = od.get_match(match_id=3812844133) # Get the match data | ||
``` | ||
See the [OpenDota web api](https://docs.opendota.com/) for more information about parameters | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
setup( | ||
name="opendota2", | ||
version=0.1.0, | ||
version="0.1.0", | ||
author="PeiShang", | ||
author_email="[email protected]", | ||
url="https://github.com/PeiShang/opendota2", | ||
|