{ "info": { "author": "Ivan Moshkov", "author_email": "ivan@moshkov.pro", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "python_justclick\n================\nhttps://github.com/moshkov/python_justclick\n\n.. image:: https://img.shields.io/pypi/v/python_justclick.svg\n :target: https://pypi.python.org/pypi/python_justclick\n\n.. image:: https://img.shields.io/pypi/dm/python_justclick.svg\n :target: https://pypi.python.org/pypi/python_justclick\n\n.. image:: https://img.shields.io/pypi/l/python_justclick.svg\n :target: https://pypi.python.org/pypi/python_justclick\n\n\n\u0417\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438\n-----------\n\n- Python 2.7+, 3.4+\n- requests\n\n\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\n---------\n\n.. code-block:: bash\n\n $ pip install python_justclick\n\n\u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Django, \u0442\u043e \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c JUSTCLICK_USERNAME \u0438 JUSTCLICK_API_KEY.\n\n\n\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\n--------\n\n*Python JustClick API*\n\n\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 API JustClick. \u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430 \u0432 \u0433\u0440\u0443\u043f\u043f\u044b (AddLeadToGroup) \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0447\u043b\u0435\u043d\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430 \u0432 \u0433\u0440\u0443\u043f\u043f\u0430\u0445 (GetLeadGroupStatuses).\n\n- JustClick: http://justclick.ru/\n- \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 API: http://help.justclick.ru/archives/category/api\n\n\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\n-------------\n\n.. code-block:: python\n\n from python_justclick.justclick import JustClickConnection\n\n justClickConnection = JustClickConnection('YOU_JUSTCLICK_USERNAME', 'YOU_JUSTCLICK_API_KEY')\n\n result = justClickConnection.add_lead_to_group(['group1', 'group2'], 'lead@email.local', {\n \"doneurl2\": \"https://your-site.local/success\",\n \"lead_name\": \"Vasya Pupkin\",\n })\n\n if result['error_code'] == 0:\n print 'success'\n\n ...\n\n\u0414\u043b\u044f Django (\u0435\u0441\u043b\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0437\u0430\u0434\u0430\u043d\u044b JUSTCLICK_USERNAME \u0438 JUSTCLICK_API_KEY):\n\n.. code-block:: python\n\n from python_justclick.python_justclick_django import justClickConnection\n\n result = justClickConnection.add_lead_to_group(['group1', 'group2'], 'lead@email.local', {\n \"doneurl2\": \"https://your-site.local/success\",\n \"lead_name\": \"Vasya Pupkin\",\n })\n\n if result['error_code'] == 0:\n return HttpResponseRedirect(reverse('thanks'))\n\n ...\n\n\nTODO\n----\n\n1. \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u0432\u0435\u0440\u0430 API \u043d\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c\n2. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b API JustClick\n3. \u0422\u0435\u0441\u0442\u044b\n4. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/moshkov/python_justclick", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "python_justclick", "package_url": "https://pypi.org/project/python_justclick/", "platform": "", "project_url": "https://pypi.org/project/python_justclick/", "project_urls": { "Homepage": "https://github.com/moshkov/python_justclick" }, "release_url": "https://pypi.org/project/python_justclick/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Python JustClick API", "version": "0.1.3" }, "last_serial": 3361805, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8c65f3afdba01528524a16d4ff21ec06", "sha256": "4fc8855b6fa98ac861765918bb32e46da062502ed25e81c808026576b7092c1f" }, "downloads": -1, "filename": "python_justclick-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8c65f3afdba01528524a16d4ff21ec06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4871, "upload_time": "2016-08-14T15:13:09", "url": "https://files.pythonhosted.org/packages/af/ef/980d94f2455d2e55be1c4ff0ee99485b0074c8e656e9fafef56b06c012df/python_justclick-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ba8ef4c4ac1b356eac549aa3bbe0a6e7", "sha256": "950dc6efe25cdc199ced5ca72dbf8725a2e24dee97d7134d98356f768ab37295" }, "downloads": -1, "filename": "python_justclick-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ba8ef4c4ac1b356eac549aa3bbe0a6e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4990, "upload_time": "2017-04-26T08:49:40", "url": "https://files.pythonhosted.org/packages/87/75/f603bff7bafc33bf418160fd7fcd33827c53df4acdb88dd732a70799f8d7/python_justclick-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a4234ae9c64b034d42d8dd4f251bed04", "sha256": "975c85d62fd8865149f73a08df1892b1915aff4a1d80daae493dd97cfe20e9ef" }, "downloads": -1, "filename": "python_justclick-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a4234ae9c64b034d42d8dd4f251bed04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5046, "upload_time": "2017-11-24T20:05:42", "url": "https://files.pythonhosted.org/packages/5c/68/805c6ddd34daa030444db7f1b545b8a18469675e239aab4d71a5d080f546/python_justclick-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a4234ae9c64b034d42d8dd4f251bed04", "sha256": "975c85d62fd8865149f73a08df1892b1915aff4a1d80daae493dd97cfe20e9ef" }, "downloads": -1, "filename": "python_justclick-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a4234ae9c64b034d42d8dd4f251bed04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5046, "upload_time": "2017-11-24T20:05:42", "url": "https://files.pythonhosted.org/packages/5c/68/805c6ddd34daa030444db7f1b545b8a18469675e239aab4d71a5d080f546/python_justclick-0.1.3.tar.gz" } ] }