{ "info": { "author": "LibreLabUCM", "author_email": "librelabucm@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# teleg-api-bot\n\nTelegram Api for new bot system\n\n## Getting started\n\nThis project uses Python 3, so you should probably install that, if you haven't already.\n\nYou should probably take a look at our [Getting Started](https://github.com/LibreLabUCM/teleg-api-bot/wiki/Getting-started-with-the-Telegram-Bot-API) wiki page.\n\n## Usage\n\nDependencies: Python 3.4, py-yaml\n\n\"main.py\" is the main file to run. It is an example of a bot.\n\nExample bot:\n\n```python\n\n#!/usr/bin/python\nfrom telegbot import telegbot\nfrom logger import logger\nlogger = logger()\nimport time,json\n\ndef receive_message(msg):\n if msg[\"date\"] < time.time() - 2:\n return # old\n logger.msg(msg)\n if msg[\"text\"] == \"/help\":\n bot.sendMessage(msg[\"chat\"][\"id\"], \"Text\")\n\n\nbot = telegbot('TOKEN')\nbot.on_receive_message = receive_message\nbot.run()\n\n```\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LibreLabUCM/teleg-api-bot", "keywords": null, "license": "GNU General Public License (GPL)", "maintainer": null, "maintainer_email": null, "name": "teleg-api-bot", "package_url": "https://pypi.org/project/teleg-api-bot/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/teleg-api-bot/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/LibreLabUCM/teleg-api-bot" }, "release_url": "https://pypi.org/project/teleg-api-bot/0.0.111/", "requires_dist": null, "requires_python": null, "summary": "Wrapper to Telegram bots API", "version": "0.0.111" }, "last_serial": 1626566, "releases": { "0.0.11": [ { "comment_text": "", "digests": { "md5": "1b669bccb1fd1cabbe7e9f28df53bdd6", "sha256": "8d450e8afeeba16508d5cd5ac974863c06521d6f66487fc8483e9d2dc127d680" }, "downloads": -1, "filename": "teleg-api-bot-0.0.11.tar.gz", "has_sig": false, "md5_digest": "1b669bccb1fd1cabbe7e9f28df53bdd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19050, "upload_time": "2015-07-09T14:26:29", "url": "https://files.pythonhosted.org/packages/4a/86/7bf79d3123ce9467e00a65da92f599cb2dd1310b0cca15a195bfa26daa97/teleg-api-bot-0.0.11.tar.gz" } ], "0.0.111": [ { "comment_text": "", "digests": { "md5": "d12340f7d6e705adf5fc2c7a2c26ee09", "sha256": "b7670446ce698f976088f645b564194710f766a198710241a813d14424d675eb" }, "downloads": -1, "filename": "teleg-api-bot-0.0.111.tar.gz", "has_sig": false, "md5_digest": "d12340f7d6e705adf5fc2c7a2c26ee09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19627, "upload_time": "2015-07-09T15:48:05", "url": "https://files.pythonhosted.org/packages/96/eb/395b00348565d98157c715c92f844d8f66fbccd9f2142bcfa1df22e4d43a/teleg-api-bot-0.0.111.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d12340f7d6e705adf5fc2c7a2c26ee09", "sha256": "b7670446ce698f976088f645b564194710f766a198710241a813d14424d675eb" }, "downloads": -1, "filename": "teleg-api-bot-0.0.111.tar.gz", "has_sig": false, "md5_digest": "d12340f7d6e705adf5fc2c7a2c26ee09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19627, "upload_time": "2015-07-09T15:48:05", "url": "https://files.pythonhosted.org/packages/96/eb/395b00348565d98157c715c92f844d8f66fbccd9f2142bcfa1df22e4d43a/teleg-api-bot-0.0.111.tar.gz" } ] }