Skip to main content

connect feishu content franchise

Project description

Feishu Document Connector

Installation

pip install feishuconnector

Code Usage

from feishuconnector import FeishuConnector

fc = FeishuConnector()
fc.init("user***", "pass***")

Actual Usage Process

On the edit page of the Bitable, the URL is generally like this: https://puyuan.feishu.cn/wiki/wikcnlBvPJ8xoTSfVtQwGBkrUWc?table=tblGZPQYMzrwRMeo&view=vewWhDJdAM. Note to extract node_token=wikcnlBvPJ8xoTSfVtQwGBkrUWc and table_id=tblGZPQYMzrwRMeo.

API Usage

from feishuconnector import FeishuConnector

fc = FeishuConnector()
fc.init("user***", "pass***")

# Get all records from the Bitable
records = fc.get_bitable_records('wikcnlBvPJ8xoTSfVtQwGBkrUWc', 'tblGZPQYMzrwRMeo')

# Insert records into the Bitable
fc.insert_bitable_records('wikcnlBvPJ8xoTSfVtQwGBkrUWc', 'tblGZPQYMzrwRMeo', records)

# Get all data in a specific range of a standard spreadsheet, values is a list(rows) of list(cols)
values = fc.get_sheet_data("wikcnQgBgZCWUx7w6ZpzzLXX3bc", "e792af")

# Append data to a standard spreadsheet
fc.append_sheet_data("wikcnQgBgZCWUx7w6ZpzzLXX3bc", "e792af", values)

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

feishuconnector-0.1.11.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file feishuconnector-0.1.11.tar.gz.

File metadata

  • Download URL: feishuconnector-0.1.11.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.5

File hashes

Hashes for feishuconnector-0.1.11.tar.gz
Algorithm Hash digest
SHA256 d5e0ff5ea8220e4c85c093289ca478797fd167f324378aeab6cca14644a06d07
MD5 e01b7edbdce0871867dbb905473b566d
BLAKE2b-256 281c6d0bc305c714ba21ddc15eeb85c8d592eb077513978a0f0159b356e8f8a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page