Skip to main content

SnowShoeStamp Client Api Library

Project description

Overview

This is a sdk package that can be used in your python code as a plugin to be able to transfer a properly encoded string that represents stamp points to SnowShoe servers and get a response with stamp information.

Installing

You can install snowshoe-stamp-sdk via the PIP package.

$ pip install snowshoe-stamp-sdk

Getting Started

  1. To be able to use this SDK tool you need to create an app first. You can learn how to HERE

  2. Make sure you get the API Key that you will need to run requests. You can learn more about the API Keys HERE

  3. The stamp data passed to our servers is an array of x,y coordinates. These represent the touch points from the stamp that you are trying to get data for. If you are using our front-end jquery plugin (more info on this located HERE) to capture stamp touch point data, then you can just pass that data directly through for the request with no need to change.

  4. Here is a simple example that uses the mock data ([[264,172],[267,371],[242,286],[69,375],[66,221]]) to test that the plugin sdk installed and is working properly.

    $ python
    >>> from sssapi import Client
    >>> client = Client(api_key="INSERT_YOUR_API_KEY_HERE")
    >>> response = client.call("[[264,172],[267,371],[242,286],[69,375],[66,221]]")
    >>> print(response)

This should print out an unformatted JSON string showing a 'serial' of 'DEVA'. Formatted properly it should look more like this:

{
   "stamp":{
      "serial":"DEVA",
      "customName":"DEVA"
   },
   "receipt":"2b6a57a3-2862-4af9-b529-bcdbe13c0453",
   "created":"2020-02-05T20:10:39.8967579Z"
}

The information returned here is the data about the stamp relating to the points and api key you sent in the request. For more info on stamp data requests and returns go HERE

More info

  • This sdk extension is made for simplistic retrieval of stamp data from our servers through the python language when your server uses this as it's primary code, such as a django server structure.
  • For more info on how to use our product visit: https://snowshoe.readme.io/v3.0/docs

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

snowshoe-stamp-sdk-3.0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

snowshoe_stamp_sdk-3.0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file snowshoe-stamp-sdk-3.0.3.tar.gz.

File metadata

  • Download URL: snowshoe-stamp-sdk-3.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for snowshoe-stamp-sdk-3.0.3.tar.gz
Algorithm Hash digest
SHA256 4770e6e2e3dffec30c0c5eff5bec99480fe26dc64e965a5397b6b45472b94dea
MD5 5a9f4b39d5d81f8ac2c399de838bc566
BLAKE2b-256 e4f7043a12ec18c3d68720953ba3ec5330bdda83a5fd7d6287c916894215ee81

See more details on using hashes here.

File details

Details for the file snowshoe_stamp_sdk-3.0.3-py3-none-any.whl.

File metadata

  • Download URL: snowshoe_stamp_sdk-3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for snowshoe_stamp_sdk-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a23c89b4bd7838dbc66e37c11e7c28e133c9bf759a1b2a34468dda9adba9f30
MD5 6f1bdfeba01a15e3489536886d412338
BLAKE2b-256 69bcb4818bcdf1f3100f6938ef0a6532966c29febf16aea1a61e7e67b5436aee

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