u/cheeseheadd02

SSL Exception When Migrating from TOA

I'm running OpenSSL 3.0.16 and trying to use this new API. Whether trying to hit the api via a raw get request via python's request module or using the python SDK, I keep getting met with the following error. Hoping someone can help (API Key redacted from query for posting purposes but it is included in the actual request)

requests.exceptions.SSLError: HTTPSConnectionPool(host='parlay-api.com', port=443): Max retries exceeded with url: /v1/sports/?apiKey=&all=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1010)')))

reddit.com
u/cheeseheadd02 — 10 days ago

I'm fairly new to this space. I've spent a few years unsuccessfully creating poor money line models until I finally got my stuff together and now have decent win models for MLB and NHL. I'm hoping to extend these models into spreads since it's just a derivative of wins, but my long term goal is to model player props for these sports.

I am aware that no one is going to share their secrets with me, but I was hoping someone could maybe point me in the right direction of how to model this. Maybe a research paper, or some tips and tricks on the process. I've mainly used Machine Learning for my moneyline models, but I'm open to other methods as well.

reddit.com
u/cheeseheadd02 — 15 days ago