apiverve-periodictable


Nameapiverve-periodictable JSON
Version 1.1.5 PyPI version JSON
download
home_pageNone
SummaryPeriodic Table is a simple tool for getting information about chemical elements. It returns information such as the atomic number, symbol, and more based on the element provided.
upload_time2024-09-21 06:54:31
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords periodic table periodic table api periodic table tool periodic table software periodic table service
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Periodic Table API
============

Periodic Table is a simple tool for getting information about chemical elements. It returns information such as the atomic number, symbol, and more based on the element provided.

![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 [Periodic Table API](https://apiverve.com/marketplace/api/periodictable)

---

## Installation
	pip install apiverve-periodictable

---

## Configuration

Before using the periodictable 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 Periodic Table API documentation is found here: [https://docs.apiverve.com/api/periodictable](https://docs.apiverve.com/api/periodictable).  
You can find parameters, example responses, and status codes documented here.

### Setup

```
# Import the client module
from apiverve_periodictable.apiClient import PeriodictableAPIClient

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

---


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

###### Define Query

```
query = { "name": "hydrogen" }
```

###### Simple Request

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

# Print the result
print(result)
```

###### Example Response

```
{
  "status": "ok",
  "error": null,
  "data": {
    "name": "Hydrogen",
    "appearance": "colorless gas",
    "atomic_mass": 1.008,
    "boil": 20.271,
    "category": "diatomic nonmetal",
    "density": 0.08988,
    "discovered_by": "Henry Cavendish",
    "melt": 13.99,
    "molar_heat": 28.836,
    "named_by": "Antoine Lavoisier",
    "number": 1,
    "period": 1,
    "group": 1,
    "phase": "Gas",
    "source": "https://en.wikipedia.org/wiki/Hydrogen",
    "summary": "Hydrogen is a chemical element with chemical symbol H and atomic number 1. With an atomic weight of 1.00794 u, hydrogen is the lightest element on the periodic table. Its monatomic form (H) is the most abundant chemical substance in the Universe, constituting roughly 75% of all baryonic mass.",
    "symbol": "H",
    "xpos": 1,
    "ypos": 1,
    "wxpos": 1,
    "wypos": 1,
    "shells": [
      1
    ],
    "electron_configuration": "1s1",
    "electron_configuration_semantic": "1s1",
    "electron_affinity": 72.769,
    "electronegativity_pauling": 2.2,
    "ionization_energies": [
      1312
    ],
    "cpk-hex": "ffffff",
    "block": "s"
  },
  "code": 200
}
```

---

## 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-periodictable",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "periodic table, periodic table api, periodic table tool, periodic table software, periodic table service",
    "author": null,
    "author_email": "APIVerve <hello@apiverve.com>",
    "download_url": "https://files.pythonhosted.org/packages/a3/b4/362fbf85706a1502072cef7d6a96bf8c0d462164df93d3f24f470d238327/apiverve_periodictable-1.1.5.tar.gz",
    "platform": null,
    "description": "Periodic Table API\r\n============\r\n\r\nPeriodic Table is a simple tool for getting information about chemical elements. It returns information such as the atomic number, symbol, and more based on the element provided.\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 [Periodic Table API](https://apiverve.com/marketplace/api/periodictable)\r\n\r\n---\r\n\r\n## Installation\r\n\tpip install apiverve-periodictable\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore using the periodictable 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 Periodic Table API documentation is found here: [https://docs.apiverve.com/api/periodictable](https://docs.apiverve.com/api/periodictable).  \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_periodictable.apiClient import PeriodictableAPIClient\r\n\r\n# Initialize the client with your APIVerve API key\r\napi = PeriodictableAPIClient(\"[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 = { \"name\": \"hydrogen\" }\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    \"name\": \"Hydrogen\",\r\n    \"appearance\": \"colorless gas\",\r\n    \"atomic_mass\": 1.008,\r\n    \"boil\": 20.271,\r\n    \"category\": \"diatomic nonmetal\",\r\n    \"density\": 0.08988,\r\n    \"discovered_by\": \"Henry Cavendish\",\r\n    \"melt\": 13.99,\r\n    \"molar_heat\": 28.836,\r\n    \"named_by\": \"Antoine Lavoisier\",\r\n    \"number\": 1,\r\n    \"period\": 1,\r\n    \"group\": 1,\r\n    \"phase\": \"Gas\",\r\n    \"source\": \"https://en.wikipedia.org/wiki/Hydrogen\",\r\n    \"summary\": \"Hydrogen is a chemical element with chemical symbol H and atomic number 1. With an atomic weight of 1.00794 u, hydrogen is the lightest element on the periodic table. Its monatomic form (H) is the most abundant chemical substance in the Universe, constituting roughly 75% of all baryonic mass.\",\r\n    \"symbol\": \"H\",\r\n    \"xpos\": 1,\r\n    \"ypos\": 1,\r\n    \"wxpos\": 1,\r\n    \"wypos\": 1,\r\n    \"shells\": [\r\n      1\r\n    ],\r\n    \"electron_configuration\": \"1s1\",\r\n    \"electron_configuration_semantic\": \"1s1\",\r\n    \"electron_affinity\": 72.769,\r\n    \"electronegativity_pauling\": 2.2,\r\n    \"ionization_energies\": [\r\n      1312\r\n    ],\r\n    \"cpk-hex\": \"ffffff\",\r\n    \"block\": \"s\"\r\n  },\r\n  \"code\": 200\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": "Periodic Table is a simple tool for getting information about chemical elements. It returns information such as the atomic number, symbol, and more based on the element provided.",
    "version": "1.1.5",
    "project_urls": {
        "Documentation": "https://docs.apiverve.com/api/periodictable?utm_source=pypi",
        "Homepage": "https://apiverve.com?utm_source=pypi",
        "Repository": "https://github.com/apiverve/periodictable.Python-API",
        "Twitter": "https://twitter.com/apivervehq"
    },
    "split_keywords": [
        "periodic table",
        " periodic table api",
        " periodic table tool",
        " periodic table software",
        " periodic table service"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b3e5042988ae46fb57ecbebf3b5568015b750ded4679af7109905e4e17572a3",
                "md5": "9a5660536323907f5724c336fcdb0471",
                "sha256": "e2aa4777dd7ead945bf1fbe2c22c71f084cb88af4908a5947c90378801c5a683"
            },
            "downloads": -1,
            "filename": "apiverve_periodictable-1.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9a5660536323907f5724c336fcdb0471",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 7810,
            "upload_time": "2024-09-21T06:54:29",
            "upload_time_iso_8601": "2024-09-21T06:54:29.830841Z",
            "url": "https://files.pythonhosted.org/packages/5b/3e/5042988ae46fb57ecbebf3b5568015b750ded4679af7109905e4e17572a3/apiverve_periodictable-1.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a3b4362fbf85706a1502072cef7d6a96bf8c0d462164df93d3f24f470d238327",
                "md5": "6218a1528a89096cb24ea6eeb723fa91",
                "sha256": "1550855de31d8aa211a63779a8127b1c81b9c49d2c15547feae41bfb27c734ec"
            },
            "downloads": -1,
            "filename": "apiverve_periodictable-1.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "6218a1528a89096cb24ea6eeb723fa91",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 7783,
            "upload_time": "2024-09-21T06:54:31",
            "upload_time_iso_8601": "2024-09-21T06:54:31.367753Z",
            "url": "https://files.pythonhosted.org/packages/a3/b4/362fbf85706a1502072cef7d6a96bf8c0d462164df93d3f24f470d238327/apiverve_periodictable-1.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-21 06:54:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "apiverve",
    "github_project": "periodictable.Python-API",
    "github_not_found": true,
    "lcname": "apiverve-periodictable"
}
        
Elapsed time: 0.41413s