{ "info": { "author": "NAKAMORI Ryosuke", "author_email": "me@tpdn.kim", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "\n======================\nXREA API wrapper\n======================\n.. image:: https://img.shields.io/pypi/v/xrea.svg\n :target: https://pypi.python.org/pypi/xrea\n\n.. image:: https://img.shields.io/pypi/l/xrea.svg\n :target: https://pypi.python.org/pypi/xrea\n\n.. image:: https://img.shields.io/pypi/pyversions/xrea.svg\n :target: https://pypi.python.org/pypi/xrea\n\nThis package is simple implementation of XREA API(https://apidoc.xrea.com) wrapper with Python 3.\n\n\"XREA\" is the web hosting service in Japan.\n\nShort description in Japanese\n=============================\n\u3053\u306ePython\u30d1\u30c3\u30b1\u30fc\u30b8\u306fXREA API(https://apidoc.xrea.com)\u306e\u30e9\u30c3\u30d1\u30fc\u3067\u3059\u3002\nPython3\u7cfb(3.4\u4ee5\u964d)\u3067\u4f7f\u3048\u307e\u3059\u3002\n\n\nSupported services\n==================\n\n- XREA(https://www.xrea.com)\n- CoreServer(https://www.coreserver.jp)\n\n\nRequirements\n============\n\nworks with\n\n- Python 3.4+\n- requests\n\nInstallation\n============\n\nvia pipenv\n-----------\n\n.. code:: bash\n\n $ pipenv install xrea\n\n\nvia pip\n--------\n\n.. code:: bash\n\n $ pip install xrea\n\nvia setup.py\n-------------\n\n.. code:: bash\n\n $ python setup.py install\n\n\nExamples\n==========\n\nInit:\n\n.. code:: pycon\n\n >>> from xrea import Xrea # for CoreServer: from xrea import CoreServer\n ...\n ... account = \"foo\" # your account\n ... server_name = \"z123456.xrea.com\" # your server\n ... api_secret_key = \"zajxTrzkHBGkRRfvWs5w397jZFqQKC8L\" # your api_secret_key\n >>> xrea = Xrea(account=account, server_name=server_name, api_secret_key=api_secret_key)\n\n # for CoreServer\n # xrea = CoreServer(account=account, server_name=server_name, api_secret_key=api_secret_key)\n\nCall site/list without optional params:\n\n.. code:: pycon\n\n >>> response = xrea.site.list()\n >>> pprint(response.result)\n {'1': {'domain': 'blank',\n 'ip': '11.22.33.44,\n 'no': 1,\n 'nodir': 0,\n 'phpver': 'php71',\n 'redirect_url': '',\n 'ssl_info': [],\n 'ssl_status': 0},\n '2': {'domain': 'abcde.example.info',\n 'ip': '11.22.33.44',\n 'no': 2,\n 'nodir': 0,\n 'phpver': 'php71',\n 'redirect_url': '',\n 'ssl_info': [],\n 'ssl_status': 1}}\n\nCall log/log_list with optional params:\n\n.. code:: pycon\n\n >>> response2 = xrea.log.log_list(type='analog')\n >>> pprint(response2.result)\n {'abcde.example.info': [{'filedate': '2018-01-14',\n 'filename': 'abcde.example.info.html'},\n {'filedate': '2018-01-13',\n 'filename': 'abcde.example.info.1.html'}]}\n\nCall aaa/bbb (not valid)\n\n.. code:: pycon\n\n >>> response3 = xrea.aaa.bbb(foo='12345')\n xrea.error.XreaApiResponseError: [status: 404, error: 100002]page_name:\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\n\n\nAuthor\n=======\n\n**NAKAMORI Ryosuke** - https://github.com/tpdn\n\nLicence\n========\n\nBSD-2-Clause\n\n\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/tpdn/xrea", "keywords": "xrea coreserver", "license": "BSD-2-Clause", "maintainer": "", "maintainer_email": "", "name": "xrea", "package_url": "https://pypi.org/project/xrea/", "platform": "", "project_url": "https://pypi.org/project/xrea/", "project_urls": { "Homepage": "https://github.com/tpdn/xrea" }, "release_url": "https://pypi.org/project/xrea/0.1.1/", "requires_dist": [ "requests" ], "requires_python": ">=3.4", "summary": "XREA API wrapper", "version": "0.1.1" }, "last_serial": 3571022, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c85109606329c9270490e46e3eec7991", "sha256": "9e530122d3f16e9fbf87be2ee2146e9657c36831438998398db28d472dbbcc1b" }, "downloads": -1, "filename": "xrea-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c85109606329c9270490e46e3eec7991", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 5897, "upload_time": "2018-01-25T16:34:07", "url": "https://files.pythonhosted.org/packages/38/01/6707ec94b2961878f4d657650d792898cdf5bf1a55fe8748d666f7e94dc2/xrea-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b726a065533a45f071bc305fce2bcef", "sha256": "c946cb330aacfe96f0300a8c1f6f40174237afaf5520a85553ef4a78b5d687dd" }, "downloads": -1, "filename": "xrea-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6b726a065533a45f071bc305fce2bcef", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4293, "upload_time": "2018-01-25T16:34:10", "url": "https://files.pythonhosted.org/packages/9a/97/6016b3d05fde6dcc2c00cf38902b5da208b6953d2ec94828ef4c97a6596b/xrea-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c7b6ebc6c686aa4e6681da591e298d9f", "sha256": "abf09c3573b5c3f93dd17e1e93e9fb31a75d6588f8263efe105ca5ac7302090f" }, "downloads": -1, "filename": "xrea-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c7b6ebc6c686aa4e6681da591e298d9f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 6160, "upload_time": "2018-02-11T00:40:56", "url": "https://files.pythonhosted.org/packages/df/6b/7da3333db479d762d4a9f7ddc7f10344cd88fcb25d518eec28afa3e38fe5/xrea-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e39f6a874cdb69c3716acad92026a765", "sha256": "ecf58cbdcd63c2e5009a4acc8e49856903472c00026da00e72c4c368af991d0a" }, "downloads": -1, "filename": "xrea-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e39f6a874cdb69c3716acad92026a765", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4566, "upload_time": "2018-02-11T00:41:00", "url": "https://files.pythonhosted.org/packages/fd/c4/1b3c7929ec7654f4db2e46dea3c474160e9278f6cda300694d29804278ca/xrea-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c7b6ebc6c686aa4e6681da591e298d9f", "sha256": "abf09c3573b5c3f93dd17e1e93e9fb31a75d6588f8263efe105ca5ac7302090f" }, "downloads": -1, "filename": "xrea-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c7b6ebc6c686aa4e6681da591e298d9f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 6160, "upload_time": "2018-02-11T00:40:56", "url": "https://files.pythonhosted.org/packages/df/6b/7da3333db479d762d4a9f7ddc7f10344cd88fcb25d518eec28afa3e38fe5/xrea-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e39f6a874cdb69c3716acad92026a765", "sha256": "ecf58cbdcd63c2e5009a4acc8e49856903472c00026da00e72c4c368af991d0a" }, "downloads": -1, "filename": "xrea-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e39f6a874cdb69c3716acad92026a765", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4566, "upload_time": "2018-02-11T00:41:00", "url": "https://files.pythonhosted.org/packages/fd/c4/1b3c7929ec7654f4db2e46dea3c474160e9278f6cda300694d29804278ca/xrea-0.1.1.tar.gz" } ] }