How to use an API (xsd format) in Python?
richardchausse at gmail.com
richardchausse at gmail.com
Thu May 10 14:10:56 EDT 2018
On Thursday, May 10, 2018 at 1:54:11 PM UTC-4, Chris Angelico wrote:
> > I need to get some data from CME Group which provides a public API to download (xsd)
> > What packages should I use in Python to access this data through this API. Thank you.
>
> Depends a lot on the API, and I have no idea what CME Group is doing
> (or who that even is); but my first thought would be to grab the
> 'requests' package. If it's any sort of HTTP download, requests is
> usually the best way to do it.
>
> ChrisA
They provide Margin Requirements numbers attached to each future contract. The XSD file provide the XML Schema. I'm not sure what to do with that xsd.
https://www.cmegroup.com/confluence/display/EPICSANDBOX/Margin+Service+API+-+Requests
More information about the Python-list
mailing list