Magic Kard Market SDK 0.4.0 released
Here comes another release of MKM SDK, this time we reached version 0.4.0.
We have lots of improvements for this version, we fixed a severe bug that prevented the correct use of the SDK, migrated from unittest to pytest, improved the project and tests documentation, implemented an XML serializer, refactored lots of code and added official support for Python 3.3 and 3.5.
A huge thank you goes to Emanuele Palazzetti that followed me during the project, reviewed my PRs, thought me how to better manage an open source project, and advised lots of changes for the betterment of the SDK.
We want to thank Daniel Maly for fixing a bug that didn't permit sending data to backend. Any PUT, POST or DELETE request couldn't return a positive response since no data was being sent. This is now working as intended and every request returns a positive response if correctly formatted.
Doing so we also discovered that Magic Kard Market backend only accepts XML data in its requests, even though it sends JSON data in its responses. We then decided to write a serializer to convert data to valid XML, so that the user can use Python data structure to send requests; check out the docs to see its usage.
And last but not least we reached a test coverage of 100%!
The new release is already on PyPi, pip install mkmsdk and you're ready to go.