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
Start using Zyla-Api-Hub today. Visit Zylalabs.com and integrate in just minutes!
Installation
You can install Marketplace-Hub-API Python SDK with pip.
pip install zyla-api-hub
Usage
The Zyla-Api-Hub Python SDK is a wrapper around the requests library. It supports GET, POST, PUT, and DELETE requests.
Sign-up to Zyla-Api-Hub to get your API key and some credits to get started.
Making the GET request
Here is how to make different types of requests using the make_request method.
>>> 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
>>> 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
>>> 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
>>> 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.-
Metadata
Release files for zyla-hub-api 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zyla_hub_api-1.0.tar.gz | 3.1 kB | Without provenance | Details for zyla_hub_api-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zyla_hub_api-1.0-py3-none-any.whl | Python 3 | none | any | Details for zyla_hub_api-1.0-py3-none-any.whl |
Total release size: 6.4 kB
Release files / zyla_hub_api-1.0.tar.gz
| Download URL | zyla_hub_api-1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dda7de745722f5007ef163920b5dffdd75f29956800158ce05a8bb3d849b2181
|
|
BLAKE2b-256 checksum How to use checksums |
086155d773bfe707eafea8491a2124137ec61bfbeca7fd119b1bca2fc5f3eeea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Release files / zyla_hub_api-1.0-py3-none-any.whl
| Download URL | zyla_hub_api-1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f0f0bc5e8e6e40fe1c5a53b0aee8a9e4355db7505af7f699397f8ec57341e04
|
|
BLAKE2b-256 checksum How to use checksums |
7513a53d51c585060fa7fd7b439e982c9c4802f777d8a5dc6a420e12b2c12b31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Security for zyla-hub-api 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.