Skip to content

dynata/msight-csl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynata Reporting & Analytics API

Dynata Reporting & Analytics

Python bindings for the Dynata Reporting & Analytics (MarketSight) API

The MarketSight Client API library provides Python bindings for the Dynata Reporting & Analytics API, providing a Pythonic interface for interacting with the underlying platform's RESTful APIs.


To install MarketSight API Client, just execute:

$ pip install marketsight

  • Ability to manage your Account settings within the Dynata Reporting & Analytics platform.
  • Ability to manage data within the Dynata Reporting & Analytics platform.
  • Ability to perform high-end statistical analyses on your data in the Dynata Reporting & Analytics platform.
  • Ability to produce interactive visualizations of your data and insights.
  • Ability to produce and share interactive dashboards to deliver your insights to downstream users.
  • Ability to embed or otherwise integrate the MarketSight platform into your applications.

# Import the MarketSight API Client
import marketsight

# Call the "client" factory function.
api = marketsight.client("https://application.marketsight.com/api/v1/swagger/public.json")
# Initialize the MarketSight API Client.
api = marketsight.client("https://application.marketsight.com/api/v1/swagger/public.json")

# Connect your instance to the API and authorize as a partner.
api.connect(
    client_id = "MY CLIENT ID GOES HERE",
    client_secret = "MY CLIENT SECRET GOES HERE"
)

Execute API calls to perform operations, for example:

# Retrieve an Account
account = api.Accounts.retrieve(account_id = "MY ACCOUNT ID GOES HERE")

# Retrieve a User
user = api.Users.retrieve(user_id = "MY USER ID GOES HERE")

# Retrieve a Dataset's Meta-data
dataset = api.Datasets.retrieve(dataset_id = "MY DATASET ID GOES HERE")

You can ask questions and report issues on the project's Github Issues Page


MarketSight Core is made available under an MIT License.