How to use an API (xsd format) in Python?

2018-05-10 Thread richardchausse
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. 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: How to use an API (xsd format) in Python?

2018-05-10 Thread richardchausse
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
-- 
https://mail.python.org/mailman/listinfo/python-list