Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
PeiShang committed Apr 8, 2018
1 parent da1c590 commit 33f8cad
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.md
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 added opendota2/.__init__.py.swp
Binary file not shown.
Binary file added opendota2/src/.urls.py.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 33f8cad

Please sign in to comment.