How to use an API (xsd format) in Python?
Mark Lawrence
breamoreboy at gmail.com
Thu May 10 14:21:21 EDT 2018
On 10/05/18 19:10, richardchausse at gmail.com wrote:
> 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
>
Is this http://www.davekuhlman.org/generateDS.html of any use to you?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-list
mailing list