Skip to main content

Python client for FindWAtt's API

Project description


Python client for FindWAtt's API


pip install findwatt


import findwatt

api_key = 'my-api-key'
client = findwatt.Client(api_key)

Uploading a file to a new Catalog

p = '/path/to/file.xlsx'
upload = client.upload_file(p, catalog_name='My New Catalog')

Uploading a file to an existing Catalog

p = '/path/to/file.xlsx'
upload = client.upload_file(p, catalog_id='my-existing-catalog-id')

Listing and searching your Catalogs

my_catalogs =
my_filtered_catalogs ="Dummy Catalog")

Fetching a particular Catalog

my_catalog = client.catalogs.get('dummy-catalog')

Fetching a particular Dataset

my_dataset = client.datasets.get('my-dataset')

Advanced Usage

findwatt.Client takes an optional api_url parameter that can be set to use a mock or staging API

import findwatt

api_key = 'my-api-key'
client = findwatt.Client(api_key, api_url='http://localhost:3000/')

Project details

Download files

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

Files for findwatt, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size findwatt-1.0.2-py3.6.egg (24.5 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size findwatt-1.0.2-py3-none-any.whl (9.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size findwatt-1.0.2.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page