{ "info": { "author": "Smoose BV", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# WHMCSpy\n\nWHMCSpy is a Python interface to the WHMCS REST API.\n\n[![PyPI version](https://badge.fury.io/py/whmcspy.svg)](https://badge.fury.io/py/whmcspy)\n[![Documentation Status](https://readthedocs.org/projects/whmcspy/badge/?version=latest)](https://whmcspy.readthedocs.io/en/latest/?badge=latest)\n\n## Usage\n\nCreate a WHMCS interface with the API URL and credentials and use it to\ncall the API.\n\n```python\nimport whmcspy\n\nwhmcs = whmcspy.WHMCS(\n 'https://example.com/whmcs/includes/api.php',\n 'identifier',\n 'secret')\nwhmcs.accept_order(2)\n```\n\nIn general API methods can be called as methods in the WHMCS class. For\navailable API methods see the [WHMCS API reference](\nhttps://developers.whmcs.com/api-reference/).\nNote that the casing of the methods differ from the API actions. While the\nAPI actions are CamelCased the methods are snake_cased.\n\n### Calling unimplemented actions\n\nNot all API actions are implemented as Python methods (they will be\nimplemented as required, of course pull-requests are accepted). In order to\ncall actions that are not yet implemented [call()] can be used. Example:\n\n```python\nresponse = whmcs.call(\n 'SomeAction',\n param=value,\n list_param=[\n element,\n element2,\n ]\n)\n```\n\nSee the [call()] documentation for more info.\n\nSome actions return batches of results. To iterate over all results multiple\nrequests need to be done. For this a convenience method is added:\n[paginated_call()]\nThis method is a generator which yields batches. Using keywords additional\nparams are accepted. Example:\n\n```python\nfor response in whmcs.paginated_call(\n 'GetOrders'):\n for order in response['orders']['order']:\n print(order)\n```\n\n[call()]: https://whmcspy.readthedocs.io/en/latest/whmcspy.html#whmcspy.api.WHMCS.call\n[paginated_call()]: https://whmcspy.readthedocs.io/en/latest/whmcspy.html#whmcspy.api.WHMCS.paginated_call\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Smoose-bv/whmcspy", "keywords": "whmcs api library", "license": "GPL-3", "maintainer": "", "maintainer_email": "", "name": "whmcspy", "package_url": "https://pypi.org/project/whmcspy/", "platform": "", "project_url": "https://pypi.org/project/whmcspy/", "project_urls": { "Homepage": "https://github.com/Smoose-bv/whmcspy" }, "release_url": "https://pypi.org/project/whmcspy/0.3.0/", "requires_dist": [ "requests (>=2.21.0)" ], "requires_python": "", "summary": "Python interface to the WHMCS API.", "version": "0.3.0" }, "last_serial": 5096500, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7fbc5169fb7feb6a59932c5459fe5bb0", "sha256": "4fc525d38b64eab60381c2c54d06e166decdf91d45f0d1aa38b0822001ca9753" }, "downloads": -1, "filename": "whmcspy-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7fbc5169fb7feb6a59932c5459fe5bb0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15786, "upload_time": "2019-01-21T15:40:25", "url": "https://files.pythonhosted.org/packages/4a/61/e3ae331b1ec473eae762cf93fc19fe84ee6287ffa14a247fd1b556bf7f0a/whmcspy-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec19fcf6d90308123a7979251bee3990", "sha256": "52e94c1ce8ab4e99be2c552c0a713dae32fbbebd5856822dc0ec841e6010cf5e" }, "downloads": -1, "filename": "whmcspy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ec19fcf6d90308123a7979251bee3990", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2881, "upload_time": "2019-01-21T15:40:27", "url": "https://files.pythonhosted.org/packages/df/d0/c6d974189b58a84a4c4a1228cea20dbb5a83542d703df3f76610b6866e41/whmcspy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "318fb9d0a0e7fcab60f975817db11035", "sha256": "28a9297cc6d9da3333d2c7a53a2e2b6aa7dc9f4676bbe1ae7a806b19d44f142a" }, "downloads": -1, "filename": "whmcspy-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "318fb9d0a0e7fcab60f975817db11035", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15887, "upload_time": "2019-01-22T09:11:37", "url": "https://files.pythonhosted.org/packages/36/41/8985d636b8728cdaf83c1489ea56bdac13d73b9f2545a43233084a909fec/whmcspy-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e9bbe4063848de9accae0bd582b4682", "sha256": "e1f487b55fc5975f2b07e4ac498c99d4d77d32ba1cbbf94ff3e22218b5d4bcad" }, "downloads": -1, "filename": "whmcspy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6e9bbe4063848de9accae0bd582b4682", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2999, "upload_time": "2019-01-22T09:11:38", "url": "https://files.pythonhosted.org/packages/b6/9c/2525a062353aaf33397e3223e38681f00e1b2bc71349f51cd4cb0c88c137/whmcspy-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "fdf429e5e8b4808fcfa9b380c18e1a4d", "sha256": "578cf987a6e680ac5a2085e1d10f23017e2cb44803a256c85c46ba5bf840a6ff" }, "downloads": -1, "filename": "whmcspy-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "fdf429e5e8b4808fcfa9b380c18e1a4d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15883, "upload_time": "2019-01-29T12:07:59", "url": "https://files.pythonhosted.org/packages/c1/64/e82bd819874d9ed28d2e4f794e4c63c8a3410a71d107d5c539d5c6cbe8f0/whmcspy-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0312e079356ba9af97fcdc7a2489b87", "sha256": "7591083aaf2978508688506227b31fb03da1e73102dd4d96688edb8c34a8ec15" }, "downloads": -1, "filename": "whmcspy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a0312e079356ba9af97fcdc7a2489b87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2998, "upload_time": "2019-01-29T12:08:01", "url": "https://files.pythonhosted.org/packages/ef/a0/fd9f19f7572e975ab6895b6fc988c197ccbcfd7ec9bd4a14f80b6d2a9068/whmcspy-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d4f182d60868b4620ab79cb462c02521", "sha256": "d8f9fc18af9618813971c0f9c7d1dc6a6e1af138b487167cf8ddad21d2e5653f" }, "downloads": -1, "filename": "whmcspy-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d4f182d60868b4620ab79cb462c02521", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15892, "upload_time": "2019-01-29T12:45:48", "url": "https://files.pythonhosted.org/packages/0f/b7/f0e1b6930d66c50f6bff920acaa657f768eebbde743314c17b2e11380ffe/whmcspy-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b9bdbd9ed16e91c1110458c9cc18088", "sha256": "de73eca4ae54bcf8888b2fbf015f85328062734fd13d0518cc4e7a43e568a46f" }, "downloads": -1, "filename": "whmcspy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3b9bdbd9ed16e91c1110458c9cc18088", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2996, "upload_time": "2019-01-29T12:45:49", "url": "https://files.pythonhosted.org/packages/6d/5f/a8a1edd7e149bd720900d698d61e689970af6b46cac26aa7dea490372a9e/whmcspy-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "36aba9d8e5c83dc45cd6ceed69f285e1", "sha256": "fbf9a7a60e890d6f342b26fc67d0b330c9ea6db781145c8211182a8e740f824f" }, "downloads": -1, "filename": "whmcspy-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "36aba9d8e5c83dc45cd6ceed69f285e1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16269, "upload_time": "2019-01-31T15:29:23", "url": "https://files.pythonhosted.org/packages/d9/58/df4d140926ce10dea475b177fe117f93c227ecd0abe6a4c76b57640f68fa/whmcspy-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "957fa01a8b52b22e34ae6be5f7180407", "sha256": "cdb6d1f0032f911f698bb8f7172652a471716bddd12c489cb93de9252433c89d" }, "downloads": -1, "filename": "whmcspy-0.1.4.tar.gz", "has_sig": false, "md5_digest": "957fa01a8b52b22e34ae6be5f7180407", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3367, "upload_time": "2019-01-31T15:29:25", "url": "https://files.pythonhosted.org/packages/1f/8b/52eef76b3f8413e56b8c7aae042b61bafffecae0d1511aca6e6dfb867862/whmcspy-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "c117250f132493794d6262833a30455a", "sha256": "48088dbdcea3a3685996959c1c92b7adeb545da3701e7a0eee4a228498f9471d" }, "downloads": -1, "filename": "whmcspy-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c117250f132493794d6262833a30455a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17111, "upload_time": "2019-02-05T11:30:54", "url": "https://files.pythonhosted.org/packages/49/1c/8656df039ab6fdc5f2a7494ef4b4b40e19a1f25ad6a065c3c9d62d549640/whmcspy-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03f3921a9e755d16f62af22946038a91", "sha256": "50f2d114ee169b2ceaecaef0864ffa7bcfe8086a0558005da438936ce5df8224" }, "downloads": -1, "filename": "whmcspy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "03f3921a9e755d16f62af22946038a91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4240, "upload_time": "2019-02-05T11:30:56", "url": "https://files.pythonhosted.org/packages/75/ca/074abf9444831adbf167b7e5ffc09dba6ef1aa69da38ba644b9ca4885c5f/whmcspy-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "05c245878f07b26cfa73b772bceeb80b", "sha256": "0ab53b6289347877c845bf878ad89b189fb13c48a78c06af5b3a9cd60cf1ea7c" }, "downloads": -1, "filename": "whmcspy-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "05c245878f07b26cfa73b772bceeb80b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17280, "upload_time": "2019-02-25T15:58:56", "url": "https://files.pythonhosted.org/packages/03/fc/0776d45cc2a44334ce7fbf075e4d76ea804e9669caaf2045dcdc060447fa/whmcspy-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "64b57754791677b72858c348b31f4bed", "sha256": "714546b20a5ce37fc0672cb1db93c3a26615ecff5234fc18a9f90c4a9d500b76" }, "downloads": -1, "filename": "whmcspy-0.1.6.tar.gz", "has_sig": false, "md5_digest": "64b57754791677b72858c348b31f4bed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4447, "upload_time": "2019-02-25T15:58:58", "url": "https://files.pythonhosted.org/packages/08/a2/c1358d82b1dc5d48de4338be77a26502229ccc1855f7b7593fffc53e7cbb/whmcspy-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "606c30add3b6e9b9099cff611ca2e92c", "sha256": "28d70e609e2707dd67969a9281ea2deafdeea091dc109afac48758b80a05315f" }, "downloads": -1, "filename": "whmcspy-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "606c30add3b6e9b9099cff611ca2e92c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6440, "upload_time": "2019-03-21T09:09:33", "url": "https://files.pythonhosted.org/packages/db/9c/a95b2a77a5545d23635cf703086fa19a95f723fc0ee544cb603d23f3895c/whmcspy-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f2b8107339990da5f3dab1979000ff54", "sha256": "5c04c5565207f004eba1b9eae02e04ad859e593a807300aaa15fb85abc79a86d" }, "downloads": -1, "filename": "whmcspy-0.1.7.tar.gz", "has_sig": false, "md5_digest": "f2b8107339990da5f3dab1979000ff54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4728, "upload_time": "2019-03-21T09:09:34", "url": "https://files.pythonhosted.org/packages/2f/ec/4d97a0aa24ec2abb94c211f8d4b988323fa683c533c2be01a048c331c88a/whmcspy-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "091b14ef507965db8aeb90fe7e9dded8", "sha256": "b62e87227f4156c6539dbacc1bf8082604474300d9cb7a44ee862fdf7ba278fd" }, "downloads": -1, "filename": "whmcspy-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "091b14ef507965db8aeb90fe7e9dded8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7517, "upload_time": "2019-03-22T13:42:26", "url": "https://files.pythonhosted.org/packages/ab/c9/789297d5a9d7641ab8403412d4ebb1a281147b7059f7225107d6f8327615/whmcspy-0.1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8d26d961bd08bf7f96f1fe070553928", "sha256": "2f917c0275ad6575325c034ebddf9398ff5263201ba959bff8a67f5e888e22c4" }, "downloads": -1, "filename": "whmcspy-0.1.8.tar.gz", "has_sig": false, "md5_digest": "b8d26d961bd08bf7f96f1fe070553928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5305, "upload_time": "2019-03-22T13:42:27", "url": "https://files.pythonhosted.org/packages/f7/ee/c6201a449546d4470be267f1c85ae86cfa4ba06f615e92e38b18259bcebd/whmcspy-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "3fbc1b14e501b33a229802693fb59aa5", "sha256": "455f01b4d452da170583e2f9113144787011f1f5c0bd4694b4dde37854783b99" }, "downloads": -1, "filename": "whmcspy-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "3fbc1b14e501b33a229802693fb59aa5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7517, "upload_time": "2019-03-22T13:49:27", "url": "https://files.pythonhosted.org/packages/5b/d0/e9e0b74fcb63997508c54c88e88cd381691fb8a0ecab618e0ee8d464b186/whmcspy-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4ffa0c2c97a72fb1139833f7accc3cbf", "sha256": "86433a34ce5664c435acfc5261e670bb342d234de7a036fd3ded3eed8765a0df" }, "downloads": -1, "filename": "whmcspy-0.1.9.tar.gz", "has_sig": false, "md5_digest": "4ffa0c2c97a72fb1139833f7accc3cbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5299, "upload_time": "2019-03-22T13:49:29", "url": "https://files.pythonhosted.org/packages/a3/a6/abca9ea67a98c2d128e89ebd2559b1a8f3283c9047288e6ea37f842eaf98/whmcspy-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "8426e9c80a95b13062f7abd0947badd0", "sha256": "6758368a6fbfd7bb40d52144266461d48af5000d3e2dbecf19b57b1e256c140c" }, "downloads": -1, "filename": "whmcspy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8426e9c80a95b13062f7abd0947badd0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7612, "upload_time": "2019-04-04T08:11:51", "url": "https://files.pythonhosted.org/packages/76/74/b56d4caed380c11ab4f702a37c4e3f2e8d4e69ae4776b1b73919eb669693/whmcspy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88969f1df94a265aea0f5cd7a9cd66fc", "sha256": "9a4fda28ca02306ea8f518beabc08f094c86fa6b36bb102a2fc04e6ca97e0185" }, "downloads": -1, "filename": "whmcspy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "88969f1df94a265aea0f5cd7a9cd66fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5392, "upload_time": "2019-04-04T08:11:52", "url": "https://files.pythonhosted.org/packages/0e/57/ad14e4b6cce4ae0da874efadc0cc24b19a1950bf2bd871cea7d34933342e/whmcspy-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "15629d3d76424e8a914f1b30d6b49069", "sha256": "9e4caae34dc9dbdb2cbff24d6e86a413d6f9efd5134fd418bd3aa6881c1b2483" }, "downloads": -1, "filename": "whmcspy-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "15629d3d76424e8a914f1b30d6b49069", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7838, "upload_time": "2019-04-04T10:48:49", "url": "https://files.pythonhosted.org/packages/2d/af/a3d154020bd977ffc60fd0c6291503b694a23faae7ead92de970ded2101d/whmcspy-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e2615348edac8be976816da30d5852f", "sha256": "49e325074a051fa6b200d17028d62cf6c78ac54fc3bbe0a3d3f0ef263a7207a1" }, "downloads": -1, "filename": "whmcspy-0.3.0.tar.gz", "has_sig": false, "md5_digest": "2e2615348edac8be976816da30d5852f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5607, "upload_time": "2019-04-04T10:48:50", "url": "https://files.pythonhosted.org/packages/4c/6b/f918878e395a92bfe303be6c1124d662390e57cde571b1c29729121f178d/whmcspy-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "15629d3d76424e8a914f1b30d6b49069", "sha256": "9e4caae34dc9dbdb2cbff24d6e86a413d6f9efd5134fd418bd3aa6881c1b2483" }, "downloads": -1, "filename": "whmcspy-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "15629d3d76424e8a914f1b30d6b49069", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7838, "upload_time": "2019-04-04T10:48:49", "url": "https://files.pythonhosted.org/packages/2d/af/a3d154020bd977ffc60fd0c6291503b694a23faae7ead92de970ded2101d/whmcspy-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e2615348edac8be976816da30d5852f", "sha256": "49e325074a051fa6b200d17028d62cf6c78ac54fc3bbe0a3d3f0ef263a7207a1" }, "downloads": -1, "filename": "whmcspy-0.3.0.tar.gz", "has_sig": false, "md5_digest": "2e2615348edac8be976816da30d5852f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5607, "upload_time": "2019-04-04T10:48:50", "url": "https://files.pythonhosted.org/packages/4c/6b/f918878e395a92bfe303be6c1124d662390e57cde571b1c29729121f178d/whmcspy-0.3.0.tar.gz" } ] }