tuomur / python-odata

A simple library for read/write access to OData services
MIT License
79 stars 59 forks source link

ODATA and JSON request #17

Closed geilerloui closed 6 years ago

geilerloui commented 6 years ago

Hi, I have tried to launch a request with a JSON format like the one we can find on this link; http://services.odata.org/V3/OData/OData.svc/Products?$format=json

which is from this website, just below Read an EntitySet: https://blogs.msdn.microsoft.com/leohu/2013/10/04/odata-and-json-payload-examples/

I did:

url_test = "http://services.odata.org/V3/OData/OData.svc/Products?$format=json"

service = ODataService(url, reflect_entities=False)

service.entities['ID']

but it doesnt work

thanks for your help