I'm trying to build a mobile client for the alpaca markets trading api, the official sdk from alpaca (alpaca-py) installs via pip through stash but it also requires the (alpaca-trade-api) which fails install due to dependencies which require c compilation.
As a workaround I was going to build my own framework that just uses the raw api calls through the requests module but I keep getting SSL errors. I assume it has to do with iOS not trusting the server side certificate, is there any known workaround for this?
Even more strange is if I build the exact same api call through shortcuts using the "get contents of url" block I get a server error (I assume it's a certificate error) but if I use a shortcut provided by the Rest app from the AppStore it validates and I get the expected response.
As a side note I installed Pyto and get the exact same error. The Rest app must be providing its own certificate, is there a way to force pythonista to do the same??