Skip to content

FredrikM97/py-surepetcare

Repository files navigation

SurePetcare API Client

PyPI version Python Version License Documentation Status PyPI Downloads

Build Status Code Coverage Open in Dev Containers

About

This repository provides a Python client for accessing the SurePetcare API.

It consist of io support (surepcio) and a cli (surepccli).

For home assistant support use the hass-surepetcare

Cli support

This repo also support (to some extent) cli commands. The cli is installed with pip install .[cli] and is not included by default.

To see available commands use:

surepccli --help

However, most functionality requires login therefore use the

surepccli account login <email> 

It is possible to fetch available households with:

surepccli household

There is also support to store some properties in .env file. Check available properties to the household and device for more info.

Supported devices

  • Hub
  • Pet door
  • Feeder Connect
  • Dual Scan Connect
  • Dual Scan Pet Door
  • poseidon Connect
  • No ID Dog Bowl Connect

Contributing

Before pushing validate the changes with: pre-commit run --all-files.. Run pip install .[dev] to add dependencies for development. Start application and enable debug. The debug logs contain the request data which can be provided with a issue and for snapshot testing.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages