{ "info": { "author": "Lucas Lobosque", "author_email": "lucas.lobosque@contentools.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "# Python Wordpress API\n\n[![Pypi][pypi-image]][pypi-url]\n[![Updates][pyup-image]][pyup-url]\n\n\nSimple python wrapper around the Wordpress REST API. Supports authentication using Basic Auth.\n\nAll endpoints for the following resources are available:\n\n* Posts\n* Media\n* Post Types\n* Taxonomies\n* Categories\n* Tags\n* Users\n\nThese endpoints will be implemented soon:\n\n* Post Revisions\n* Pages\n* Post Types\n* Post Statuses\n* Comments\n\nUse the [official api documentation](http://v2.wp-api.org/reference) as reference for what is possible.\n\n## Installation\n\n```\npip install python_wpapi\n```\n\n## Usage\n\n```\nfrom python_wpapi import WpApi\n\napi1 = WpApi('http://example.com') # No authentication. Public endpoints only\napi2 = WpApi('http://example.com', user='User', password='pwd') # Basic Auth\n\nposts = api1.get_posts()\nnew_post = api2.create_post(title='Foo', content='Bar')\n```\n\n## TODO\n\n* Documentation\n* OAuth authentication\n\n## Tests\n\n```\nmake test\n```\n\n* Free software: MIT licensea\n\n[pypi-image]: https://img.shields.io/pypi/v/python_wpapi.svg \n[pypi-url]: https://pypi.python.org/pypi/python_wpapi\n[pyup-image]: https://pyup.io/repos/github/Lobosque/python_wpapi/shield.svg \n[pyup-url]: https://pyup.io/repos/github/Lobosque/python_wpapi/ \n\n\n# History\n\n## 0.3.1 (2017-08-07)\n\n* Fixed bug where GET would send content in the request body.\n\n## 0.2.1 (2016-11-16)\n\n* Converted rst to markdown.\n\n## 0.2.0 (2016-11-16)\n\n* Added test suite.\n* Fixed bugs with api exception raising.\n\n## 0.1.0 (2016-11-16)\n\n* First release on PyPI.\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/Lobosque/python_wpapi", "keywords": "python_wpapi", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "python_wpapi", "package_url": "https://pypi.org/project/python_wpapi/", "platform": "", "project_url": "https://pypi.org/project/python_wpapi/", "project_urls": { "Homepage": "https://github.com/Lobosque/python_wpapi" }, "release_url": "https://pypi.org/project/python_wpapi/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "Simple wrapper around the Wordpress REST API", "version": "0.3.1" }, "last_serial": 3079405, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "48cc636afef78cde3a303d8bfac0e411", "sha256": "8029ff55328e386d6c5cbd12bf25a830054701049a08ae93c1a8d3ad0955f180" }, "downloads": -1, "filename": "python_wpapi-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48cc636afef78cde3a303d8bfac0e411", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 4510, "upload_time": "2016-11-16T20:40:38", "url": "https://files.pythonhosted.org/packages/70/c5/9a4d06b8d437202dd07ae132a067a962ae03c5b8bc040f8b6648a50c48cc/python_wpapi-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c5bc06034d31d5fb1136735a9d480881", "sha256": "7ba550c778a976b8c1deadeb276810c72e700fa20a04c1ed0ee9affddcfeda31" }, "downloads": -1, "filename": "python_wpapi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c5bc06034d31d5fb1136735a9d480881", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6153, "upload_time": "2016-11-16T20:40:33", "url": "https://files.pythonhosted.org/packages/9f/56/5711b6289dfe713056c65d7c1eb2a9d0d4543cefbfe078ad0dd328f3106d/python_wpapi-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d275b27ca518f7009e02979e2208489d", "sha256": "d1a61d80936ad1333307937e5ce0169b524d312411df323a5d579b8fb3e84293" }, "downloads": -1, "filename": "python_wpapi-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d275b27ca518f7009e02979e2208489d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 4588, "upload_time": "2016-11-16T20:44:39", "url": "https://files.pythonhosted.org/packages/99/f0/813a2001ba9ea6c8a002cacfad72570e954208b3de8a407cc2fd8a43899e/python_wpapi-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "33af2f6883a1df65a0ec57c2471eb022", "sha256": "db20321bbd762da8e822af783da2c6a25c7a1bbb2c99919743d445935af248d3" }, "downloads": -1, "filename": "python_wpapi-0.2.0.tar.gz", "has_sig": false, "md5_digest": "33af2f6883a1df65a0ec57c2471eb022", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6202, "upload_time": "2016-11-16T20:44:35", "url": "https://files.pythonhosted.org/packages/cd/d3/88719e92eb53394dfbc14ee56bd35de4bf31b927c85664dc0ede4400418b/python_wpapi-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "089f3269e3812d49bb5ee72608ce3d74", "sha256": "c4b625e5400a637739786c8d5d8f8b99b3e5a4c953c0f3495b062c67735397d5" }, "downloads": -1, "filename": "python_wpapi-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "089f3269e3812d49bb5ee72608ce3d74", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 4454, "upload_time": "2016-11-16T21:11:41", "url": "https://files.pythonhosted.org/packages/a2/1f/61f205f9fb139e6dda610a88803e87d28ae4305381adc7d578e775f00033/python_wpapi-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02d49002148ac5be5f9e37ab86af86d3", "sha256": "281d2093fc971b0d21b48dd963cc781478022a7117125055de9eeea403aeacda" }, "downloads": -1, "filename": "python_wpapi-0.2.1.tar.gz", "has_sig": false, "md5_digest": "02d49002148ac5be5f9e37ab86af86d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6066, "upload_time": "2016-11-16T21:11:38", "url": "https://files.pythonhosted.org/packages/13/6b/9e2b88e51a512679e35fc17bd10075e36b6b619b4766d1f6bdedea7bb0ea/python_wpapi-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "1955d9c4e3b31679ba48e3773df13e8d", "sha256": "db72e14933c7f3f3303adfaa1f799d64d5f8f7585d8c25a27a91fcd08b1ddb42" }, "downloads": -1, "filename": "python_wpapi-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1955d9c4e3b31679ba48e3773df13e8d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5528, "upload_time": "2016-11-17T17:07:01", "url": "https://files.pythonhosted.org/packages/2f/71/3b9495c6e4901b7c41cb7efb337de69136d37f56b9aabd214c7b7117dc6e/python_wpapi-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81e0e5aa02d221997df0393d58ea77c1", "sha256": "1cdbc13e0d9f9245cc35c860c531f05e51ef0b95e6b2434cd485f198d0ca3db9" }, "downloads": -1, "filename": "python_wpapi-0.3.0.tar.gz", "has_sig": false, "md5_digest": "81e0e5aa02d221997df0393d58ea77c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7316, "upload_time": "2016-11-17T17:06:58", "url": "https://files.pythonhosted.org/packages/20/cb/81c61cadb8233fb571ba99a0c5dfd785e54dc0471e50b4724db4335efce4/python_wpapi-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "60527301d84c5760d6c27321f963d94b", "sha256": "d95a988813aedc46fcdf4902bbe7d88998f16985e3fb3013446772807b4f9a7b" }, "downloads": -1, "filename": "python_wpapi-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "60527301d84c5760d6c27321f963d94b", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5632, "upload_time": "2017-08-07T20:07:26", "url": "https://files.pythonhosted.org/packages/8f/0b/bb51359498a5a7de30939cba458ad50a9f9ad1a8599e80595de210f80c31/python_wpapi-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01349749112e667c2eee07dfe6fc1dff", "sha256": "7b9f243acad654f349d422db4b7d8d427cdb8e0a73b2ea7f09ac2e15c3b4bdf5" }, "downloads": -1, "filename": "python_wpapi-0.3.1.tar.gz", "has_sig": false, "md5_digest": "01349749112e667c2eee07dfe6fc1dff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7256, "upload_time": "2017-08-07T20:07:23", "url": "https://files.pythonhosted.org/packages/ad/ab/ca98b44c9fadb75bcb6d01296411eb99344237d075cbd3aae072e82be3f5/python_wpapi-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60527301d84c5760d6c27321f963d94b", "sha256": "d95a988813aedc46fcdf4902bbe7d88998f16985e3fb3013446772807b4f9a7b" }, "downloads": -1, "filename": "python_wpapi-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "60527301d84c5760d6c27321f963d94b", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5632, "upload_time": "2017-08-07T20:07:26", "url": "https://files.pythonhosted.org/packages/8f/0b/bb51359498a5a7de30939cba458ad50a9f9ad1a8599e80595de210f80c31/python_wpapi-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01349749112e667c2eee07dfe6fc1dff", "sha256": "7b9f243acad654f349d422db4b7d8d427cdb8e0a73b2ea7f09ac2e15c3b4bdf5" }, "downloads": -1, "filename": "python_wpapi-0.3.1.tar.gz", "has_sig": false, "md5_digest": "01349749112e667c2eee07dfe6fc1dff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7256, "upload_time": "2017-08-07T20:07:23", "url": "https://files.pythonhosted.org/packages/ad/ab/ca98b44c9fadb75bcb6d01296411eb99344237d075cbd3aae072e82be3f5/python_wpapi-0.3.1.tar.gz" } ] }