{
"info": {
"author": "APIMatic SDK Generator",
"author_email": "support@apimatic.io",
"bugtrack_url": null,
"classifiers": [],
"description": "# Getting started\n\nSimple calculator API hosted on APIMATIC\n\n## How to Build\n\n\nYou must have Python ```2 >=2.7.9``` or Python ```3 >=3.4``` installed on your system to install and run this SDK. This SDK package depends on other Python packages like nose, jsonpickle etc. \nThese dependencies are defined in the ```requirements.txt``` file that comes with the SDK.\nTo resolve these dependencies, you can use the PIP Dependency manager. Install it by following steps at [https://pip.pypa.io/en/stable/installing/](https://pip.pypa.io/en/stable/installing/).\n\nPython and PIP executables should be defined in your PATH. Open command prompt and type ```pip --version```.\nThis should display the version of the PIP Dependency Manager installed if your installation was successful and the paths are properly defined.\n\n* Using command line, navigate to the directory containing the generated files (including ```requirements.txt```) for the SDK.\n* Run the command ```pip install -r requirements.txt```. This should install all the required dependencies.\n\n\n\n\n## How to Use\n\nThe following section explains how to use the Apimaticcalculatorv1 SDK package in a new project.\n\n### 1. Open Project in an IDE\n\nOpen up a Python IDE like PyCharm. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.\n\n\n\nClick on ```Open``` in PyCharm to browse to your generated SDK directory and then click ```OK```.\n\n \n\nThe project files will be displayed in the side bar as follows:\n\n \n\n### 2. Add a new Test Project\n\nCreate a new directory by right clicking on the solution name as shown below:\n\n\n\nName the directory as \"test\"\n\n\n \nAdd a python file to this project with the name \"testsdk\"\n\n\n\nName it \"testsdk\"\n\n\n\nIn your python file you will be required to import the generated python library using the following code lines\n\n```Python\nfrom apimaticcalculatorpythonv2.apimaticcalculatorpythonv2_client import Apimaticcalculatorpythonv2Client\n```\n\n\n\nAfter this you can write code to instantiate an API client object, get a controller object and make API calls. Sample code is given in the subsequent sections.\n\n### 3. Run the Test Project\n\nTo run the file within your test project, right click on your Python file inside your Test project and click on ```Run```\n\n\n\n\n## How to Test\n\nYou can test the generated SDK and the server with automatically generated test\ncases. unittest is used as the testing framework and nose is used as the test\nrunner. You can run the tests as follows:\n\n 1. From terminal/cmd navigate to the root directory of the SDK.\n 2. Invoke ```pip install -r test-requirements.txt```\n 3. Invoke ```nosetests```\n\n## Initialization\n\n### \n\nAPI client can be initialized as following.\n\n```python\n\nclient = Apimaticcalculatorpythonv2Client()\n```\n\n\n\n# Class Reference\n\n## List of Controllers\n\n* [CalculatorEPs](#calculator_e_ps)\n\n##  CalculatorEPs\n\n### Get controller instance\n\nAn instance of the ``` CalculatorEPs ``` class can be accessed from the API Client.\n\n```python\n calculator_e_ps_controller = client.calculator_e_ps\n```\n\n###  calculate\n\n> Calculates the expression using the specified operation..\n\n```python\ndef calculate(self,\n operation,\n x,\n y)\n```\n\n#### Parameters\n\n| Parameter | Tags | Description |\n|-----------|------|-------------|\n| operation | ``` Required ``` | The operator to apply on the variables |\n| x | ``` Required ``` | The LHS value |\n| y | ``` Required ``` | The RHS value |\n\n\n\n#### Example Usage\n\n```python\noperation = OperationType.MULTIPLY\nx = 4\ny = 5\n\nresult = calculator_e_ps_controller.calculate(operation, x, y)\n\n```\n\n\n[Back to List of Controllers](#list_of_controllers)\n\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://apimatic.io",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "apimaticcalculatorpythonv2",
"package_url": "https://pypi.org/project/apimaticcalculatorpythonv2/",
"platform": "",
"project_url": "https://pypi.org/project/apimaticcalculatorpythonv2/",
"project_urls": {
"Homepage": "https://apimatic.io"
},
"release_url": "https://pypi.org/project/apimaticcalculatorpythonv2/1.0.11/",
"requires_dist": null,
"requires_python": "",
"summary": "Simple calculator API hosted on APIMATIC",
"version": "1.0.11"
},
"last_serial": 4911390,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "dcd652cba875340cb40d1749fd3654cc",
"sha256": "d23e0381d38e07d8efb134d0e2a21113fe9972b3a818fe9afad27693dee06b4a"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "dcd652cba875340cb40d1749fd3654cc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15686,
"upload_time": "2019-03-07T06:37:41",
"url": "https://files.pythonhosted.org/packages/a3/3a/d4cf221b6211190ef4a732803b190b4b82c73de630bd1dc1412671c2219e/apimaticcalculatorpythonv2-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "a3bbbe2452e932ef4cd79ebe454d3ede",
"sha256": "3ce914c74b26fea62bb4be5fca9737f6f507e0899c003726a3af4c62dd48bfa2"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a3bbbe2452e932ef4cd79ebe454d3ede",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15691,
"upload_time": "2019-03-07T07:03:04",
"url": "https://files.pythonhosted.org/packages/5c/49/b096032cdac6aeb79066640384d77aace2f3c3523e14a063ab1ff1e83c47/apimaticcalculatorpythonv2-1.0.1.tar.gz"
}
],
"1.0.10": [
{
"comment_text": "",
"digests": {
"md5": "63089ae87b1e52f9b538c8aed97fbfc1",
"sha256": "df614e625feeadf6f2a130f20f6237e7183035131615f74c08e2fc142452e6b6"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.10.tar.gz",
"has_sig": false,
"md5_digest": "63089ae87b1e52f9b538c8aed97fbfc1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15677,
"upload_time": "2019-03-07T16:12:02",
"url": "https://files.pythonhosted.org/packages/f4/35/d947603d3858f0cfe4a1b1e80e269f975814e3ea14756e64ba5981e1bcc7/apimaticcalculatorpythonv2-1.0.10.tar.gz"
}
],
"1.0.11": [
{
"comment_text": "",
"digests": {
"md5": "8a5f2a753fdf323566d1eadd8da66d95",
"sha256": "40c880351522718f9c4ab4dcbe9ae06ebfcd342b2fa8408604cf21d3daaf75fa"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.11.tar.gz",
"has_sig": false,
"md5_digest": "8a5f2a753fdf323566d1eadd8da66d95",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15662,
"upload_time": "2019-03-07T16:23:19",
"url": "https://files.pythonhosted.org/packages/dc/11/bf911a472fbe7a8f2d1831dbe0a03f89460bfb83763cb3b2cb4757318586/apimaticcalculatorpythonv2-1.0.11.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "b8a281d5eb08a1e448b4394ac4a7433e",
"sha256": "94b61fe5603078e8e536e54ad2a9b9ac79ad72cad459336107247bf6a7550747"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "b8a281d5eb08a1e448b4394ac4a7433e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15658,
"upload_time": "2019-03-07T11:04:43",
"url": "https://files.pythonhosted.org/packages/73/c9/506f26759348e8a4506231dd2eb92faa1829ae8248b25c5fa190ad5f336b/apimaticcalculatorpythonv2-1.0.2.tar.gz"
}
],
"1.0.3": [
{
"comment_text": "",
"digests": {
"md5": "fc1ab4e59a7145be7772b23e85cbc9b7",
"sha256": "f2a90fd25bcdaba2ffda822a002cd907a861c1272cdd4ecb4a0fe8c9d972d149"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "fc1ab4e59a7145be7772b23e85cbc9b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15668,
"upload_time": "2019-03-07T11:11:08",
"url": "https://files.pythonhosted.org/packages/55/7c/0c9c975df58a9e281712d000887bc19bfd4b845ab3d021c4df15060f751c/apimaticcalculatorpythonv2-1.0.3.tar.gz"
}
],
"1.0.4": [
{
"comment_text": "",
"digests": {
"md5": "1357841fabbd4d5d9aed9b92dd1cadb8",
"sha256": "77ae189868a1796ac816c016b8f2aa8146034d79b15f6abd173fa013d9661530"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "1357841fabbd4d5d9aed9b92dd1cadb8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15664,
"upload_time": "2019-03-07T11:18:47",
"url": "https://files.pythonhosted.org/packages/4f/0c/0655e44a8f090a02e0e5bc78235b6679077ebafedf105f8d5f80d76349fc/apimaticcalculatorpythonv2-1.0.4.tar.gz"
}
],
"1.0.5": [
{
"comment_text": "",
"digests": {
"md5": "93acdc124e2c068c3916bb7fbf087cf7",
"sha256": "6da59af57086b069a4022d72640e69b1e3d8cc9acac6974e0b25e3c1cfa8fc24"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "93acdc124e2c068c3916bb7fbf087cf7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15673,
"upload_time": "2019-03-07T15:48:09",
"url": "https://files.pythonhosted.org/packages/b3/80/8ed4225c158bcc578617e43151c6cc063267a97daa04af7a34266fe99632/apimaticcalculatorpythonv2-1.0.5.tar.gz"
}
],
"1.0.6": [
{
"comment_text": "",
"digests": {
"md5": "fe1056e078dddd6cbb2dbca5af8fdbdd",
"sha256": "60e13695d0becc38cbdf80fbca36a19228d448a33b5223feca13d369f2ad0a01"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "fe1056e078dddd6cbb2dbca5af8fdbdd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15660,
"upload_time": "2019-03-07T15:54:21",
"url": "https://files.pythonhosted.org/packages/b0/dd/329f2bc186040792c6766b2b454fd855b40047a5ff37c3e85b9485642c1c/apimaticcalculatorpythonv2-1.0.6.tar.gz"
}
],
"1.0.7": [
{
"comment_text": "",
"digests": {
"md5": "cb6d330552eb05f0a952c5aa49aba1cf",
"sha256": "e64181f7a6fc8065c03dea676d7bf8738d6964def5b56295340868a16f55af85"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "cb6d330552eb05f0a952c5aa49aba1cf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15657,
"upload_time": "2019-03-07T15:59:41",
"url": "https://files.pythonhosted.org/packages/4b/cd/8ebf3e1c4ac33ba8fa42894ae826d1231ab877e5e5db200030267984287b/apimaticcalculatorpythonv2-1.0.7.tar.gz"
}
],
"1.0.8": [
{
"comment_text": "",
"digests": {
"md5": "cfe5c08d0d64d7b3ed4c572d2a011ee9",
"sha256": "6390b9f7c27140c680a453b4f1d360fe3e8f7afd9714cf538f2f339a9ed5792f"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.8.tar.gz",
"has_sig": false,
"md5_digest": "cfe5c08d0d64d7b3ed4c572d2a011ee9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15668,
"upload_time": "2019-03-07T16:07:08",
"url": "https://files.pythonhosted.org/packages/e1/79/605ca6507c47d13013bf967955cf6e085fc911ec59682e2c0fd4141d96db/apimaticcalculatorpythonv2-1.0.8.tar.gz"
}
],
"1.0.9": [
{
"comment_text": "",
"digests": {
"md5": "b6899b9b19b2453eea5cc937ff85bf58",
"sha256": "605294a3b73d87aa8a16648d434f4069160cf5053db21cc6386c3fc7b5ccedf3"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.9.tar.gz",
"has_sig": false,
"md5_digest": "b6899b9b19b2453eea5cc937ff85bf58",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15660,
"upload_time": "2019-03-07T16:08:33",
"url": "https://files.pythonhosted.org/packages/30/43/79f5e0c7f5cc9817bfa44fc63abbb2dec861124afae900e911d806843c65/apimaticcalculatorpythonv2-1.0.9.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "8a5f2a753fdf323566d1eadd8da66d95",
"sha256": "40c880351522718f9c4ab4dcbe9ae06ebfcd342b2fa8408604cf21d3daaf75fa"
},
"downloads": -1,
"filename": "apimaticcalculatorpythonv2-1.0.11.tar.gz",
"has_sig": false,
"md5_digest": "8a5f2a753fdf323566d1eadd8da66d95",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15662,
"upload_time": "2019-03-07T16:23:19",
"url": "https://files.pythonhosted.org/packages/dc/11/bf911a472fbe7a8f2d1831dbe0a03f89460bfb83763cb3b2cb4757318586/apimaticcalculatorpythonv2-1.0.11.tar.gz"
}
]
}