spaceuptech / space-api-python

Apache License 2.0
6 stars 3 forks source link

Make the response a class, instead of a dictionary #15

Closed AliabbasMerchant closed 5 years ago

AliabbasMerchant commented 5 years ago

It is better to return an object, than a dictionary.

YourTechBud commented 5 years ago

So all the other implentations return a Response object, which returns the servers response in the type the user wants it. You can checkout the java api for reference.