Skip to main content

An unofficial Python wrapper for the CallRail API

Project description

PyPI version info PyPI supported Python versions GitHub Actions build status Codecov coverage report Documentation Status

Python wrapper for the CallRail API.

Description

This library provides a Python intefrace for interacting with the Callrail API. It allows for CRUD operations on objects and resources within your CallRail account and to integrate with your own applications.

Installation

Install from PyPI using pip, a package manager for Python.

# Linux/macOS
python3 -m pip install pycallrail

# Windows
py -3 -m pip install pycallrail

Requirements & Dependencies

  • Python 3.6+

  • requests

  • ujson

  • python-dateutil

  • typeguard

Usage

import pycallrail.callrail as clrl

# init the api client

api = clrl.CallRail('your_api_key')

# list accounts associated with your api key
accounts = api.list_accounts(# optional kwargs, more info on supported kwargs at endpoint docs)

# list calls associated with your account
calls = accounts[0].list_calls(# optional kwargs, more info on supported kwargs at endpoint docs)

print(calls[0].id) # prints the id of the first call in the list

# >>> 123456789

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

pycallrail-0.9.0.2.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

pycallrail-0.9.0.2-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file pycallrail-0.9.0.2.tar.gz.

File metadata

  • Download URL: pycallrail-0.9.0.2.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pycallrail-0.9.0.2.tar.gz
Algorithm Hash digest
SHA256 6983b293e2e10a80ba4d790caaa79c298ec81e740ccb4e4a5899b1eb18b97020
MD5 04c82faa1eb406b0bb1f33d572adb888
BLAKE2b-256 130974da3dda783129f7048a87cc85284dda4e0a9fb142719595c167fb3f97d1

See more details on using hashes here.

File details

Details for the file pycallrail-0.9.0.2-py3-none-any.whl.

File metadata

  • Download URL: pycallrail-0.9.0.2-py3-none-any.whl
  • Upload date:
  • Size: 35.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pycallrail-0.9.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e3aa4f911a6898a50ed099680fedb8501b27c78e1cdf68c3ab593973b97562e4
MD5 b24070c9a7b1a2d9b9aa0fd1eb144e8e
BLAKE2b-256 152cea4420f8eee07bfca2102cb577fa6148840d3fb43efd810b46411f002442

See more details on using hashes here.

Supported by

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