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
Release history Release notifications | RSS feed
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)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576e302874e6e01352a340aaa41a90442e4947a4aa914291de73794def5e9fb9 |
|
MD5 | 36aadfaf624e31ea84e576bf86b731ef |
|
BLAKE2b-256 | ee886f9a62a3f8856f7c1af4e3198135a87324229500912d7753eb5719db10ef |