GithubHelp home page GithubHelp logo

visitishan / adobe-analytics-2.0-wrapper-python Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 427 KB

Python wrapper for the Adobe analytics API 2.0

Python 0.79% Jupyter Notebook 99.21%
adobe analytics python api 2 wrapper wrapper-api adobe-analytics

adobe-analytics-2.0-wrapper-python's Introduction

Adobe-analytics-2.0-wrapper-python

Python wrapper for the Adobe analytics API 2.0

To generate OAuth Access token -

Refer video tutorials - https://www.youtube.com/watch?v=lrg1MuVi0Fo And - https://www.youtube.com/watch?v=j1kI3peSXhY

Sample Code

Replace the values in aaaaaaaaaaaaaaaa with your values

import analytics2wrap as aa
import json
import requests

company_id = 'aaaaaaaaaaaaaaaaaaaa'
auth_token = "Bearer aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
client_id = 'aaaaaaaaaaaaaa'
date_range = '2019-03-01T00:00:00.000/2019-04-01T00:00:00.000'

#global_comapny_id will look like aaaaaaaaa.bbbbbb.digitalwebsite
global_company_id = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

headers, reporturl = aa.create_con(auth_token,company_id,client_id)

# this will return key value pairs of dimention items with their item ids
dimention = aa.get_item_id('dimention',date_range,global_company_id)
print(mobile)

adobe-analytics-2.0-wrapper-python's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.