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 a list of assets for your organization
asset_data = client.get_datapoints("asset_id", datatables=["ExampleTable"], fieldnames=["ExampleFieldName"],
                                   start_epoch="0000000000000", end_epoch="9999999999999")

# print the list of assets
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.0.tar.gz (10.3 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.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pycampbellcloud-0.9.0.tar.gz
Algorithm Hash digest
SHA256 2541e31172733ba0aff50be5c70546db8ae3f7c34ea24f9911547dea4ead59f6
MD5 51f0f2ea71c3d0537f38d14390f4878c
BLAKE2b-256 e3972e325eab86e40db0b9e27c8d29b5dbb3a067ef74fb171d5a3596a2971648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycampbellcloud-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f74ae2601e890d526a365a0adbc7e43afec36e93e527e24a04adf9b4ff366de
MD5 de6bed1c6640ee050c61f26793b21d03
BLAKE2b-256 6368f0c0668bb479d6b7b01e3786ec90bc73e703cf2dcee2bcf204c754386bd9

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