An unofficial Python client for Bright Data APIs.
Project description
BDClient
An unofficial Python client for Bright Data APIs.
Installation
Installing using pip:
pip install bdclient
Usage
Example usage:
import asyncio
from bdclient.scraper.youtube.videos import DiscoverByKeyword, DiscoverByKeywordQuery
async def main():
scraper = DiscoverByKeyword(api_key="your_api_key")
query = DiscoverByKeywordQuery(keyword="Latest News")
results = await scraper.scrape([query])
for result in results:
print(result.model_dump_json(indent=4))
if __name__ == "__main__":
asyncio.run(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bdclient-0.1.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bdclient-0.1.0.tar.gz.
File metadata
- Download URL: bdclient-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
989ab919ff6900fd482182dc6b6ea40217f614d20a34ee3dbc34a3a56a88fa01
|
|
| MD5 |
bc5521aace3c256f3a29b5c532c557b7
|
|
| BLAKE2b-256 |
ae00c2cd68ac49740626122f8083e4db5172c1d9f50072da648b53008fb89a3f
|
File details
Details for the file bdclient-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bdclient-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa1a27c37b75229f6680b269e428a42673d99e43a6439391984da4602efe3f07
|
|
| MD5 |
a786d90a0b40d46bac781bc2b54d105d
|
|
| BLAKE2b-256 |
87fb6860e0792eedcdec66be6a91fdf48273aed8fe935adb1af6e3552e687ab0
|