Client for Blackbaud Sky API
Project description
Overview
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bbsky-0.1.6.tar.gz.
File metadata
- Download URL: bbsky-0.1.6.tar.gz
- Upload date:
- Size: 198.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99da22728b14d9ad214fce930024277ffa012b413fbc4957d7d35b40279b772b
|
|
| MD5 |
3280e5c7ecc4dd1b97540bf29833958f
|
|
| BLAKE2b-256 |
dd9716106641f71fb37f3d9ebfc3a4351424f2fc842773ef7bb066c442864d52
|
Provenance
The following attestation bundles were made for bbsky-0.1.6.tar.gz:
Publisher:
release.yml on dcbark01/bbsky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bbsky-0.1.6.tar.gz -
Subject digest:
99da22728b14d9ad214fce930024277ffa012b413fbc4957d7d35b40279b772b - Sigstore transparency entry: 152070747
- Sigstore integration time:
-
Permalink:
dcbark01/bbsky@150cffe97a63588b4e93583a95288d471159945a -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/dcbark01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@150cffe97a63588b4e93583a95288d471159945a -
Trigger Event:
release
-
Statement type:
File details
Details for the file bbsky-0.1.6-py3-none-any.whl.
File metadata
- Download URL: bbsky-0.1.6-py3-none-any.whl
- Upload date:
- Size: 426.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65a0a4ca61180cef0321f171efbb8449da9f34f9d37fdce6b10d0e148fa5e49e
|
|
| MD5 |
59931b50c2dc47c3b6d66aed02c5592a
|
|
| BLAKE2b-256 |
615ec6d957412277332bb38ead6be66d590a4132e1cbe326dc7d94d228a48c9a
|
Provenance
The following attestation bundles were made for bbsky-0.1.6-py3-none-any.whl:
Publisher:
release.yml on dcbark01/bbsky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bbsky-0.1.6-py3-none-any.whl -
Subject digest:
65a0a4ca61180cef0321f171efbb8449da9f34f9d37fdce6b10d0e148fa5e49e - Sigstore transparency entry: 152070751
- Sigstore integration time:
-
Permalink:
dcbark01/bbsky@150cffe97a63588b4e93583a95288d471159945a -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/dcbark01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@150cffe97a63588b4e93583a95288d471159945a -
Trigger Event:
release
-
Statement type: