Skip to main content

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)

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.12.tar.gz (15.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: feishuconnector-0.1.12.tar.gz
  • Upload date:
  • Size: 15.5 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.12.tar.gz
Algorithm Hash digest
SHA256 576e302874e6e01352a340aaa41a90442e4947a4aa914291de73794def5e9fb9
MD5 36aadfaf624e31ea84e576bf86b731ef
BLAKE2b-256 ee886f9a62a3f8856f7c1af4e3198135a87324229500912d7753eb5719db10ef

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.12 This release

1 file

0.1.11

1 file

0.1.10

1 file

0.1.9

1 file

0.1.8

2 files

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page