{ "info": { "author": "Daniil Chizhevskij", "author_email": "daniilchizhevskij@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "VK Delivery\n===========\n\n|Python 3.5| |VK API 5.80| |GNU GPL|\n\n``VK Delivery`` is a script for automatically sending to users of\nVKontakte communities. The script is written in ``Python 3`` using\n``VK API``.\n\nDependencies\n============\n\n|vk> = 2.0|\n\nUsage\n=====\n\nInstall this package from pip using ``pip3 install vkdelivery`` command.\n\nArguments\n=========\n\nRequired:\n\n- ``tokens``: list of the VK community access tokens (*85-digit\n strings*);\n- ``group_id``: your community ID (*integer*).\n\n``vkdelivery.send()`` method:\n\n- ``message``: your message for the delivery (*string up to 4096\n sybmols*);\n- ``dialogs``: list of the required users\u2019 IDs (*integers*).\n\nAdditional:\n\n- ``ui``: whether to display current progress (*boolean*).\n\nMethods\n=======\n\n- ``vkdelivery.get()``\n\n - Arguments:\n\n - ``tokens`` (reqiured);\n - ``group_id`` (reqiured);\n - ``ui``.\n\n - Output format: list of the current community\u2019s dialogs\n (``[user_1, user_2, ..., user_n]``).\n\n- ``vkdelivery.send()``\n\n - Arguments:\n\n - ``tokens`` (reqiured);\n - ``group_id`` (reqiured);\n - ``message`` (reqiured);\n - ``dialogs`` (reqiured);\n - ``ui``.\n\n - Output format: ``True`` expression.\n\n- ``vkdelivery.getandsend()``\n\n - Arguments:\n\n - ``tokens`` (reqiured);\n - ``group_id`` (reqiured);\n - ``message`` (reqiured);\n - ``ui``.\n\n - Output format: ``True`` expression.\n\nErrors\n======\n\n- ``vk.exceptions.VkAPIError``: standard VKontakte error;\n- ``KeyError``: one of arguments is missing or invalid.\n- ``SystemError``: one of arguments is invalid.\n\nContacts\n========\n\n|Daniil Chizhevskij|\n\n.. |Python 3.5| image:: https://img.shields.io/badge/Python-3.5-blue.svg\n :target: https://python.org\n.. |VK API 5.80| image:: https://img.shields.io/badge/VK%20API-5.80-blue.svg\n :target: https://vk.com/dev/manuals\n.. |GNU GPL| image:: https://img.shields.io/github/license/daniilchizhevskii/vk-delivery.svg\n :target: /\n.. |vk> = 2.0| image:: https://img.shields.io/badge/vk-%3E=2.0-green.svg\n :target: https://vk.com/antiparasite_package\n.. |Daniil Chizhevskij| image:: https://img.shields.io/badge/Mail-Daniil%20Chizhevskij-orange.svg\n :target: mailto:daniilchizhevskij@gmail.com", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DaniilChizhevskii/vkdelivery", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "vkdelivery", "package_url": "https://pypi.org/project/vkdelivery/", "platform": "", "project_url": "https://pypi.org/project/vkdelivery/", "project_urls": { "Homepage": "https://github.com/DaniilChizhevskii/vkdelivery" }, "release_url": "https://pypi.org/project/vkdelivery/0.5/", "requires_dist": null, "requires_python": "", "summary": "Module for sending to users of Vkontakte communities.", "version": "0.5" }, "last_serial": 5225620, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "297ca498167d905e64a46dda721cc61e", "sha256": "b414871793c2ab4996f999d2e57ccbd1022dbf68b04324306ce1999d877d7631" }, "downloads": -1, "filename": "vkdelivery-0.5.tar.gz", "has_sig": false, "md5_digest": "297ca498167d905e64a46dda721cc61e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3112, "upload_time": "2019-05-04T13:37:47", "url": "https://files.pythonhosted.org/packages/91/66/1c0736a1b4da9445cb71b3ed816f4a687d31abdf303ab9d1ded3c6d21cf0/vkdelivery-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "297ca498167d905e64a46dda721cc61e", "sha256": "b414871793c2ab4996f999d2e57ccbd1022dbf68b04324306ce1999d877d7631" }, "downloads": -1, "filename": "vkdelivery-0.5.tar.gz", "has_sig": false, "md5_digest": "297ca498167d905e64a46dda721cc61e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3112, "upload_time": "2019-05-04T13:37:47", "url": "https://files.pythonhosted.org/packages/91/66/1c0736a1b4da9445cb71b3ed816f4a687d31abdf303ab9d1ded3c6d21cf0/vkdelivery-0.5.tar.gz" } ] }