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 venv
source .venv/bin/activate
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.2.5.tar.gz (9.3 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.2.5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spypoint_api-0.2.5.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spypoint_api-0.2.5.tar.gz
Algorithm Hash digest
SHA256 b77c82149e8a8bc793c8bb4df470463498d9aca8074fb5f6022a142bc74a9a68
MD5 adc0f64a219ce53007760596c7a59dd0
BLAKE2b-256 03675e5ea5b78b6c94dc832eabe8ce3ba3586794b7fcbbe39094998d8e9b040e

See more details on using hashes here.

Provenance

The following attestation bundles were made for spypoint_api-0.2.5.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.2.5-py3-none-any.whl.

File metadata

  • Download URL: spypoint_api-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spypoint_api-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0aae0581ce5970f0fe23b9ce4466b4560498dd2d0ef731efff39e5a0d4c23a
MD5 d9ecbce60cb4f47960229840f68f5ae3
BLAKE2b-256 8542507208fa865ac36824f21976cf82d8144bb276794b09ca40c1327032cb41

See more details on using hashes here.

Provenance

The following attestation bundles were made for spypoint_api-0.2.5-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