Metadata-Version: 1.1
Name: spot-sdk
Version: 2017.9.4.3
Summary: SDK for the find me spot
Home-page: https://github.com/gregology/spot-sdk
Author: Greg Clarke
Author-email: greg@gho.st
License: MIT
Description: ========
        Spot SDK
        ========
        
        .. image:: https://badge.fury.io/py/spot-sdk.svg
            :target: https://badge.fury.io/py/spot-sdk
        
        .. image:: http://img.shields.io/badge/license-MIT-yellow.svg?style=flat
            :target: https://github.com/gregology/spot-sdk/blob/master/LICENSE
        
        .. image:: https://img.shields.io/badge/contact-Gregology-blue.svg?style=flat
            :target: http://gregology.net/contact/
        
        Overview
        --------
        
        Simple SDK for extracting messages from Spot's API
        
        Installation
        ------------
        
        ``spot-sdk`` is available on PyPI
        
        http://pypi.python.org/pypi/spot-sdk
        
        Install via ``pip``
        ::
        
            $ pip install spot-sdk
        
        Or via ``easy_install``
        ::
        
            $ easy_install spot-sdk
        
        Or directly from ``spot-sdk``'s `git repo <https://github.com/gregology/spot-sdk>`
        ::
        
            $ git clone git://github.com/gregology/spot-sdk.git
            $ cd spot-sdk
            $ python setup.py install
        
        Basic usage
        -----------
        ::
        
            >>> from spot_sdk import Feed
            >>> api_key = 'abcdefghijklmnopqrstuvwxy01234567'
            >>> feed = Feed(api_key)
            >>> feed.count()
            6
            >>> feed.first.type
            'UNLIMITED-TRACK'
            >>> feed.first.battery_state
            'GOOD'
            >>> feed.last.latitude
            42.000
            >>> feed.last.latitude
            datetime(2017, 1, 1, 0, 42, 0)
        
        
        Running Test
        ------------
        ::
        
            $ python spot-sdk/tests.py
        
        Python compatibility
        --------------------
        
        Developed for Python 3. May work but not tested in Python 2.
        
Keywords: spot
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
