Hello Pipefy Community, I am excited to introduce PipefySDK, a Python SDK designed to simplify the integration with the Pipefy API. This SDK provides a set of methods to manage cards, fields, attachments, and more, without the need to directly interact with GraphQL queries and mutations.
Why PipefySDK?
As developers, we often face the challenge of integrating with APIs that require a deep understanding of GraphQL. While GraphQL is powerful, it can be daunting for those who are new to it. PipefySDK abstracts away the complexity of GraphQL, providing a more intuitive and Pythonic way to interact with the Pipefy API.
Key Features
- Easy Installation: Install the SDK using pip or poetry.
- Simple Initialization: Initialize the SDK with your Pipefy token and URL.
- Comprehensive Methods: Use predefined methods to manage cards, fields, attachments, and more.
- Error Handling: Built-in error handling for common API issues.
Installation
You can install PipefySDK using pip:
pip install pipefysdk
Or using poetry:
poetry add pipefysdk
Usage
Here is a quick example of how to use PipefySDK:
from pipefysdk import PipefySDK
token = "your_token" # You don't need to include "Bearer"
url = "https://api.pipefy.com/graphql"
pipefy_sdk = PipefySDK(token=token, url=url)
# Get card information
card_info = pipefy_sdk.get_card_info(card_id=12345)
print(card_info)
# Update a single card field
response = pipefy_sdk.update_single_card_field(card_id="12345", field_id="field_id", new_value="new_value")
print(response)
Contributing
Contributions are welcome! If you have any suggestions, issues, or would like to contribute, please open an issue or submit a pull request on our
github: https://github.com/itallominatti/pipefysdk
pypi: pipefysdk · PyPI