You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

surfer-protocol

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

surfer-protocol

Python client for the Surfer Protocol desktop app

0.1.2
pipPyPI
Maintainers
1

Surfer Protocol Python SDK

A Python SDK for interacting with the Surfer Protocol desktop application. Easily access and export data from various platforms like Twitter, Gmail, iMessage, and more.

Prerequisites

The Surfer desktop application must be running in the background for the SDK to work. Download here.

Installation

pip install surfer-protocol

Quick Start

from surfer_protocol import SurferClient

# Initialize the client
client = SurferClient()

# Get data for a specific platform
data = client.get("bookmarks-001")

# Export data for a platform
export_result = client.export("bookmarks-001")

Examples

For examples of how to use the Surfer Protocol Python SDK to build applications, please see the Cookbook.

Basic Usage

The SDK provides two main methods:

  • get(platform_id): Retrieve the most recent data for a platform
  • export(platform_id): Trigger a new export for a platform

Supported Platforms

  • Twitter Bookmarks (bookmarks-001)
  • Gmail (gmail-001)
  • iMessage (imessage-001)
  • LinkedIn Connections (connections-001)
  • Notion (notion-001)
  • ChatGPT (chatgpt-001)

Documentation

For complete documentation, including detailed API reference, response schemas, example applications, and best practices, visit our official documentation.

Keywords

surfer-protocol

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts