atomx-api-python changelog¶
1.7¶
- Add
editable
parameter toatomx.Atomx.report()
. - Add
dsp
reporting scope. - Add
daterange
parameter toatomx.Atomx.report()
. - When accessing a model attribute, attributes that are atomx models will now
automatically returned as
atomx.models.AtomxModel
instead 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()
takestotp
parameter for users that have 2-factor auth enabled.atomx.Atomx.search()
takesindex
parameter to only search specific models.- Add support to remove models from the API. See
atomx.models.AtomxModel.delete()
. - Add
atomx.Atomx.remove()
. - Add
save
parameter toatomx.Atomx.report()
. - Add new models:
1.5¶
atomx.Atomx.report()
takesname
parameter to name reportsremove
network
scope inatomx.Atomx.report()
and addnetwork_managed
,network_buy
,network_sell
Add new models:
Add
atomx.models.Report.save()
to editname
andemails
of aatomx.models.Report
atomx.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
pickle
support 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.models
models. (Useful for POST to the /domains endpoint) - Add
atomx.models.ScheduledReport
atomx.Atomx.report()
acceptswhen
andinterval
to create aatomx.models.ScheduledReport
1.3¶
- Add
atomx.Atomx.delete()
to send aHTTP DELETE
request 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.Atomx
to 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