{"id":13580614,"url":"https://github.com/lwestenberg/bold_smart_lock","last_synced_at":"2025-04-06T02:32:06.924Z","repository":{"id":41481336,"uuid":"425619972","full_name":"lwestenberg/bold_smart_lock","owner":"lwestenberg","description":"This package implements the Bold Smart Lock API to authenticate and unlock a Bold smart lock. Usage of this API requires a Bold Connect.","archived":false,"fork":false,"pushed_at":"2023-01-31T09:18:49.000Z","size":38,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-03T00:04:11.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lwestenberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-07T21:27:25.000Z","updated_at":"2024-12-17T13:33:01.000Z","dependencies_parsed_at":"2023-02-16T17:46:13.308Z","dependency_job_id":null,"html_url":"https://github.com/lwestenberg/bold_smart_lock","commit_stats":null,"previous_names":["westenberg/bold_smart_lock"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwestenberg%2Fbold_smart_lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwestenberg%2Fbold_smart_lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwestenberg%2Fbold_smart_lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwestenberg%2Fbold_smart_lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwestenberg","download_url":"https://codeload.github.com/lwestenberg/bold_smart_lock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426214,"owners_count":20937083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:01:53.603Z","updated_at":"2025-04-06T02:32:06.597Z","avatar_url":"https://github.com/lwestenberg.png","language":"Python","readme":"# Bold Smart Lock Python Package\nThis package implements the Bold Smart Lock API to authenticate and unlock a Bold smart lock. Usage of this API requires a Bold Connect.\n\n## Installation\nTo install dependencies during development run ```pip install .``` from the project directory.\nOptionally use the included VSCode Dev Container to get a preconfigured envirionment.\n\n## Usage\n\n```python\nimport asyncio\nimport aiohttp\nfrom bold_smart_lock.auth import AbstractAuth\n\nfrom bold_smart_lock.bold_smart_lock import BoldSmartLock\n\nclass TestAuth(AbstractAuth):\n    async def async_get_access_token(self) -\u003e str:\n        return \"00000000-0000-0000-0000-000000000000\"  # Obtain an access token with oAuth2 and specify it here\n\nasync def main():\n  async with aiohttp.ClientSession() as session:\n    auth = TestAuth(session)\n    bold = BoldSmartLock(auth)\n\n    # Get the devices and device permissions\n    get_device_permissions_response = await bold.get_device_permissions()\n    print(get_device_permissions_response)\n\n    # Activate the smart lock by device id\n    remote_activation_response = await bold.remote_activation(12345)\n    print(remote_activation_response)\n\n    # Deactivate the smart lock by device id\n    remote_deactivation_response = await bold.remote_deactivation(12345)\n    print(remote_deactivation_response)\n\nasyncio.run(main())\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwestenberg%2Fbold_smart_lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwestenberg%2Fbold_smart_lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwestenberg%2Fbold_smart_lock/lists"}