aknik / pytile

A simple Python API for Tile® Bluetooth trackers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pytile: A Simple Python Library for Tile® Bluetooth trackers

https://travis-ci.org/bachya/pytile.svg?branch=master https://api.codeclimate.com/v1/badges/71eb642c735e33adcdfc/maintainability

pytile is a simple Python library for retrieving information on Tile® Bluetooth trackers (including last location and more).

This library is built on an unpublished, unofficial Tile API; it may alter or cease operation at any point.

Installation

$ pip install pytile

Usage

import pytile

client = pytile.Client('email@address.com', 'password12345')
client.get_tiles()

# => {"version":1,"revision":1,"timestamp":"2017-11-03T20:21:48.855Z","timestamp_ms":1509740508855,"result_code":0,"result":{"12988abcd712":{"tileState":{"uuid":"1298add778","connectionStateCode": ....

Contributing

  1. Check for open features/bugs or initiate a discussion on one.
  2. Fork the repository.
  3. Install the dev environment: make init.
  4. Enter the virtual environment: pipenv shell
  5. Code your new feature or bug fix.
  6. Write a test that covers your new functionality.
  7. Run tests: make test
  8. Build new docs: make docs
  9. Add yourself to AUTHORS.rst.
  10. Submit a pull request!

About

A simple Python API for Tile® Bluetooth trackers

License:MIT License


Languages

Language:Python 96.4%Language:Makefile 3.6%