Skip to main content

Maya Insights python SDK

Project description

maya-sdk

A client library for accessing Maya Insights API

Usage

import maya_sdk
maya_sdk.api_key = <API_KEY>

API Key

Replace the <API_KEY> in the examples with an api key provided from Maya Insights.

To generate a key, you could sign in to Maya on https://app.mayainsights.com on your business account (make sure you have received the invitation to join via email). From there, under Administration -> Developers you can find the API Key.

Alternatively, contact our live chat support at https://mayainsights.com.

Examples

CSV Upload

import maya_sdk
maya_sdk.api_key = <API_KEY>

with open("data.csv", "rb") as f:
    maya_sdk.files.upload_csv(category="imported_orders", file=f)

Feel free to adjust the category name to describe the data that is being sent.

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

maya_sdk-0.1.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Supported by

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