# [![Zyla-Api-Hub](https://zylalabs.com/img/logo-removebg-preview.png)](https://zylalabs.com)
**Zyla-Api-Hub Python SDK** - Find, Connect and Manage APIs
All with a single account, single API key, and single SDK.
## Key Features:
- **Built for Developers:** Tailored for developers, ensuring ease of use and seamless integration.
- **Powerful JSON API:** Robust JSON API designed for accurate and efficient data retrieval.
- **User-Friendly Documentation:** Navigate through our comprehensive documentation for a smooth integration process.
- **Specialized Support:** Count on our dedicated support team for assistance tailored to your specific needs.
## Documentation
<!-- For detailed information on API endpoints, usage, and integration guidelines, check our [API Documentation](https://www.metals-api.com/documentation). -->
Start using Zyla-Api-Hub today. Visit [Zylalabs.com](https://zylalabs.com) and integrate in just minutes!
## Installation
You can install Marketplace-Hub-API Python SDK with pip.
```bash
pip install zyla-api-hub
```
## Usage
The Zyla-Api-Hub Python SDK is a wrapper around the [requests](https://docs.python-requests.org/en/master/) library. It supports GET, POST, PUT, and DELETE requests.
Sign-up to Zyla-Api-Hub to [get your API key](https://zylalabs.com/register) and some credits to get started.
### Making the GET request
Here is how to make different types of requests using the make_request method.
```python
>>> from zyla_api_hub.client import ApiHubClient
>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')
>>> response = client.make_request(url: str, method: str, params: dict, data: dict)
```
### GET Request without Parameters
```python
>>> from zyla_api_hub.client import ApiHubClient
>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')
>>> url = "https://zylalabs.com/api/392/exercise+database+api/309/list+of+body+parts"
>>> response = client.make_request(url)
>>> print(response)
```
### GET Request with Parameters
```python
>>> from zyla_api_hub.client import ApiHubClient
>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')
>>> url = "https://zylalabs.com/api/4682/us+real+estate+rental+estimator+api/5779/get+estimation"
>>> params = {"address": "5500 Grand Lake Drive, San Antonio, TX, 78244","propertyType": "Condo","bedrooms": 2,"bathrooms": 2,"squareFootage": 1600}
>>> response = client.make_request(url, method='GET', params=params)
>>> print(response)
```
### POST Request with Body
```python
>>> from zyla_api_hub.client import ApiHubClient
>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')
>>> url = "https://zylalabs.com/api/4657/gmail+username+validation+api/5748/check+availability"
>>> data = {"username": "isacmartin"}
>>> response = response = client.make_request(url, method='POST', data=data)
>>> print(response)
```
### Error Handling
In case of an error, the method will print the error message and the response content, if available.
### AVAILABLE METHODS
- make_request(url: str, method: str = 'GET', params: dict = None, data: dict = None)
- url: The URL of the API endpoint.
- method: The HTTP method (GET, POST, PUT, DELETE).
- params: Dictionary of URL parameters..
- data: Dictionary of the request body for POST/PUT requests.-
Raw data
{
"_id": null,
"home_page": "https://github.com/Zyla-Labs/pypi-api-hub",
"name": "zyla-hub-api",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Api Hub, APIs, Find, Connect and Manage APIs, APIs Management, APIs Connection, APIs Integration, APIs Automation, APIs Development",
"author": "Zyla-API-Hub",
"author_email": "hello@zylalabs.com",
"download_url": "https://files.pythonhosted.org/packages/08/61/55d773bfe707eafea8491a2124137ec61bfbeca7fd119b1bca2fc5f3eeea/zyla_hub_api-1.0.tar.gz",
"platform": null,
"description": "# [![Zyla-Api-Hub](https://zylalabs.com/img/logo-removebg-preview.png)](https://zylalabs.com)\r\n\r\n**Zyla-Api-Hub Python SDK** - Find, Connect and Manage APIs\r\nAll with a single account, single API key, and single SDK.\r\n\r\n## Key Features:\r\n\r\n- **Built for Developers:** Tailored for developers, ensuring ease of use and seamless integration.\r\n- **Powerful JSON API:** Robust JSON API designed for accurate and efficient data retrieval.\r\n- **User-Friendly Documentation:** Navigate through our comprehensive documentation for a smooth integration process.\r\n- **Specialized Support:** Count on our dedicated support team for assistance tailored to your specific needs.\r\n\r\n\r\n## Documentation\r\n\r\n<!-- For detailed information on API endpoints, usage, and integration guidelines, check our [API Documentation](https://www.metals-api.com/documentation). -->\r\n\r\nStart using Zyla-Api-Hub today. Visit [Zylalabs.com](https://zylalabs.com) and integrate in just minutes!\r\n\r\n\r\n## Installation\r\n\r\nYou can install Marketplace-Hub-API Python SDK with pip.\r\n\r\n```bash\r\npip install zyla-api-hub\r\n```\r\n\r\n## Usage\r\n\r\nThe Zyla-Api-Hub Python SDK is a wrapper around the [requests](https://docs.python-requests.org/en/master/) library. It supports GET, POST, PUT, and DELETE requests.\r\n\r\nSign-up to Zyla-Api-Hub to [get your API key](https://zylalabs.com/register) and some credits to get started.\r\n\r\n### Making the GET request\r\n\r\nHere is how to make different types of requests using the make_request method.\r\n\r\n```python\r\n>>> from zyla_api_hub.client import ApiHubClient\r\n\r\n>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')\r\n\r\n>>> response = client.make_request(url: str, method: str, params: dict, data: dict)\r\n```\r\n\r\n### GET Request without Parameters\r\n\r\n```python\r\n>>> from zyla_api_hub.client import ApiHubClient\r\n\r\n>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')\r\n\r\n>>> url = \"https://zylalabs.com/api/392/exercise+database+api/309/list+of+body+parts\"\r\n\r\n>>> response = client.make_request(url)\r\n\r\n>>> print(response)\r\n```\r\n\r\n### GET Request with Parameters\r\n\r\n```python\r\n>>> from zyla_api_hub.client import ApiHubClient\r\n\r\n>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')\r\n\r\n>>> url = \"https://zylalabs.com/api/4682/us+real+estate+rental+estimator+api/5779/get+estimation\"\r\n\r\n>>> params = {\"address\": \"5500 Grand Lake Drive, San Antonio, TX, 78244\",\"propertyType\": \"Condo\",\"bedrooms\": 2,\"bathrooms\": 2,\"squareFootage\": 1600}\r\n\r\n>>> response = client.make_request(url, method='GET', params=params)\r\n\r\n>>> print(response)\r\n```\r\n\r\n### POST Request with Body\r\n\r\n```python\r\n>>> from zyla_api_hub.client import ApiHubClient\r\n\r\n>>> client = ApiHubClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')\r\n\r\n>>> url = \"https://zylalabs.com/api/4657/gmail+username+validation+api/5748/check+availability\"\r\n\r\n>>> data = {\"username\": \"isacmartin\"}\r\n\r\n>>> response = response = client.make_request(url, method='POST', data=data)\r\n\r\n>>> print(response)\r\n```\r\n\r\n### Error Handling\r\n\r\nIn case of an error, the method will print the error message and the response content, if available.\r\n\r\n\r\n### AVAILABLE METHODS\r\n\r\n- make_request(url: str, method: str = 'GET', params: dict = None, data: dict = None) \r\n\r\n- url: The URL of the API endpoint.\r\n- method: The HTTP method (GET, POST, PUT, DELETE).\r\n- params: Dictionary of URL parameters..\r\n- data: Dictionary of the request body for POST/PUT requests.- \r\n\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Find, Connect and Manage APIs",
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/Zyla-Labs/pypi-api-hub"
},
"split_keywords": [
"api hub",
" apis",
" find",
" connect and manage apis",
" apis management",
" apis connection",
" apis integration",
" apis automation",
" apis development"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7513a53d51c585060fa7fd7b439e982c9c4802f777d8a5dc6a420e12b2c12b31",
"md5": "691fc1e61da35c98ac09c37553f9c4e5",
"sha256": "6f0f0bc5e8e6e40fe1c5a53b0aee8a9e4355db7505af7f699397f8ec57341e04"
},
"downloads": -1,
"filename": "zyla_hub_api-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "691fc1e61da35c98ac09c37553f9c4e5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3345,
"upload_time": "2024-07-18T17:48:06",
"upload_time_iso_8601": "2024-07-18T17:48:06.292651Z",
"url": "https://files.pythonhosted.org/packages/75/13/a53d51c585060fa7fd7b439e982c9c4802f777d8a5dc6a420e12b2c12b31/zyla_hub_api-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "086155d773bfe707eafea8491a2124137ec61bfbeca7fd119b1bca2fc5f3eeea",
"md5": "5980d215ee0a8f4089d363f039e209d5",
"sha256": "dda7de745722f5007ef163920b5dffdd75f29956800158ce05a8bb3d849b2181"
},
"downloads": -1,
"filename": "zyla_hub_api-1.0.tar.gz",
"has_sig": false,
"md5_digest": "5980d215ee0a8f4089d363f039e209d5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3060,
"upload_time": "2024-07-18T17:48:07",
"upload_time_iso_8601": "2024-07-18T17:48:07.648884Z",
"url": "https://files.pythonhosted.org/packages/08/61/55d773bfe707eafea8491a2124137ec61bfbeca7fd119b1bca2fc5f3eeea/zyla_hub_api-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-18 17:48:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Zyla-Labs",
"github_project": "pypi-api-hub",
"github_not_found": true,
"lcname": "zyla-hub-api"
}