{"id":20503967,"url":"https://github.com/taeguk/github_listener","last_synced_at":"2025-06-21T06:40:48.305Z","repository":{"id":57434593,"uuid":"54892107","full_name":"taeguk/github_listener","owner":"taeguk","description":"The simple library that calls user's registered functions whenever github events happen. (ex, notification)","archived":false,"fork":false,"pushed_at":"2016-06-09T06:55:15.000Z","size":532,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T11:11:11.822Z","etag":null,"topics":["github","library","python3"],"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/taeguk.png","metadata":{"files":{"readme":"README.rst","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":"2016-03-28T12:54:54.000Z","updated_at":"2024-06-03T02:21:02.000Z","dependencies_parsed_at":"2022-08-27T23:11:23.468Z","dependency_job_id":null,"html_url":"https://github.com/taeguk/github_listener","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeguk%2Fgithub_listener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeguk%2Fgithub_listener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeguk%2Fgithub_listener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeguk%2Fgithub_listener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taeguk","download_url":"https://codeload.github.com/taeguk/github_listener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573728,"owners_count":21126890,"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":["github","library","python3"],"created_at":"2024-11-15T19:35:18.400Z","updated_at":"2025-04-13T20:47:39.978Z","avatar_url":"https://github.com/taeguk.png","language":"Python","readme":"Github Listener\n=====================\n\n.. image:: https://img.shields.io/pypi/v/github_listener.svg\n    :target: https://pypi.python.org/pypi/github_listener\n\n.. image:: https://img.shields.io/pypi/dm/github_listener.svg\n    :target: https://pypi.python.org/pypi/github_listener\n\nThe simple library that calls user's registered functions whenever github events happen.\n\n\nHow to install\n-----------------\n\nYou can install Github Listener using pip :\n\n.. code-block:: bash\n\n    $ pip install github_listener\n\n\nFeature Support\n--------------------\n\n- Notification\n- ...If you have things you want, please tell me through issues_.\n\n.. _issues: https://github.com/taeguk/github_listener/issues\n\n\nExample\n---------------\n\n.. code-block:: python\n\n    from github_listener import (\n      GithubAccount,\n      GithubListener,\n    )\n    \n    account = GithubAccount(\"username\", \"password\")\n    listener = GithubListener(account)\n    \n    @listener.notification\n    def on_notification(change):\n      # Do things that you want to do whenever the github's notification occurs.\n      pass\n    \n    listener.run()  # infinite loop\n\n\n.. code-block:: python\n\n    from github_listener import GithubAccount\n    from github_listener.github_api import NotificationAPI\n\n    account = GithubAccount(\"username\", \"password\")\n    api = NotificationAPI(account)\n    groups = api.get_notification_groups()\n    \n    # Do something using notification informations.\n\nFor more detail examples, Go Examples_.\n\n.. _Examples: https://github.com/taeguk/github_listener/tree/master/examples\n\n\nContribution\n-----------------\nWelcome any kind of contribution!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaeguk%2Fgithub_listener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaeguk%2Fgithub_listener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaeguk%2Fgithub_listener/lists"}