Skip to main content

# OddsWacther

## Environment Python 3.5.1

## Usage

### install enter below commands

`sudo pip install git+https://github.com/PinkPhayate/OddsWatcher`

### how to use ` from oddsman import oddsman ods = oddsman.OddsWatcher() `

## Document of API ### get_race_ids(time: str)

  • paramater

    time: str 日付

  • feature

    パラメータで入力した日付のレースを確認し、あれば出走時刻をkeyとしたdicttionaryを返す

  • example

` from oddsman import OddsWatcher odds_man = OddsWatcher() todays_race_id = odds_man.get_race_ids('0625') # => {'10:45': '201702010403', '10:55': '201705030803', '16:15': '201705030812', '12:35': '201702010406', '12:55': '201709030806', '12:45': '201705030806', '11:05': '201709030803', '10:05': '201709030801', '15:30': '201705030811', '13:35': '201702010408', '12:25': '201709030805', '13:15': '201705030807', '09:55': '201705030801', '10:15': '201702010402', '14:15': '201705030809', '14:50': '201705030810', '10:35': '201709030802', '14:05': '201702010409', '15:40': '201709030811', '16:30': '201709030812', '10:25': '201705030802', '12:15': '201705030805', '12:05': '201702010405', '16:05': '201702010412', '11:35': '201709030804', '14:40': '201702010410', '15:01': '201709030810', '15:20': '201702010411', '13:25': '201709030807', '13:45': '201705030808', '09:50': '201702010401', '13:05': '201702010407', '14:25': '201709030809', '11:15': '201702010404', '13:55': '201709030808', '11:25': '201705030804'} `

### get_race_odds(race_id: str)

  • paramater

    race_id: str レースid

  • feature

    オッズを調べたいレースのidを入力すると、オッズが返ってくる

  • example

` from oddsman import OddsWatcher odds_man = OddsWatcher() race_id = '201702010412' odds_dict = odds_man.get_race_odds(race_id) # => {津軽海峡特別: ['61.0', '93.9', '33.4', '69.3', '1.6', '7.9', '44.9', '11.3', '3.5', '22.1']} `

Metadata

Release files for oddsman 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oddsman 0.1.1
File Size Uploaded
oddsman-0.1.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oddsman 0.1.1
File Interpreter ABI Platform
oddsman-0.1.1-py3.5.egg Legacy Egg format - - Details

Total release size: 9.0 kB

Release files / oddsman-0.1.1.tar.gz

Download URL oddsman-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ec808d685622b8106c287d4bb910e77a3c531d66639b2838484ec7e0a4f67527
BLAKE2b-256 checksum
How to use checksums
a878256515efbf53e3239ce1b9323a9468ee74afa0911431ed7296fda0416550
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / oddsman-0.1.1-py3.5.egg

Download URL oddsman-0.1.1-py3.5.egg
Size 6.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
11d1993069174d95933376e5ef33bbd4a7b6122b85abda42a4ca314fd41914e0
BLAKE2b-256 checksum
How to use checksums
5f76b88076a1f6c4021e5f39565a4536c9cfc84d16cab43cfcc2dcd7bbe2b96d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page