zakharb / DifConnect

Service to work with Diffusion Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 The Queenthine Font

Typing SVG

🟪 Getting Started

Difconnect is the Service that parse website for data and connect to Diffusion Server to extract data from it.

Requirements

Python
asyncio and diffusion libraries are required.

Installing

Install via pip

pip install difconnect

🟪 Usage

Run service with arguments:

  • get to get information from server
  • add arguments to run for specific url, race etc

🟪 Deployment

Set up .env file for parameters

SERVER_URL=wss://diffusion.some_site.com
BOOKMAKERS=AA|BB|CC
RACE_URL=https://www.some_site.com/

Edit Dockerfile and spicify arguments to run service

Build image

docker build -t difconnect .

Run image

docker run -it --env-file .env difconnect

🟪 Versioning

Using SemVer for versioning. For the versions available, see the tags on this repository.

🟪 Authors

  • Zakhar Bengart - Initial work - Ze

See also the list of contributors who participated in this project.

🟪 License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation - see the LICENSE file for details

About

Service to work with Diffusion Server

License:GNU General Public License v3.0


Languages

Language:Python 97.8%Language:Dockerfile 2.2%