Browse Source

Web

pull/10/head
Jure Šorn 6 years ago
parent
commit
f3e0dd1e7e
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1616,7 +1616,7 @@ def odds_handler(sport):
```python
# $ pip3 install requests
>>> import requests
>>> url = 'http://localhost:8080/odds/soccer'
>>> url = 'http://localhost:8080/odds/football'
>>> r = requests.post(url, data={'team': 'arsenal f.c.'})
>>> r.json()
['arsenal f.c.', 2.44, 3.29]

Loading…
Cancel
Save