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.1.tar.gz (8.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.2.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spypoint_api-0.2.1.tar.gz
  • Upload date:
  • Size: 8.9 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.1.tar.gz
Algorithm Hash digest
SHA256 8df34295d0bc12b6253ce91a1d06fa3fc7e0b3f77a93d85990174212bbbe3a6b
MD5 bea20ad789c5580e5b734c2bc6071859
BLAKE2b-256 3d64b0bd53f269d419d7080218640222213b3d1d5b61d1c7e82145d508dde4a1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spypoint_api-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9473019d83286eff6fc4a665e544f4eb79824720c828db64954343499226febf
MD5 b4d27f8849d6bb48a89bae793397c156
BLAKE2b-256 215f3162f5af96def4c81a0a095703f81a0b8a1e12970f37129d9f4af750dc9e

See more details on using hashes here.

Provenance

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