atomx-api-python changelog¶
1.7¶
- Add
editableparameter toatomx.Atomx.report(). - Add
dspreporting scope. - Add
daterangeparameter toatomx.Atomx.report(). - When accessing a model attribute, attributes that are atomx models will now
automatically returned as
atomx.models.AtomxModelinstead of leaving them as dict. atomx.models.AtomxModel.reload()takes kwargs parameteratomx.Atomx.delete()can take a atomx.models instance as argument- Add new models:
1.6¶
atomx.Atomx.login()takestotpparameter for users that have 2-factor auth enabled.atomx.Atomx.search()takesindexparameter to only search specific models.- Add support to remove models from the API. See
atomx.models.AtomxModel.delete(). - Add
atomx.Atomx.remove(). - Add
saveparameter toatomx.Atomx.report(). - Add new models:
1.5¶
atomx.Atomx.report()takesnameparameter to name reportsremove
networkscope inatomx.Atomx.report()and addnetwork_managed,network_buy,network_sellAdd new models:
Add
atomx.models.Report.save()to editnameandemailsof aatomx.models.Reportatomx.Atomx.get()also accepts a model class or instance as resource argument. E.g.:atomx_api.get(atomx.models.Advertiser)oratomx_api.get(atomx.models.Advertiser(42))Add
picklesupport foratomx.models.Save HTTP headers in
atomx.Atomx.last_response.Add history support.
atomx.models.AtomxModel.history().Use api version 3:
* Fast reporting. No more polling if reports are ready. * Use authentication token in HTTP header instead of cookies. * Model and attribute changes
1.4¶
- Change default API version to v2
- If
atomx.Atomx.post()returns a list, auto-convert list of objects to a list ofatomx.modelsmodels. (Useful for POST to the /domains endpoint) - Add
atomx.models.ScheduledReport atomx.Atomx.report()acceptswhenandintervalto create aatomx.models.ScheduledReport
1.3¶
- Add
atomx.Atomx.delete()to send aHTTP DELETErequest to the api atomx.Atomx.get()andatomx.Atomx.delete()accept non-keyword arguments that are used to compute the final resource path- Add emails parameter to
atomx.Atomx.report() - Model attributes that are dates get automatically converted to a python
datetime - When saving a model, dates, sets and decimals get automatically converted to there json counterpart
- Add save_response parameter to
atomx.Atomxto save the response meta data of the last api call
1.2¶
- You can now remove model attributes with del
- Add
atomx.models.Report.csv()property that returns the report content as a list - Save logged in user as user property to
atomx.Atomx - Add network reports
- Try to determine report scope from user access rights if no scope was specified
1.1¶
- Fix: setup.py not working under some environments (open used wrong codec)
- Add SellerProfile model
- Add offset parameter to
atomx.models.Report.get()
1.0¶
- First release