Coder Social home page Coder Social logo

dianjing360_python_wrapper's Introduction

This is a lightweight python wrapper for interacting with the 360 Dianjing API

Installation

First, clone the repository into your directory.

git clone https://github.com/adamhoffstein/dianjing360_python_wrapper.git

Then, create a virtual environment and set the following environment variables:

(only if you are using AWS)
360_GOOGLE_SHEET: The Google sheet you want to export the data to
GDRIVE_API_CREDENTIALS: Your Google drive api credentials. Check pygsheets's documentation for service_account_env_var for more information

(required)
360_ACCOUNT
360_PASSWORD
360_API_KEY
360_API_SECRET

Then, run:

pip install -r requirements.txt

Usage

You can check out the lambda_function.py file to see basic usage of the wrapper.

The module adds a Q360Base session object which is used to run the following types of reports:
Campaign Reports
Fengwu Reports
Fengwu Realtime Reports
Region Reports

dianjing360_python_wrapper's People

Contributors

adamhoffstein avatar

Watchers

 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.