{"id":20537660,"url":"https://github.com/jhansche/pybirdbuddy","last_synced_at":"2025-08-01T06:12:01.907Z","repository":{"id":64308499,"uuid":"573316093","full_name":"jhansche/pybirdbuddy","owner":"jhansche","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-11T15:43:37.000Z","size":185,"stargazers_count":35,"open_issues_count":4,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-24T01:44:56.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhansche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-02T07:07:00.000Z","updated_at":"2025-07-13T16:15:30.000Z","dependencies_parsed_at":"2023-01-15T11:15:22.008Z","dependency_job_id":"65d4a64b-9fae-4b64-86dd-d5b7934e1354","html_url":"https://github.com/jhansche/pybirdbuddy","commit_stats":{"total_commits":69,"total_committers":3,"mean_commits":23.0,"dds":0.04347826086956519,"last_synced_commit":"694c59cb72f13751ee28fa2b4604dc7539670e36"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/jhansche/pybirdbuddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhansche%2Fpybirdbuddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhansche%2Fpybirdbuddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhansche%2Fpybirdbuddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhansche%2Fpybirdbuddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhansche","download_url":"https://codeload.github.com/jhansche/pybirdbuddy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhansche%2Fpybirdbuddy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268177897,"owners_count":24208397,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-16T00:42:13.586Z","updated_at":"2025-08-01T06:12:01.864Z","avatar_url":"https://github.com/jhansche.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pybirdbuddy\n\n```python\nimport asyncio\nimport pprint\n\nfrom birdbuddy.client import BirdBuddy\n\nbb = BirdBuddy(\"user@email.com\", \"Pa$$w0rd\")\n\n# Using coroutines with async/await:\nasync def async_test():\n    await bb.refresh()\n    pprint.pprint(bb.feeders)\n\n# Without async/await, including from a top-level module:\nresult = asyncio.run(bb.refresh())\npprint.pprint(result)\npprint.pprint(bb.feeders)\n```\n\nNote: only password login is supported currently. Google and other SSOs are not supported. If\nyou've already set up your Bird Buddy with SSO, one option could be to register a new account with\na password, and then redeem an invite code to your Bird Buddy under the new account. Some fields\nwill be missing (such as firmware versions and off-grid status).\n\nThe `feeders` property will be an array of feeders with the following fields:\n\n```graphql\nfragment ListFeederFields on FeederForPrivate {\n  battery {\n    charging    # Boolean\n    percentage  # Int (93)\n    state       # String (enum: \"HIGH\")\n  }\n  food {\n    state       # String (enum: \"LOW\")\n  }\n  id            # String (UUID)\n  name          # String\n  signal {\n    state       # String (enum: \"HIGH\")\n    value       # Int (rssi: -41)\n  }\n  state         # String (enum: \"READY_TO_STREAM\")\n  temperature {\n    value       # Int\n  }\n}\n```\n\n## Translations\n\nAPI responses can return translated strings by setting the client's `language_code` property.\nLanguage codes are parsed using [`langcodes`](https://pypi.org/project/langcodes/)\n\n```python\nfrom birdbuddy import BirdBuddy\n\nasync def main():\n    bb = BirdBuddy\n    bb.language_code = \"de\"\n    \n    collections = await bb.refresh_collections()\n    birds = [c.species.name for c in collections.values()]\n    print(birds)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhansche%2Fpybirdbuddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhansche%2Fpybirdbuddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhansche%2Fpybirdbuddy/lists"}