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.2.3.tar.gz (9.2 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.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spypoint_api-0.2.3.tar.gz
  • Upload date:
  • Size: 9.2 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.3.tar.gz
Algorithm Hash digest
SHA256 c2bd8e5d297be7d41a848e1ad9d2d9c5bd34ddfc9df59fff0b8eca5500e77154
MD5 bae97dbad8ad22d9dcece9b6e08bde29
BLAKE2b-256 5ea2c85ca370daa98a3d7c0f6af44694ed6b4fa29e255617c128c56890671e7e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spypoint_api-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 05f0aa9729a78a17a4fe121078dca6c12add7d95af4cae1859a3aba6a42d55f1
MD5 38ba84703ed3c0dcd6af5a8766d43775
BLAKE2b-256 b9c2fffd2de9427efb1845bf9b1d2f698b24a2263dac5b4246e7175a62536fcb

See more details on using hashes here.

Provenance

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