{"id":16317072,"url":"https://github.com/simatwa/smartbetika","last_synced_at":"2025-06-16T02:36:06.143Z","repository":{"id":88458604,"uuid":"606706540","full_name":"Simatwa/smartBetika","owner":"Simatwa","description":"Betika-based soccer predictor.","archived":false,"fork":false,"pushed_at":"2024-03-03T13:45:25.000Z","size":8711,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T19:48:42.804Z","etag":null,"topics":["betika","bets","football","gamplaykit","prediction"],"latest_commit_sha":null,"homepage":"https://simatwa.github.io/smartBetika/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Simatwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-26T10:16:00.000Z","updated_at":"2024-10-14T14:57:59.000Z","dependencies_parsed_at":"2023-12-19T15:10:30.864Z","dependency_job_id":"d0fb3262-4352-4bd8-a77a-345ca58e02f0","html_url":"https://github.com/Simatwa/smartBetika","commit_stats":{"total_commits":88,"total_committers":2,"mean_commits":44.0,"dds":"0.28409090909090906","last_synced_commit":"62d6ff33f969135cb3cf00208d4d41ede645358c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Simatwa/smartBetika","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2FsmartBetika","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2FsmartBetika/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2FsmartBetika/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2FsmartBetika/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Simatwa","download_url":"https://codeload.github.com/Simatwa/smartBetika/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2FsmartBetika/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260086743,"owners_count":22956857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["betika","bets","football","gamplaykit","prediction"],"created_at":"2024-10-10T22:06:30.986Z","updated_at":"2025-06-16T02:36:06.123Z","avatar_url":"https://github.com/Simatwa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003esmartBetika\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/Simatwa/smartBetika\"\u003e\u003cimg alt=\"Github\" src=\"https://img.shields.io/static/v1?logo=github\u0026color=blueviolet\u0026label=Test\u0026message=Passing\"/\u003e\u003c/a\u003e\n\u003ca href=\"LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/static/v1?logo=GPL\u0026color=Blue\u0026message=MIT-FPA\u0026label=License\"/\u003e\u003c/a\u003e\n \u003ca href=\"#\"\u003e\u003cimg alt=\"PyPi\" src=\"https://img.shields.io/static/v1?logo=Version\u0026label=Version\u0026message=v1.6.0\u0026color=green\"/\u003e\u003c/a\u003e \n \u003ca href=\"https://github.com/psf/black\"\u003e\u003cimg alt=\"Black\" src=\"https://img.shields.io/static/v1?logo=Black\u0026label=Code-style\u0026message=Black\"/\u003e\u003c/a\u003e \n \u003ca href=\"#\"\u003e\u003cimg alt=\"Accuracy\" src=\"https://img.shields.io/static/v1?logo=accuracy\u0026label=Accuracy\u0026message=60%\u0026color=yellow\"/\u003e\u003c/a\u003e \n \u003ca href=\"#\"\u003e\u003cimg alt=\"Passing\" src=\"https://img.shields.io/static/v1?logo=Docs\u0026label=Docs\u0026message=Passing\u0026color=green\"/\u003e\u003c/a\u003e \n \u003ca href=\"#\"\u003e\u003cimg alt=\"coverage\" src=\"https://img.shields.io/static/v1?logo=Coverage\u0026label=Coverage\u0026message=70%\u0026color=yellowgreen\"/\u003e\u003c/a\u003e  \n \u003ca href=\"#\" alt=\"Development\"\u003e\u003cimg alt=\"Progress\" src=\"https://img.shields.io/static/v1?logo=Alpha\u0026label=Development\u0026message=Alpha\u0026color=green\"/\u003e\u003c/a\u003e \n \u003ca href=\"https://wakatime.com/badge/github/Simatwa/smartBetika\"\u003e\u003cimg src=\"https://wakatime.com/badge/github/Simatwa/smartBetika.svg\" alt=\"wakatime\"\u003e\u003c/a\u003e\n \u003c!-- \u003ca href=\"https://pepy.tech/project/smartBetika\"\u003e\u003cimg src=\"https://static.pepy.tech/personalized-badge/smartbetsapi?period=total\u0026units=international_system\u0026left_color=grey\u0026right_color=orange\u0026left_text=Downloads\" alt=\"Downloads\"\u003e\u003c/a\u003e--\u003e\n \u003ca href='#'\u003e\u003cimg src=\"https://visitor-badge.glitch.me/badge?page_id=Simatwa.smartBetika\" alt='visitors badge'/\u003e\u003c/a\u003e\n \u003c/p\u003e\u003cbr\u003e\n\n\u003e Get Football predictions based on [Betika](https://betika.com) platform.\n\nRanging from Upcoming, Sababisha, Midweek-Jackpot and Jackpot matches.\n\n![Intro-display](assets/display.gif)\n\n## Prerequisites\n\n1. [Google Chrome](https://www.google.com/chrome/)\n2. [Python \u003e=3.9](Python.org)\n3. [Git](https://git-scm.com) (Optional)\n\n## Installation and Usage\n\n### Installation \n\nEither of the following methods will help you to get started while at the terminal environment.\n\n- Cloning the repo locally.\n\n```bash\n$ git clone https://github.com/Simatwa/smartBetika.git\n$ cd smartBetika \n$ bash install.sh \n   #or\n$ sudo bash install.sh\n```\n\n- Using Python's pip\n\n ```bash\n $ pip3 install git+https://github.com/Simatwa/smartBetika.git\n ```\n\n### Usage\n\nThis script can only retrieve matches from the mentioned site thus relies on  [smartbetsAPI](https://github.com/Simatwa/smartbetsAPI) to make predictions.\n\nFire up the REST-api as stated in the [documentation](https://github.com/Simatwa/smartbetsAPI).\n\n*For instance:*\n\n```bash\n$ smartbetsAPI developer -p 8080\n```\n\n\nOn another window, execute the script parsing commands as per your needs.\n\nFor instance,if you want the script to predict a maximum of 15 matches of the day and Sababisha matches available, save the predictions in html format to `sababisha.html` file, take screenshot on every page visited and scrolls made and finally save the screenshots in `Screenshots` folder:\n\n```bash\n$ betika --normal --sababisha --predict --screenshot -dir Screenshots -tbl html\n```\n\n![html_display](assets/html_diplay.png)\n\nHere are some of html-formated predictions:\n  * [Default mode](https://github.com/Simatwa/smartBetika/raw/main/assets/all_15th_3.html)\n  * [Verbose mode](https://github.com/Simatwa/smartBetika/raw/main/assets/Mar-1-2.html)\n\nFot further info run `betika -h`:\n\n```\nusage: betika [-h] [-v] [-pn PHONE] [-pas PASSWORD] [-lg LEAGUE] [-amt AMOUNT]\n              [-scr SCROLLS] [-slp SLEEP] [-api HOST] [-user USERNAME]\n              [-psd PASWD] [-drv DRIVER] [-tbl {grid,orgtbl,pretty,html}]\n              [-dir PATH] [--disable-incognito] [--normal] [--grandjp]\n              [--midjp] [--sababisha] [--upcoming] [--predict] [--screenshot]\n              [--net] [--post] [--verbose] [--no-clear] [--display]\n              [--get-API]\n              [output]\n\nFootball-Punter's favorite girlfriend - based on Betika platform!\n\npositional arguments:\n  output                Filepath for saving the predictions\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -v, --version         show program's version number and exit\n  -pn PHONE, --phone PHONE\n                        Phone number for authenticating login [Betika]\n  -pas PASSWORD, --password PASSWORD\n                        Pass-key associated with the phone number\n  -lg LEAGUE, --league LEAGUE\n                        Filter specific league or country of the teams\n                        [Normal]\n  -amt AMOUNT, --amount AMOUNT\n                        Maximum number of matches to predict\n  -scr SCROLLS, --scrolls SCROLLS\n                        Number of times to scroll on updating matches [Normal]\n  -slp SLEEP, --sleep SLEEP\n                        Period for waiting after refreshing JS delivered\n                        contents\n  -api HOST, --host HOST\n                        Web url for the prediction API\n  -user USERNAME, --username USERNAME\n                        Username for authenticating at the API\n  -psd PASWD, --paswd PASWD\n                        Password for authenticating at the API\n  -drv DRIVER, --driver DRIVER\n                        Chromedriver executable path [download - loads new]\n  -tbl {grid,orgtbl,pretty,html}, --table {grid,orgtbl,pretty,html}\n                        Table type to be used in formatting the data\n                        [tabulate]\n  -dir PATH, --path PATH\n                        Directory for saving the screenshots\n  --disable-incognito   Start browser in non-incognito mode\n  --normal              Specifies to handle match-highlights of the day\n  --grandjp             Specifies to handle grand-jackpot matches\n  --midjp               Specifies to handle midweek-jackpot matches\n  --sababisha           Specifies to handle sababisha matches\n  --upcoming            Specifies to handle upcoming matches\n  --predict             Proceed to predicting on the matches\n  --screenshot          Take screenshot on every page visited\n  --net                 Instruct API to fetch team_data from web\n  --post                Use post method when interacting with API\n  --verbose             Output all team data in the specified filepath\n  --no-clear            Not to delete the files used by the script\n  --display             Run Chrome browser in GUI\n  --get-API             Request the API program for making predictions from\n                        the DEVELOPER.\n\n[*] This program is disseminated under MIT-FPA license.\n```\n\n## Disclaimer\n\nThe information provided in [this GitHub repo](https://github.com/Simatwa/smartBetika) is for informational purposes only. This repo should not be taken as legal, financial or any other form of professional advice. The [author of this repo](https://github.com/Simatwa) shall not be liable for any copyright-infringement issues, losses or damages incurred as a result of the information contained in this repo. \n\n## Credits\n\n- [x] [Betika](https://betika.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimatwa%2Fsmartbetika","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimatwa%2Fsmartbetika","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimatwa%2Fsmartbetika/lists"}