{"id":16398181,"url":"https://github.com/ellache/pm_py","last_synced_at":"2026-05-11T07:47:46.741Z","repository":{"id":115806887,"uuid":"401927471","full_name":"EllAchE/pm_py","owner":"EllAchE","description":"Flask server abstracting engagement with the polygon mainnet; specifically polymarket smart contracts. Supports buy, sell, redeem, listing positions etc. Built on top of existing code from PolyTrader, see README. ","archived":false,"fork":false,"pushed_at":"2022-05-19T18:05:50.000Z","size":1547,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T09:29:43.300Z","etag":null,"topics":["flask","polygon","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EllAchE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-09-01T04:12:43.000Z","updated_at":"2022-06-03T01:53:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"72524944-463a-431f-a144-88de0d4e039a","html_url":"https://github.com/EllAchE/pm_py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EllAchE/pm_py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EllAchE%2Fpm_py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EllAchE%2Fpm_py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EllAchE%2Fpm_py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EllAchE%2Fpm_py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EllAchE","download_url":"https://codeload.github.com/EllAchE/pm_py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EllAchE%2Fpm_py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262862487,"owners_count":23376405,"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":["flask","polygon","python"],"created_at":"2024-10-11T05:12:03.269Z","updated_at":"2026-05-11T07:47:41.708Z","avatar_url":"https://github.com/EllAchE.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polymarket Flask API\n\nThis project was built on top of PolyTrader's https://github.com/PolyTrader/polymarket CLI tool; this just replaces the argparse/cli methods with a local flask server. README for that CLI tool is below.\n\nRun the api locally and send trades via localhost.\n\n# trade-cli\nSimple cli tool for trading on PolyMarket\n\n### Installation on Windows\n - Install [Python](https://www.microsoft.com/en-us/p/python-39/9p7qfqmjrfp7?activetab=pivot:overviewtab) from Microsoft\n   * or download the [Python installer](https://www.python.org/ftp/python/3.9.6/python-3.9.6-amd64.exe) directly \n - Install [Visual Studio](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community\u0026rel=16) C++ Build Tools\n - Open a terminal  \n - Run `pip install polymarket-trading`\n - Run `pm-trade -h` to display help\n\n### Trading Setup\n - Create a new wallet on the matic chain\n - Create your matic RPC endpoint on https://rpc.maticvigil.com/ (or other RPC provider)\n - Set env variables\n   - POLYGON_PRIVATE_KEY\n   - MATIC_VIGIL_RPC_KEY or RPC_URI\n - Fund your trading wallet with matic and usdc\n\n#### Made some money from this tool and want to contribute? Donate to these charities.\n* [Planned Parenthood](https://www.weareplannedparenthood.org/onlineactions/2U7UN1iNhESWUfDs4gDPNg2)\n* [Fair Fight](https://secure.actblue.com/donate/fair-fight-action--inc--1)\n* [Brady Center to Prevent Gun Violence](https://www.bradyunited.org/donate/tax)\n* [The Marshall Project](https://www.themarshallproject.org/donate)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellache%2Fpm_py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fellache%2Fpm_py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellache%2Fpm_py/lists"}