biq-api · Python SDK
Official Python SDK for the BabiesIQ API.
Installation
pip install biq-api
Manual Download
You can also clone or download this SDK directly from GitHub:
→ https://github.com/BabiesIQ/_metaAPI/tree/main/sdk/python
# Clone just the SDK folder (sparse checkout)
git clone --filter=blob:none --sparse https://github.com/BabiesIQ/_metaAPI.git
cd web
git sparse-checkout set sdk/python
Quick Start
from biq_api import BabiesIQ, _metadata
# ── SDK info ───────────────────────────────
print(_metadata["name"]) # biq-api
print(_metadata["version"]) # 2.0.0
print(_metadata["docs"]) # https://babiesiq.tech/docs
# ── Create client ──────────────────────────
client = BabiesIQ(api_key="biq_YOUR_KEY")
# ── Songs ──────────────────────────────────
song = client.songs.search("Shape of You")
print(song.stream_url)
# ── Videos ─────────────────────────────────
video = client.videos.search("Big Buck Bunny")
print(video.stream_url)
# ── Cross-search ────────────────────────────
results = client.search.query("Ed Sheeran")
for r in results:
print(r.type, r.title)
API Reference
client.songs.search(query, eq=None, download=False)
Search for an audio stream.
song = client.songs.search("Never Gonna Give You Up", eq="bass_boost")
print(song.stream_url)
print(song.title)
print(song.duration)
client.videos.search(query, download=False)
Search for a video stream.
video = client.videos.search("Gangnam Style")
print(video.stream_url)
print(video.quality)
client.search.query(query)
Search across songs and videos.
results = client.search.query("Taylor Swift")
client.thumbnails.get(video_id, design=None)
Fetch a YouTube thumbnail.
thumb = client.thumbnails.get("dQw4w9WgXcQ")
print(thumb.url)
Error Handling
from biq_api import BabiesIQ
from biq_api.errors import AuthError, RateLimitError, BabiesIQError
client = BabiesIQ(api_key="biq_YOUR_KEY")
try:
song = client.songs.search("test")
except RateLimitError:
print("Rate limited — please slow down")
except AuthError:
print("Invalid API key")
except BabiesIQError as e:
print(f"API error: {e.message} (HTTP {e.status})")
Links
| Resource | URL |
|---|---|
| API Docs | https://babiesiq.tech/docs |
| PyPI | https://pypi.org/project/biq-api/ |
| Source | https://github.com/BabiesIQ/_metaAPI/tree/main/sdk/python |
| Dashboard | https://babiesiq.tech/panel/api-keys |
License
MIT — © BabiesIQ Team
Metadata
Release files for biq-api 2.0.1
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 |
|---|---|---|---|---|
| biq_api-2.0.1.tar.gz | 5.3 kB | With provenance | Details for biq_api-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biq_api-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for biq_api-2.0.1-py3-none-any.whl |
Total release size: 11.6 kB
Release files / biq_api-2.0.1.tar.gz
| Download URL | biq_api-2.0.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64449855855aa821cc741141c284171a41481c329ed376915a03d5e53d382c09
|
|
BLAKE2b-256 checksum How to use checksums |
02dfade202f96d53dabe19fe4c66247c982390fdb36586995a59fe9d814eadb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.
Transparency logRelease files / biq_api-2.0.1-py3-none-any.whl
| Download URL | biq_api-2.0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bcd7707f306d50ba35accfdc5fd024d911f9613e84f5fe473fb9f1a6957d72f
|
|
BLAKE2b-256 checksum How to use checksums |
0a3f31069bc2e5cde43aea08fdb65b94fd37da10a1bbc3674910cb26e429d0b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.
Transparency logSecurity for biq-api 2.0.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for biq_api-2.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.
Transparency logA 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.