This page will give you the change that are occuring when a new version has been published on pypi. The changes have been tracked starting version 0.1.0
importConfigFileandconfigureaccept a newreturn_object=Trueparameter that returns an isolatedConfigObjinstance instead of updating global state. This enables loading multiple credential files simultaneously without them overwriting each other.- New
ConfigObjclass inconfigs.py: owns deep-copiedconfigandheaderdicts, exposes aconfig_objectproperty alias, and supports**unpacking so it can be passed directly toLoginorAnalytics. Login.__init__andAnalytics.__init__now acceptNoneas the default forconfig/config_objectandheader, falling back to the global config at call time (backward-compatible).Analyticsalso acceptsconfigas an alias forconfig_objectto support**cfgunpacking from aConfigObj.- Token and client_id isolation confirmed: the internal
AdobeRequestconnector deep-copies both the config dict and the header, so eachAnalyticsinstance manages its own independent token lifecycle.
- refactor of the connector.py file to better handle the token generation, refreshing token and retries.
- refactor of the
getReport2method to better handle the filters and breakdowns. Also being more robust on the parsing of the data returned by Adobe Analytics API 2.0. - Allow a configObject to be generated from the
configuremethod and use it to generate the token for better flexibility.
- adding the data feed API capabilities
- getDataFeeds
- getDataFeed
- getDataFeedRequests
- updateDataFeed
- createDataFeed
- reprocessDataFeedRequest
- resendDataFeedRequest
- getDataFeedColumnNames
- createColumnPreset
- getColumnPreset
- adding
createDateRangemethod
Patch: - improving classification methods
- adding the
datarepairmodule andDataRepairclass documentation - adding the
DataRepairJobCreatorclass indatarepairmodule, documentation - adding annotationCreator module and class documentation
- refactor of the documentation to allow id of the method for better shareability
- simplify header creation for requests
- adding new share management methods:
- getShares
- getShare
- getShareComponents
- deleteShare
- updateShare
- adding
getReportSuiteTimeZonesmethod - adding methods on data sources:
- getDataSourceAccounts
- getDataSourceAccount
- getDataSourceJobs
- getDataSourceJob
- sendDataToDataSource
- createDataSourceAccount
- deleteDataSourceAccount
- improve datawarehouse requests
- create the
dwhCreatormodule with theDwhCreatorclass documentation - add Cloud methods:
- getCloudAccounts
- getCloudAccountProperties
- getCloudLocations
- getCloudLocation
- createCloudLocation
- updateCloudLocation
- deleteCloudLocation
- updateCloudAccount
- improve
getUsers - improving test scenarios
Patch: - fix
datetimereference in datarepair API - adding
getReportWaitmethod in Legacy API documentation - adding
getReportSuite - adding
createReportSuite - fixing
getUsers
- adding
getAlertsmethod - adding
classificationsmethods.- getClassificationDatasets
- getClassificationDataset
- getClassificationJobs
- getClassificationJob
- deleteClassification
- importClassification
- createExportClassification
- getExportClassificationFile
- getClassificationTemplate
- adding
datawarehousemethods.- getDataWarehouseReports
- getDataWarehouseReport
- resendDataWarehouseReport
- getDataWarehouseScheduledRequests
- getDataWarehouseScheduledRequest
Patch :
- fixing issue on getClassificationDatasets method
- adding more methods to classication
- improving standard for
retryparameters. - adding capability for reading reports (
summary,trendedandranked) out of the 1.4 Reporting API viatransformReportToDataFrame(see LegacyAnalytics) - adding the
createDataWarehouseScheduledRequestmethod - adding the
ReportBuilder14class for building query on legacy API (see LegacyAnalytics) - adding
publishingStatusin the getSegmentsextendedInfocapability - adding
complexityandlastRecordedAccessinextendInfoingetProjects
- updating legacy methods to support new system
- migrating to V3 auth token generation
- fixing the
Projectclass for dynamic dimensions - supporting pandas 2.0.0 for concatenation
Patch: - fix on full extract for
dimensionsandmetrics. - fix on save to
getReport2 - adding support for other folder location for ingestion files.
- supporting Oauth Token V2
- Oauth Token V2 is the new default support when creating a config file
- better respecting existing parameter via getReport2
- raising exception on error for generating token
- deepcopying the request made to
getReport2method to avoid modification on original variable. - supporting passing the
formatparameter to be alogger.setFormatter()instance when passing the logger object.
PATCH: - adding the
validateProjectmethod - Supporting the old version for the legacy
retrieveTokenmethod with the new method for JWT. - changing some methods to support new pandas version
- adding the width parameter on scheduling report.
- parameterization of the logger generation + add new info for logging info on GET requests Patch: \
- adding
shareComponentmethod (from @loldenburg) - resolving metrics name (from @loldenburg)
- fixing issue when using dynamic filter on report for
getReport2method. - supporting requests for getReport2 for static row and resolve column
- fix issue that getReport2 does not respect the JSON configure option for none-behavior and countRepeatInstances
- Adding annotation methods
- getAnnotations
- getAnnotation
- createAnnotation
- updateAnnotation
- deleteAnnotation
- Add a
getDateRangemethod
- adding the
workspacemodule that allow more dynamic and better presentation of the data. Documentation - adding the getReport2 method and documentation
- Improving the RequestCreator class by adding
- easy load of JSON files
- capability to setSearch
- remove all metrics
- Support RequestCreator instance in the getReport methods
- adding more scheduleJob methods:
- getScheduledJob for specific job
- createScheduledJob
- deleteScheduledJob
- updateScheduledJob
- getDeliverySettings
- getDeliverySetting
- createDeliverySetting
- updateDeliverySetting
- deleteDeliverySetting
- adding update methods documentation
- Fixing references of the EventType for Audit Log
LOGS_EVENT_TYPEattribute.
Patch: - renaming some scheduleReport method typo.
- supporting old report request without statistics info
- Fix an issue where segments were not considered in findComponentUsage when they were used in columns
- adding
RequestCreatorclass (documentation) - fix issue when logging object error the output of failed calls.
Patch : - adding encoding capability for
validationandsendFilesmethod in theBulkapiclass. - Improving consistency for reading project dictionaries on
Projectclass instanciation
- Adding the
getScheduledJobsendpoint - Adding logging capability (documentation)
- Fixing some typo on regex used for
findComponentUsage - Adding better docstring for some methods. Patches:
- Fix issue on
getScheduleJobs - improve
createConfigFilemethod - improving Documentation
- adding better log from the GET requests
- adding the
decodeAArequestsmethod (documentation). - upgrading requirement libraries
- cleaning legacy methods not supported anymore (getData,postData,putData,deleteData,getCompanyId) Patch:
- adding
deleteDateRangemethod - changing requirements back for pandas to 0.25.3
- adding
compareReportSuitesmethod. (documentation) - adding
reportTypeas attribute from projects. Eitherdesktopormobile - adding
versionandcurationattributes by default on dict version ofproject - adding
scanSegmentandscanCalculatedMetricmethods. (documentation) - adding
rsidSuffixparameter forProjectclass (documentation),findComponentUsage(documentation) andgetAllProjectDetails(documentation)
Patch: - Adding description parameter option in
getMetrics - Most of
saveparameter will get timestamp - Fix
rsidPrefixasrsidSuffixparameter forfindComponentUsagemethod. - Fix generator exhausted when trying to use recursive mode in
findComponentUsage. - Change default comparison to retrieve all columns from dimensions and metrics.
- Change search for elements to support rsidSuffix in
findComponentUsage - fixed scan when no segment are used.
getSegmentsandgetMetricsreturn now shares information- adding
429status code handling for delete and patch requests. - adding
cacheoption parameter forgetProjects,getProjectandgetAllProjectDetails - Fixing
Projectclass that was expecting global filters to be used.
- adding limited capability for 1.4 API see documentation
- Sepearating the Project Class to its own submodule
- Improve classes representation
- Adding
getAllProjectDetailsmethod - Adding
projectsDetailsattributes on the Analytics instance that stores the projectDetail in a dictionary. - Adding
listProjectIdsattributes that stores the result ofgetProjectsmethod in arawformat. - Adding the
getCalculatedMetricmethod in the module. - Adding validate methods for calculatedMetric and Segment
- Update documentation for Projects elements
- adding missing dependency file
- adding the
getTopItemsmethod
- Better error description when receiving report without
lastPagekey. - Adding the User Logs Usage endpoint.
- Adding attribute
restTimeon Connector class to modify the waiting time when reaching error 429 (Too many requests) - Better handling of the 429 error for the GET method. Not required to have a the retry parameter.
- fix issue when token needed to be updated after 24h.
- fix issue on
_checkingDatemethod inAdobeRequest
- Upgrade compatibility for PyJWT 2.0.0.
- Fix return element for
sendFilesmethod on the Bulkapi class for ingestion method. - Improve management of throttle limit for getReport.
- Fix default statement for
getVirtualReportSuitethat save the result automatically. - Improve return type statement
- Fix legacy method to retrieve token that was broken by the new capability.
- Adding an optional parameter to pass directly the private.key as a string to the
configuremethod - Update documentation get-started & docstring for
configuremethod.
- Improving documentation
- Fixing duplication for Project class analyzer.
Now elementsUsed & nbElementsUsed are using deduplicated values. - Adding updateProject and createProject methods (beta - not tested)
- Improving retry parameter behavior on GET methods
- Improving Project class consistency
- Dropping usage of modules.py for handling dependency
- Fix updateDateRanges and updateVirtualReportSuite
- Adding Projects endpoints (getProjects, getProject, deleteProject)
- Adding Project Data class to easily extract information of project
- adding support for the Tags components
- adding new API for connecting without a config file
- update documentation for server connection
- adding the updateVirtualReportSuite method
- adding the updateCalculatedMetrics method
- update deleteCalculatedMetrics to deleteCalculatedMetric
- update getCalculatedMetrics to respect the inclType as parameter.
- update getVirtualReportSuites to add the inclType parameter
- fix modules importing in the ingestion module
- fix header on Bulk Ingestion API class.
- update the getReport method with limit parameter
- rename "Loggin" class to "Login" class.
- update documentation
- Changing Architecture on the requests to Adobe Analytics API for the main class.
This add the following functionalities:
- retry parameter : a parameter that set the number of time you want to retry a GET method if the first one fails.
- independance between Analytics instances : possibility to use the same script for 2 loggins company or even 2 experiences clouds API access.
- Possibility to start directly with Analytics class if you already know you companyId.
- Adding a new class Loggin that enables you to retrive the companyId
- Ensuring that legacy methods (getCompanyId) is still available from the main module.
- Adding test for GET methods of the core library (Analytics class)
- Adding test documentation for setting tests
- Adding release information