Skip to main content

Library to communicate with Spypoint REST api

Project description

Build, test and publish

spypoint-api

Library to communicate with Spypoint REST API.

Usage

import aiohttp
import asyncio
import os

from spypointapi import SpypointApi


async def run():
    async with aiohttp.ClientSession() as session:
        api = SpypointApi(os.environ['EMAIL'], os.environ['PASSWORD'], session)

        cameras = await api.async_get_cameras()
        for camera in cameras:
            print(camera)


asyncio.run(run())

Build and test locally

make install
make test
make build

Release version

make release bump=patch|minor|major

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

spypoint_api-0.0.3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

spypoint_api-0.0.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file spypoint_api-0.0.3.tar.gz.

File metadata

  • Download URL: spypoint_api-0.0.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for spypoint_api-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3a3f17a6f86eb76501749eae70d695e59f3d538761d0812dcf884bc9ea36cd80
MD5 25e0d3a82dcffbf061c9a9a5438f3613
BLAKE2b-256 35404e4dedf1913d908ab2d4c47fd957af313440434acbc5dff86700b6e7e31e

See more details on using hashes here.

Provenance

The following attestation bundles were made for spypoint_api-0.0.3.tar.gz:

Publisher: publish.yml on happydev-ca/spypoint-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spypoint_api-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: spypoint_api-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for spypoint_api-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 88148f378dd5deec2072b2cde7578ebab1bf13a116222dd370aac8b64c2c888e
MD5 67f710c15581de62ef65e26c0d7d1162
BLAKE2b-256 e471a889e82acf6e0061cacf146e7b2d51ccc3cd99d629b5c6d0348bf5422b86

See more details on using hashes here.

Provenance

The following attestation bundles were made for spypoint_api-0.0.3-py3-none-any.whl:

Publisher: publish.yml on happydev-ca/spypoint-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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