Skip to main content

Python bindings for the MarketSight API

Project description

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.


Installation

To install MarketSight API Client, just execute:

$ pip install marketsight

Dependencies


Key MarketSight API Features

  • 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.


Hello, World and Basic Usage

1. Initialize the Library

# Import the MarketSight API Client
import marketsight

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

2. Authorize Against the API

# 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"
)

3. Call the API

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")

Questions and Issues

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


License

MarketSight Core is made available under an MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marketsight-0.1.2.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marketsight-0.1.2-py2.py3-none-any.whl (18.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file marketsight-0.1.2.tar.gz.

File metadata

  • Download URL: marketsight-0.1.2.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for marketsight-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ef7328af6ec75447d977fb1c24833de7c4ec35177dcb16ac1c1b7423307c9f50
MD5 e8f615c5256cc86df4c563a4bd5d5e7c
BLAKE2b-256 e91c3a0fadad111a851b9f9a6662bf973d8bedd149547e35f0e907cffe11490d

See more details on using hashes here.

File details

Details for the file marketsight-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: marketsight-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for marketsight-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe35a1d3cb5ae86845c144a456625b83f9bfa6873e4091df6467ecdcffb829ef
MD5 d81530c2b640fd199d967d85bb026539
BLAKE2b-256 db3094e2a8aa410181d98d0e8afc571cd4f98d33d57eefe4f6392dbdb673e0a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page