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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spypoint_api-0.1.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for spypoint_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f61d209928b953b236d7e81e55efc37179894801cce79a7a627dd99a1e4bb5d5
MD5 f5f9056b37ca3aa6e83f79c3453aff2d
BLAKE2b-256 4897ccac06accd1d4df30c94e8fa7104e217463f946ddcc1464efc320e08f11c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spypoint_api-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for spypoint_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 324863fc28251e70950780583fc99fcb96ff52bb126958e66eff8b98b4b85ecd
MD5 73453c2e049f98dca0154fa7f41becd1
BLAKE2b-256 695fd9e60fe97e2b6a5ad747b8de18f608d41475020237a64d4fcb34b47e29f2

See more details on using hashes here.

Provenance

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