Skip to main content

CradlepointAPIClient

NetCloud API


PyPI - Status PyPI - Format GitHub GitHub release (latest by date) PyPI - Python Version

An API Client for Cradlepoint to be able to easily use the API in a more standard way.

How to install

$ pip install CradlepointAPIClient

Usage

the argument "method" must be specify every time.

Default arguments and attributes

import CradlepointAPIClient

client = CradlepointAPIClient.Client(api_version='v2', verify=True)

client.get(method='', data=None)

# client.headers
# client.url_base

The first query

import CradlepointAPIClient
import json

client = CradlepointAPIClient.Client(api_version='v2', verify=True)
client.connect(x_cp_api_id='', x_cp_api_key='', x_ecm_api_id='', x_ecm_api_key='')

response = client.get(method='/groups')
print(json.dumps(response.json(), indent=4))

client.disconnect()

Paging

import CradlepointAPIClient
import json

client = CradlepointAPIClient.Client(api_version='v2', verify=True)
client.connect(x_cp_api_id='', x_cp_api_key='', x_ecm_api_id='', x_ecm_api_key='')

response = client.get(method='/groups', offset=0, limit=1)
print(json.dumps(response.json(), indent=4))

client.disconnect()

Fields

import CradlepointAPIClient
import json

client = CradlepointAPIClient.Client(api_version='v2', verify=True)
client.connect(x_cp_api_id='', x_cp_api_key='', x_ecm_api_id='', x_ecm_api_key='')

response = client.get(method='/groups', offset=0, limit=1, fields='id,name')
print(json.dumps(response.json(), indent=4))

client.disconnect()

Filtering

import CradlepointAPIClient
import json

client = CradlepointAPIClient.Client(api_version='v2', verify=True)
client.connect(x_cp_api_id='', x_cp_api_key='', x_ecm_api_id='', x_ecm_api_key='')

response = client.get(method='/groups', offset=0, limit=1, fields='id,name', name='test_group')
print(json.dumps(response.json(), indent=4))

client.disconnect()

Metadata

Release files for CradlepointAPIClient 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CradlepointAPIClient 0.0.1
File Size Uploaded Provenance Actions
CradlepointAPIClient-0.0.1.tar.gz 4.9 kB Without provenance Details for CradlepointAPIClient-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for CradlepointAPIClient 0.0.1
File Interpreter ABI Platform Actions
CradlepointAPIClient-0.0.1-py3-none-any.whl Python 3 none any Details for CradlepointAPIClient-0.0.1-py3-none-any.whl

Total release size: 9.8 kB

Release files / CradlepointAPIClient-0.0.1.tar.gz

Download URL CradlepointAPIClient-0.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4f573e12a496b8f1ea313033287394be23ac16c598e416e114ec27263f4324ab
BLAKE2b-256 checksum
How to use checksums
f175e3c4daab9f4a6d112960fe99c828c66b5599df1c565c17f92f68ece924f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / CradlepointAPIClient-0.0.1-py3-none-any.whl

Download URL CradlepointAPIClient-0.0.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
865d39c2bc108f30661bfa37ffb8fdd7a68a6402f2be3d283f4482d9ffa40d34
BLAKE2b-256 checksum
How to use checksums
b15000da7672f7394a2c5722e742d37afff40121d5ad543e14a3ed6cf6d299d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for CradlepointAPIClient 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page