apiverve-unitconverter


Nameapiverve-unitconverter JSON
Version 1.0.11 PyPI version JSON
download
home_pageNone
SummaryUnit Converter is a simple tool for converting units. It returns the converted value.
upload_time2024-05-27 03:19:06
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords unit converter unit conversion unit converter api unit conversion api unit converter tool
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Unit Converter API
============

Unit Converter is a simple tool for converting units. It returns the converted value.

![Build Status](https://img.shields.io/badge/build-passing-green)
![Code Climate](https://img.shields.io/badge/maintainability-B-purple)
![Prod Ready](https://img.shields.io/badge/production-ready-blue)

This is a Python API Wrapper for the [Unit Converter API](https://apiverve.com/marketplace/api/unitconverter)

---

## Installation
	pip install apiverve-unitconverter

---

## Configuration

Before using the unitconverter API client, you have to setup your account and obtain your API Key.  
You can get it by signing up at [https://apiverve.com](https://apiverve.com)

---

## Usage

The Unit Converter API documentation is found here: [https://docs.apiverve.com/api/unitconverter](https://docs.apiverve.com/api/unitconverter).  
You can find parameters, example responses, and status codes documented here.

### Setup

```
# Import the client module
from apiverve_unitconverter.apiClient import UnitconverterAPIClient

# Initialize the client with your APIVerve API key
api = UnitconverterAPIClient("[YOUR_API_KEY]")
```

---


### Perform Request
Using the API client, you can perform requests to the API.

###### Define Query

```
query = { "value": 100,  "from": "lb",  "to": "kg" }
```

###### Simple Request

```
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
```

###### Example Response

```
{
  "status": "ok",
  "error": null,
  "data": {
    "result": {
      "result": 45.36,
      "from": "100 lb",
      "to": "kg"
    },
    "unitDefinitions": {
      "from": {
        "abbr": "lb",
        "measure": "mass",
        "system": "imperial",
        "singular": "Pound",
        "plural": "Pounds"
      },
      "to": {
        "abbr": "kg",
        "measure": "mass",
        "system": "metric",
        "singular": "Kilogram",
        "plural": "Kilograms"
      }
    }
  }
}
```

---

## Customer Support

Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact).

---

## Updates
Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.

---

## Legal

All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms) and all legal documents and agreements.

---

## License
Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "apiverve-unitconverter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "unit converter, unit conversion, unit converter api, unit conversion api, unit converter tool",
    "author": null,
    "author_email": "APIVerve <hello@apiverve.com>",
    "download_url": "https://files.pythonhosted.org/packages/d4/87/cd5d80bc1435e99822d963a279e7009559bfe3c492bf0cff5d5ebcad57d8/apiverve_unitconverter-1.0.11.tar.gz",
    "platform": null,
    "description": "Unit Converter API\r\n============\r\n\r\nUnit Converter is a simple tool for converting units. It returns the converted value.\r\n\r\n![Build Status](https://img.shields.io/badge/build-passing-green)\r\n![Code Climate](https://img.shields.io/badge/maintainability-B-purple)\r\n![Prod Ready](https://img.shields.io/badge/production-ready-blue)\r\n\r\nThis is a Python API Wrapper for the [Unit Converter API](https://apiverve.com/marketplace/api/unitconverter)\r\n\r\n---\r\n\r\n## Installation\r\n\tpip install apiverve-unitconverter\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore using the unitconverter API client, you have to setup your account and obtain your API Key.  \r\nYou can get it by signing up at [https://apiverve.com](https://apiverve.com)\r\n\r\n---\r\n\r\n## Usage\r\n\r\nThe Unit Converter API documentation is found here: [https://docs.apiverve.com/api/unitconverter](https://docs.apiverve.com/api/unitconverter).  \r\nYou can find parameters, example responses, and status codes documented here.\r\n\r\n### Setup\r\n\r\n```\r\n# Import the client module\r\nfrom apiverve_unitconverter.apiClient import UnitconverterAPIClient\r\n\r\n# Initialize the client with your APIVerve API key\r\napi = UnitconverterAPIClient(\"[YOUR_API_KEY]\")\r\n```\r\n\r\n---\r\n\r\n\r\n### Perform Request\r\nUsing the API client, you can perform requests to the API.\r\n\r\n###### Define Query\r\n\r\n```\r\nquery = { \"value\": 100,  \"from\": \"lb\",  \"to\": \"kg\" }\r\n```\r\n\r\n###### Simple Request\r\n\r\n```\r\n# Make a request to the API\r\nresult = api.execute(query)\r\n\r\n# Print the result\r\nprint(result)\r\n```\r\n\r\n###### Example Response\r\n\r\n```\r\n{\r\n  \"status\": \"ok\",\r\n  \"error\": null,\r\n  \"data\": {\r\n    \"result\": {\r\n      \"result\": 45.36,\r\n      \"from\": \"100 lb\",\r\n      \"to\": \"kg\"\r\n    },\r\n    \"unitDefinitions\": {\r\n      \"from\": {\r\n        \"abbr\": \"lb\",\r\n        \"measure\": \"mass\",\r\n        \"system\": \"imperial\",\r\n        \"singular\": \"Pound\",\r\n        \"plural\": \"Pounds\"\r\n      },\r\n      \"to\": {\r\n        \"abbr\": \"kg\",\r\n        \"measure\": \"mass\",\r\n        \"system\": \"metric\",\r\n        \"singular\": \"Kilogram\",\r\n        \"plural\": \"Kilograms\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Customer Support\r\n\r\nNeed any assistance? [Get in touch with Customer Support](https://apiverve.com/contact).\r\n\r\n---\r\n\r\n## Updates\r\nStay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.\r\n\r\n---\r\n\r\n## Legal\r\n\r\nAll usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms) and all legal documents and agreements.\r\n\r\n---\r\n\r\n## License\r\nLicensed under the The MIT License (MIT)\r\n\r\nCopyright (&copy;) 2024 APIVerve, and Evlar LLC\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Unit Converter is a simple tool for converting units. It returns the converted value.",
    "version": "1.0.11",
    "project_urls": {
        "Homepage": "https://apiverve.com"
    },
    "split_keywords": [
        "unit converter",
        " unit conversion",
        " unit converter api",
        " unit conversion api",
        " unit converter tool"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bdd6c6e7ecc6137618ce696f260c96e3f8e94fe95c0e2d9941d29c60798a3116",
                "md5": "9b8082b774aab349aa8fa3077ff9e89c",
                "sha256": "66a8f7b76854e53b1d8adfb2590570b80621566cb107ba3923c4428bbb461f45"
            },
            "downloads": -1,
            "filename": "apiverve_unitconverter-1.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9b8082b774aab349aa8fa3077ff9e89c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 6593,
            "upload_time": "2024-05-27T03:19:04",
            "upload_time_iso_8601": "2024-05-27T03:19:04.514191Z",
            "url": "https://files.pythonhosted.org/packages/bd/d6/c6e7ecc6137618ce696f260c96e3f8e94fe95c0e2d9941d29c60798a3116/apiverve_unitconverter-1.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d487cd5d80bc1435e99822d963a279e7009559bfe3c492bf0cff5d5ebcad57d8",
                "md5": "6f05dbfc6f61f0ada6c32784b1beaf1f",
                "sha256": "50a867d81eef74effdc795427478ffd1704399a28cb7db3723ec87168a4d49e8"
            },
            "downloads": -1,
            "filename": "apiverve_unitconverter-1.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "6f05dbfc6f61f0ada6c32784b1beaf1f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 6752,
            "upload_time": "2024-05-27T03:19:06",
            "upload_time_iso_8601": "2024-05-27T03:19:06.179805Z",
            "url": "https://files.pythonhosted.org/packages/d4/87/cd5d80bc1435e99822d963a279e7009559bfe3c492bf0cff5d5ebcad57d8/apiverve_unitconverter-1.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-27 03:19:06",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "apiverve-unitconverter"
}
        
Elapsed time: 0.24208s