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.2.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.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spypoint_api-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 4db3c7eb5d809e2fd0db7e5708f712b9ced282b932801dd56d12494edd481e19
MD5 9aa3255d12a5263a28ad1f2e5d961033
BLAKE2b-256 03cb72869620ae1ba6e85d6868f926e4a9772921f9acc0586976e8f64db8d4c5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spypoint_api-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 10805c05695dd9c3e1b10accebe2bb8c0307a4c694d0baaf2436c0f0598c64ed
MD5 5bb06c2802ef45b5d09f64b7a0aefa76
BLAKE2b-256 ef700b389bcd8949dcd147fc426016f613282b91fce5d3e67fa3694f136d1704

See more details on using hashes here.

Provenance

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