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

Uploaded Source

File details

Details for the file maya_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: maya_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for maya_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 04fc75fad9f7face693dc5b2347ff94e98b2c4d4cebbc8e58358bc3e10c4079b
MD5 81393cc40ed03f584dca9b59d42b612e
BLAKE2b-256 9827ff21ff3233672158ecdf82c5812ae4b558341f9595dc73d512774213eeec

See more details on using hashes here.

Provenance

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