Skip to main content

A package for interfacing with Campbell Cloud API.

Project description

pycampbellcloud

pycampbellcloud is a Python client library designed to provide a clean, object-oriented interface to the Campbell Cloud REST API. It abstracts away HTTP requests and authentication details, allowing you to easily access, manipulate, and manage monitoring data from Campbell Cloud.

Table of Contents

Features

  • Easy-to-use object-oriented interface
  • Simplified authentication and session management
  • Access to all endpoints of the Campbell Cloud API
  • Support for data retrieval, manipulation, and management

Installation

You can install pycampbellcloud using pip:

pip install pycampbellcloud

Usage

Here's a quick example of how to use pycampbellcloud:

from pycampbellcloud import CampbellCloud

# Initialize the client
client = CampbellCloud('your_organization_id', 'your_username', 'your_password')

# Fetch all datapoints of an asset
asset_data = client.get_datapoints("asset_id", datatables=["ExampleTable"], fieldnames=["ExampleFieldName"],
                                   start_epoch="0000000000000", end_epoch="9999999999999")

# print all datapoints
print(asset_data)

Roadmap

☐ Document metadata parameters for all applicable endpoints

☐ Thorough code snippets and documentation pages in GitHub Wiki

API Reference

For detailed information on the available methods and classes, please refer to the API documentation.

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

pycampbellcloud-0.9.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycampbellcloud-0.9.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file pycampbellcloud-0.9.1.tar.gz.

File metadata

  • Download URL: pycampbellcloud-0.9.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for pycampbellcloud-0.9.1.tar.gz
Algorithm Hash digest
SHA256 e9a129fc31243e24e9393a1505ef69c2d7ec336269b1b4896919a07273eae0d6
MD5 74098c22c8d8a90a8243084d9a3712e5
BLAKE2b-256 2e469d028813db016e60ecc5d500657c2f5f282ecdf4240d3595f507c5e08481

See more details on using hashes here.

File details

Details for the file pycampbellcloud-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pycampbellcloud-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e873b390793821c9b0fa4ddaae65c8a6f453747b2d56d3411a5a8771743a9a24
MD5 8e1921c755260725efb3e04db4f41bb1
BLAKE2b-256 0949225f1950edb0d559689dbfe02358f80ff2cb7695568c49755de8e4344244

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page