A lightweight SDK for interacting with the Dataprovider.com API.
Project description
Dataprovider.com Python SDK
A lightweight SDK for interacting with the Dataprovider.com API in Python.
This client provides a convenient way to authenticate, build requests, and handle responses for GET, POST, and PUT operations.
🚀 Installation
Use PIP to install the SDK:
pip install dataprovider-sdk
✅ Requirements
- Python >= 3.13
- PIP for dependency management
🔧 Usage
from requests.exceptions import HTTPError
from dataprovider.sdk.client.api_client import ApiClient
def main():
client = ApiClient('username', 'password')
try:
response = client.get(path='/datasets/list')
except HTTPError as e:
print(f'An error occurred ({e.response.status_code}): {e.response.text}')
return
# Access the response data as text
print(response.text)
# Access the response data as dict
print(response.json())
if __name__ == '__main__':
main()
See examples for more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 dataprovider_sdk-1.0.0.tar.gz.
File metadata
- Download URL: dataprovider_sdk-1.0.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc145020fc1f06f0d007e91b8c85b33355f54beb1e366b5ae69feb5fa0cc02d5
|
|
| MD5 |
3daa40900cc2ab799b2aa4621f2683f2
|
|
| BLAKE2b-256 |
7c1156dc5355688361278d37cdc9c65c8357b133d47719d63789e76ed5613173
|
File details
Details for the file dataprovider_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dataprovider_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d04141f26cecb5bd049881099c05e1a89f5916cf6892095b8e714fda7557cc4d
|
|
| MD5 |
c05dc997a3261b5113993eefdb61766a
|
|
| BLAKE2b-256 |
1127e3b2cdf12f1b415da99c93d0d23073d5dd7c96a32d052a085eb6a7c82813
|