Skip to main content

Asynchronous library to communicate with the Opendoors API.

Project description

GitHub Release GitHub License

aioopendoors

Asynchronous library to communicate with the Opendoors API

[!IMPORTANT] As for now there is no easy way to get OAuth Client Id and Client Secret for this library. No support will be provide for all Credentials matters. Sharing, selling, or distribution access and refresh tokens is strictly prohibited. Sharing them could case serious issues for you as user!

[!IMPORTANT] This library have been implemented without any access to API documentation. Thus it is NOT an official support of Opendoors API.

[!WARNING] Use this library at your own risk as it purpose is to open/close your main house door.

Quickstart

In order to use the library, you'll need to do some work yourself to get authentication credentials.

You will have to implement AbstractAuth to provide an access token. Your implementation will handle any necessary refreshes. You can invoke the service with your auth implementation to access the API.

You need at least:

For a first start you can run the example.py, by doing the following steps

  • git clone https://github.com/caubios/aioopendoors.git
  • cd aioopendoors
  • poetry install
  • Enter your personal credentials in the _secrets.yaml and rename it to secrets.yaml
  • Run with poetry run python ./example.py

Contributing

This is an active open-source project. We are always open to people who want to use the code or contribute to it. This Python project is fully managed using the Poetry dependency manager.

As this repository uses the pre-commit framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:

poetry run pre-commit run --all-files

To run just the Python tests:

poetry run pytest

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

aioopendoors-2024.8.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

aioopendoors-2024.8.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file aioopendoors-2024.8.0.tar.gz.

File metadata

  • Download URL: aioopendoors-2024.8.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for aioopendoors-2024.8.0.tar.gz
Algorithm Hash digest
SHA256 fd81fd44d8e78d9a1135424eff461b63882ba89a727dd10fb12e2e871b1e05d6
MD5 b6ab83075908b9983f8814823877aceb
BLAKE2b-256 dd40c8c4eb40513191a0eaac593f072256d7518d73c74db0e19a14fc906ed634

See more details on using hashes here.

File details

Details for the file aioopendoors-2024.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aioopendoors-2024.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43bb1118999428b37381b44c780c9993dd1e6bbf613ba8db6ecb25142b31cb32
MD5 a74db46fdbe77ab51aecf875ffc7966e
BLAKE2b-256 25a837ea763136e366a274a6a7a46ca770b133d1603323a5d9f0803329f3d2b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page