Skip to main content

Client for Blackbaud Sky API

Project description

Overview

PyPI License python python python

bbsky provides a high-level Python client for interacting with the Blackbaud Sky API. You can use the client to authenticate and make requests to various endpoints provided by the Blackbaud Sky API. See the Blackbaud Sky API documentation here for more information on the Sky API itself.

Important Note: bbsky is a third-party client and is not affiliated with or endorsed by Blackbaud.

Installation

To install the package, use pip:

pip install bbsky

Usage

To see all available CLI commands, run:

bbsky --help

Setting up Blackbaud App Credentials

First you'll need to setup your Blackbaud Sky account and then update your config. After getting your credentials from Blackbaud, you can use the CLI here to set them up:

bbsky config --help

# Follow along with the prompts to set your credentials
bbsky config create

After that a config file will be created in your home directory at ~/.bbsky/config/config.json.

Getting a User Token

To get a user token, you can use the CLI:

bbsky server start

This will start a local server that you can use to authenticate with Blackbaud. After authenticating, you'll be prompted to cache the token locally.

If you need to refresh your token, run:

bbsky token refresh

Using the Client

Here's a basic example of how to use the client:

from bbsky import BBSky

sky = BBSky()
results = sky.search_constituents(constituent_quick_find="Smith", limit=5)
print(results)

Development

Rye

We use Rye for managing the development environment. See the Rye documentation for more information on how to use it.

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

bbsky-0.1.3.tar.gz (198.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bbsky-0.1.3-py3-none-any.whl (425.6 kB view details)

Uploaded Python 3

File details

Details for the file bbsky-0.1.3.tar.gz.

File metadata

  • Download URL: bbsky-0.1.3.tar.gz
  • Upload date:
  • Size: 198.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bbsky-0.1.3.tar.gz
Algorithm Hash digest
SHA256 222be4cef60939a48c5b18858ba467d4e13e8d6723437c41dae1e8546c80a279
MD5 ea2404af2e8f6dfc6216075949120db6
BLAKE2b-256 aaa61d9ce6d344e5a5fdf9e21eb0b9a846f8726304c0bbb21e299e9a9379b481

See more details on using hashes here.

Provenance

The following attestation bundles were made for bbsky-0.1.3.tar.gz:

Publisher: release.yml on dcbark01/bbsky

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bbsky-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: bbsky-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 425.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bbsky-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0341f6505e716cc5c6a8f074112fd91217baa63a70a3f7141a106399e6711c7
MD5 0627a09dbccc1386826e66fb1fe1ceec
BLAKE2b-256 e50e817b2fae042b07fb7c9dbda9912b705331369deb15d2b98a1d5cff88ebde

See more details on using hashes here.

Provenance

The following attestation bundles were made for bbsky-0.1.3-py3-none-any.whl:

Publisher: release.yml on dcbark01/bbsky

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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