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.2.0.tar.gz
(3.5 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.2.0.tar.gz.
File metadata
- Download URL: bdclient-0.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbbca728b00df4c00dc3261e43b2c0492ede2f8aae9a2f7068aa3475acbd9bfe
|
|
| MD5 |
88152e77f416f632381218919e38c7b5
|
|
| BLAKE2b-256 |
ae627ec63bbc578b1f80b01399327065c9e443d5ce93267aad29669418015af6
|
File details
Details for the file bdclient-0.2.0-py3-none-any.whl.
File metadata
- Download URL: bdclient-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac9ca4e0b2fce528a51873191873ca90a2712331e3cf3f2533a632be32029e32
|
|
| MD5 |
2b7b18940387ef504b8907424f9329af
|
|
| BLAKE2b-256 |
9975dd1984ad73b463bcc0b4bf6a98b152ba901a21cbbc0580e14ff08200a170
|