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.3.tar.gz (10.6 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.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycampbellcloud-0.9.3.tar.gz
  • Upload date:
  • Size: 10.6 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.3.tar.gz
Algorithm Hash digest
SHA256 1e6e8858ce33b18272f13af625269122c43dabce3aea7b968211db688722a5ee
MD5 d8fe265477827ec52bcd285cee3e7786
BLAKE2b-256 9808c862286fa94a023f0a96f51fcd56001b56771c26eb191be938cbc8820f15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycampbellcloud-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4235984ae34bec924621c775b1f39471d3a3edafdc6ef2ca883e35500821107c
MD5 06edd257a40b5159805c29c7252be4d6
BLAKE2b-256 bd243d3d28391278da3be4ef9fe9a22ceab2da46c00b5053f18df6f168f08354

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