{ "info": { "author": "Sreyas Sreelal", "author_email": "sreyassreelal@gmail.com.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# forum-py\n[![GitHub issues](https://img.shields.io/github/issues/Sreyas-Sreelal/forum-py.svg)]() [![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/sreyas-sreelal/forum-py.svg)]() [![GitHub pull license](https://img.shields.io/github/license/sreyas-sreelal/forum-py.svg)]()\n>forumpy is an unofficial SA-MP forum api.This python library ,integerated with selenium and phantomJS,helps you to automate SA-MP forum acitivities like send and get pms,threads,userinfo,contacts etc.Please view the example files for information about using these features in your python application.forumpy is still under development and has not yet been released.\n\n## Quick examples\n* ### Basic \n ```Python\n from forum.account import Account\n name = input(\"Input your forum user name : \")\n password = input(\"Input your forum password : \")\n a = Account(name,password)\n print(\"Logined with user id : \",a.id)\n print(\"\\t**Account info**\\n\",a.User.info())\n print(\"\\n\\t***Contacts***\\n\")\n print(\"\\tId\\tUsername\")\n for i in a.getcontacts():\n print(\"\\t\",i.id,\"\\t\",i.name)\n print(\"\\n\\t***Threads***\\n\")\n print(\"\\tTitle\\tRatings\\tAuthor\")\n for i in a.User.getthreads():\n print(i.title,\"\\t\",i.getrating(),\"\\t\",i.author.name)\n ```\n* ### Send and Get private messages\n ```Python\n from forum.user import User\n from forum.account import Account\n name = input(\"Input forum username : \")\n password = input(\"Input forum password : \")\n a = Account(name,password)\n print(a.getpms())\n rec_names = input(\"Input name of recipents (seperated by space) : \").split(\" \")\n users = []\n for rec_name in rec_names:\n users.append(User(a.getIdFromUserName(rec_name)))\n title = input(\"Input title : \")\n content = input(\"Input content : \")\n a.send_pm(users,title,content)\n ```\n\n`Please view examples files for more examples`\n\n## Requirements\n* Python 3.5+\n* `Selenium` library\n* `PhantomJS` headless web driver\n* `BeautifulSoup` library\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sreyas-sreelal/forum-py", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "forumpy", "package_url": "https://pypi.org/project/forumpy/", "platform": "", "project_url": "https://pypi.org/project/forumpy/", "project_urls": { "Homepage": "https://github.com/sreyas-sreelal/forum-py" }, "release_url": "https://pypi.org/project/forumpy/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "An unofficial SA-MP forum api", "version": "0.0.3" }, "last_serial": 4084766, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "919b560477509e5e8aad44fa61a8b04b", "sha256": "474e3ea880bd758c23e91c6111fed5c6ce5a9c550a316ac6cacd3d851d62c96d" }, "downloads": -1, "filename": "forumpy-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "919b560477509e5e8aad44fa61a8b04b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11751, "upload_time": "2018-07-20T05:59:39", "url": "https://files.pythonhosted.org/packages/71/c6/3ab0c8fb27a188e32ba13783271bc870cabf6989e292d1c1159ad8f3f494/forumpy-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f7cc72fb5aac28272d59a5cdd8913254", "sha256": "acdcc1c75153df79bc2fa16100846fc3e17cb239b4fee8e6d302170f7dfafcdf" }, "downloads": -1, "filename": "forumpy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f7cc72fb5aac28272d59a5cdd8913254", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7965, "upload_time": "2018-07-20T05:59:41", "url": "https://files.pythonhosted.org/packages/be/46/577a80d05c2e43cc1ca99b75034fc846da5e83e6b0846788ca36a6a1c9c0/forumpy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "6c99dfdfe99bf9ffceebcbf3e26d3b85", "sha256": "2415e721dfa624f2450755d11cbd2da81287d90335ad8e25565f66eeb48e399b" }, "downloads": -1, "filename": "forumpy-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "6c99dfdfe99bf9ffceebcbf3e26d3b85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11846, "upload_time": "2018-07-20T06:59:49", "url": "https://files.pythonhosted.org/packages/22/f4/1e5cffe007f7a7116bc29ae3713b2b5814b7896445eff48baebb8d97edb3/forumpy-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d28c616ef9fa610a5476583826501a9b", "sha256": "dc96a0060c598769c4ed9e486e6a97846c255cea17e6b34a0d10fb9600d8ae28" }, "downloads": -1, "filename": "forumpy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d28c616ef9fa610a5476583826501a9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8061, "upload_time": "2018-07-20T06:59:51", "url": "https://files.pythonhosted.org/packages/72/d5/72e09d53814bbe69951c6c5260327be6ea59ad7bcc7a8125ea63d409a1b3/forumpy-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c99dfdfe99bf9ffceebcbf3e26d3b85", "sha256": "2415e721dfa624f2450755d11cbd2da81287d90335ad8e25565f66eeb48e399b" }, "downloads": -1, "filename": "forumpy-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "6c99dfdfe99bf9ffceebcbf3e26d3b85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11846, "upload_time": "2018-07-20T06:59:49", "url": "https://files.pythonhosted.org/packages/22/f4/1e5cffe007f7a7116bc29ae3713b2b5814b7896445eff48baebb8d97edb3/forumpy-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d28c616ef9fa610a5476583826501a9b", "sha256": "dc96a0060c598769c4ed9e486e6a97846c255cea17e6b34a0d10fb9600d8ae28" }, "downloads": -1, "filename": "forumpy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d28c616ef9fa610a5476583826501a9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8061, "upload_time": "2018-07-20T06:59:51", "url": "https://files.pythonhosted.org/packages/72/d5/72e09d53814bbe69951c6c5260327be6ea59ad7bcc7a8125ea63d409a1b3/forumpy-0.0.3.tar.gz" } ] }