https://github.com/kylestev/pwsadmin
A simple JSON API wrapper around the Pro Wager Systems backoffice software.
https://github.com/kylestev/pwsadmin
Last synced: about 1 year ago
JSON representation
A simple JSON API wrapper around the Pro Wager Systems backoffice software.
- Host: GitHub
- URL: https://github.com/kylestev/pwsadmin
- Owner: kylestev
- License: mit
- Created: 2016-06-26T22:00:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T19:25:36.000Z (almost 4 years ago)
- Last Synced: 2025-02-14T19:56:26.659Z (over 1 year ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pwsadmin
A simple Python wrapper around the Pro Wager Systems backoffice software.
## Running the Example API
Please note that the flask HTTP server found in `api.py` should not be exposed
to the Internet on any public interface. There is virtually no security
provided by this package and should not be used in a production environment.
You have been warned.
1. `git clone https://github.com/kylestev/pwsadmin`
2. `cd examples`
3. `virtualenv .venv`
4. `source .venv/bin/activate`
5. `pip install -r requirements.txt`
6. `cp .env.example .env`
7. `vi .env # edit according to your environment`
8. `python api.py`
9. `curl http://localhost:5000/api/rooms`
## Development
1. `git clone https://github.com/kylestev/pwsadmin`
2. `virtualenv .venv`
3. `source .venv/bin/activate`
4. `pip install -r requirements.txt`
Your environment is now configured for running this package!