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.1.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycallrail-0.9.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 28fde88ccf967a1d8ab95d5f35cbf58fed6ea29a80b8f4e3d358a884a280898d
MD5 fe0e41fb841d02be18a32c5c9fa6c297
BLAKE2b-256 10f5b8f335f1af92fe22cf4d28dbe97625eab489014bb82609c289e8d925cb15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycallrail-0.9.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d28933397ac781cf7bcac6602ac2ecc53046927fe4e38bdef1a650efc435a03
MD5 ed4c727827cf0435c876dfafac71f99e
BLAKE2b-256 44f48f58f92d4411dd2fd31e47d859d9bec51a12372708c4973f898c3419b792

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