Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.

capitalone/c1s-slingshot-sdk-py

Repository files navigation

Project Status: Archived

This project is now archived and in read-only mode. The maintainers are no longer monitoring this repository for issues or pull requests.


Capital One Slingshot SDK Python Library

Capital One Slingshot Logo

The official Python SDK for Capital One's Slingshot platform. This library provides a convenient way to interact with the Slingshot API from your Python applications.

📚 Documentation

Complete Documentation & API Reference

For comprehensive guides, examples, and API documentation, visit our GitHub Pages documentation site.

Table of Contents

Installation

Install the SDK using pip:

pip install c1s-slingshot-sdk-py

Quick Start

from slingshot import SlingshotClient

# Initialize the client (uses SLINGSHOT_API_KEY environment variable)
client = SlingshotClient()
# If you want to pass your API key to the client without using the environment variable:
# client = SlingshotClient(api_key="your API key")

# List projects
all_projects = []
for project in client.projects.iterate_projects():
    all_projects.append(project)

print(f"Found {len(all_projects)} projects.")

# Get a specific project
project = client.projects.get_project(all_projects[0]["id"])
print(project)

Contributing

Important

At this time, we are only accepting pull requests from Capital One employees. External pull requests will be closed.

🔧 Contributing Guide - Development setup, testing, and release process

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

About

The official Python SDK for Capital One's Slingshot platform. This library provides a convenient way to interact with the Slingshot API from your Python applications.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors