{"id":24755552,"url":"https://github.com/zefirka/bobot","last_synced_at":"2025-10-11T01:31:47.353Z","repository":{"id":62560305,"uuid":"65109505","full_name":"zefirka/bobot","owner":"zefirka","description":"Telegram Bot API wrapper for Python","archived":false,"fork":false,"pushed_at":"2019-10-01T23:13:26.000Z","size":527,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-25T09:05:49.937Z","etag":null,"topics":["bot-api","python","telegram","telegram-api","telegram-bot"],"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/zefirka.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-07T01:18:23.000Z","updated_at":"2023-01-22T12:28:07.000Z","dependencies_parsed_at":"2022-11-03T14:15:13.664Z","dependency_job_id":null,"html_url":"https://github.com/zefirka/bobot","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefirka%2Fbobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefirka%2Fbobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefirka%2Fbobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefirka%2Fbobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zefirka","download_url":"https://codeload.github.com/zefirka/bobot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236019692,"owners_count":19082143,"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":["bot-api","python","telegram","telegram-api","telegram-bot"],"created_at":"2025-01-28T12:48:00.965Z","updated_at":"2025-10-11T01:31:46.894Z","avatar_url":"https://github.com/zefirka.png","language":"Python","readme":"# bobot [![Build Status](https://travis-ci.org/zefirka/bobot.svg?branch=dev0.1.0)](https://travis-ci.org/zefirka/bobot)\n\n# v0.1.5\n\nSimple Telegram Bot API wrapper for Python \n\n```\n$ pip install bobot\n```\n\n## Usage\n\n#### Initialize bot\n```python\nimport bobot\n\n# Create instance of bot\nbot = bobot.init(TOKEN)\n\n# setup telegram api webhook\nbot.setWebhook(webHookUrl)\n```\n\n#### Subscribe on messages\n\n```python\n# by value of message text\nbot.on('hello', 'hello yourself bro!') # set up request and response\n\n# create message handlers\ndef sayHello(update):\n\tmessage = update.get('message')\n\tname = message.get('from').get('first_name')\n\ttext = message.get('text')\n\treturn '{0}, dear {1}'.format(text, name)\n\n# create rule to handle update\nrule = Rule({\n\t'match': ['hello', 'aloha'],\n\t'response': sayHello\n})\n\n# and assign that rule to bot\nbot.rule(rule)\n```\n\n## Documentation\n\n### [Bot API](https://github.com/zefirka/bobot/tree/master/docs/API.md)\n### [Rules](https://github.com/zefirka/bobot/tree/master/docs/Rule.md)\n### [Responses](https://github.com/zefirka/bobot/tree/master/docs/Responses.md)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzefirka%2Fbobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzefirka%2Fbobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzefirka%2Fbobot/lists"}