Skip to main content

Zyla-Api-Hub

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.-

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zyla_hub_api-1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zyla_hub_api-1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file zyla_hub_api-1.0.tar.gz.

File metadata

  • Download URL: zyla_hub_api-1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for zyla_hub_api-1.0.tar.gz
Algorithm Hash digest
SHA256 dda7de745722f5007ef163920b5dffdd75f29956800158ce05a8bb3d849b2181
MD5 5980d215ee0a8f4089d363f039e209d5
BLAKE2b-256 086155d773bfe707eafea8491a2124137ec61bfbeca7fd119b1bca2fc5f3eeea

See more details on using hashes here.

File details

Details for the file zyla_hub_api-1.0-py3-none-any.whl.

File metadata

  • Download URL: zyla_hub_api-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for zyla_hub_api-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f0f0bc5e8e6e40fe1c5a53b0aee8a9e4355db7505af7f699397f8ec57341e04
MD5 691fc1e61da35c98ac09c37553f9c4e5
BLAKE2b-256 7513a53d51c585060fa7fd7b439e982c9c4802f777d8a5dc6a420e12b2c12b31

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0 This release

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page