# Fireflies SDK
Python SDK for interacting with the Fireflies.ai API. This package provides a simple interface for accessing Fireflies.ai functionality programmatically.
## Installation
```bash
pip install fireflies-sdk
```
## Usage
```python
from fireflies_sdk import FirefliesAPI
# Initialize with your API key
api = FirefliesAPI("your-api-key")
# Join a meeting
result = api.join_meeting(url="https://meet.google.com/xxx-yyyy-zzz")
# Get video URL for a transcript
video_info = api.get_video_url("transcript-id")
print(video_info["title"])
print(video_info["video_url"])
```
## Features
- Join meetings
- Get video URLs
- Download meeting recordings
- List transcripts
- Delete transcripts
## For AWS Lambda
This SDK is designed to be Lambda-friendly. Here's an example Lambda function:
```python
from fireflies_sdk import FirefliesAPI
import os
def lambda_handler(event, context):
api = FirefliesAPI(os.environ["FIREFLIES_API_KEY"])
transcript_id = event.get("transcript_id")
try:
result = api.get_video_url(transcript_id)
return {
"statusCode": 200,
"body": result
}
except Exception as e:
return {
"statusCode": 500,
"body": str(e)
}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/trilogy-group/pocs",
"name": "fireflies-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "David Schwartz",
"author_email": "david.schwartz@devfactory.com",
"download_url": "https://files.pythonhosted.org/packages/34/90/89ccc8b02da962d60fad8154e2672d140ffa96aadc3a63d6791ccd1a8dab/fireflies_sdk-0.1.0.tar.gz",
"platform": null,
"description": "# Fireflies SDK\n\nPython SDK for interacting with the Fireflies.ai API. This package provides a simple interface for accessing Fireflies.ai functionality programmatically.\n\n## Installation\n\n```bash\npip install fireflies-sdk\n```\n\n## Usage\n\n```python\nfrom fireflies_sdk import FirefliesAPI\n\n# Initialize with your API key\napi = FirefliesAPI(\"your-api-key\")\n\n# Join a meeting\nresult = api.join_meeting(url=\"https://meet.google.com/xxx-yyyy-zzz\")\n\n# Get video URL for a transcript\nvideo_info = api.get_video_url(\"transcript-id\")\nprint(video_info[\"title\"])\nprint(video_info[\"video_url\"])\n```\n\n## Features\n\n- Join meetings\n- Get video URLs\n- Download meeting recordings\n- List transcripts\n- Delete transcripts\n\n## For AWS Lambda\n\nThis SDK is designed to be Lambda-friendly. Here's an example Lambda function:\n\n```python\nfrom fireflies_sdk import FirefliesAPI\nimport os\n\ndef lambda_handler(event, context):\n api = FirefliesAPI(os.environ[\"FIREFLIES_API_KEY\"])\n \n transcript_id = event.get(\"transcript_id\")\n try:\n result = api.get_video_url(transcript_id)\n return {\n \"statusCode\": 200,\n \"body\": result\n }\n except Exception as e:\n return {\n \"statusCode\": 500,\n \"body\": str(e)\n }\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "SDK for interacting with Fireflies.ai API",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/trilogy-group/pocs"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fa4b949603055baee3a428830362277c6fc255595ff23e49b81457de57d72d35",
"md5": "3bc1b659461569d0cf20d44a77df2301",
"sha256": "7f0b1a955ecf718d5568588478821017ba2d8b08fe74f4abe848c92f91934c0a"
},
"downloads": -1,
"filename": "fireflies_sdk-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3bc1b659461569d0cf20d44a77df2301",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4425,
"upload_time": "2024-12-19T18:55:03",
"upload_time_iso_8601": "2024-12-19T18:55:03.868286Z",
"url": "https://files.pythonhosted.org/packages/fa/4b/949603055baee3a428830362277c6fc255595ff23e49b81457de57d72d35/fireflies_sdk-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "349089ccc8b02da962d60fad8154e2672d140ffa96aadc3a63d6791ccd1a8dab",
"md5": "6fc481b773fb3691457bf8d068255f6d",
"sha256": "01c0dbf8d59d6290a9ad0d2b08788632f6b46db68b208f5642ca683392684136"
},
"downloads": -1,
"filename": "fireflies_sdk-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "6fc481b773fb3691457bf8d068255f6d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4067,
"upload_time": "2024-12-19T18:55:06",
"upload_time_iso_8601": "2024-12-19T18:55:06.479584Z",
"url": "https://files.pythonhosted.org/packages/34/90/89ccc8b02da962d60fad8154e2672d140ffa96aadc3a63d6791ccd1a8dab/fireflies_sdk-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-19 18:55:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "trilogy-group",
"github_project": "pocs",
"github_not_found": true,
"lcname": "fireflies-sdk"
}