fxiaoke CRM(ShareCRM) api.
Project description
fxiaoke-python
基于纷享开放平台开发。
设计思路参考 facebook_business
Install
pip install fxiaoke-python
Usage
from fxiaoke.api import FxiaokeApi
from fxiaoke.query import queryObj
api = FxiaokeApi.init(
app_id="FSAID_xx",
app_secret="xxx",
permanent_code="xxx",
open_user_id="FSUID_xxx",
)
data = queryObj().api_get(
dataObjectApiName='LeadsObj',
filters=[{
'field_name': 'last_modified_time',
'field_values': [1656213600000, 1656400000000],
'operator': 'BETWEEN',
}],
limit=100,
offset=0
)
import time
for i, rec in enumerate(data):
print(i, rec['name'], time.ctime(rec['create_time']/1000), time.ctime(rec['last_modified_time']/1000), )
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
fxiaoke-python-0.0.3.tar.gz
(13.5 kB
view hashes)
Built Distribution
Close
Hashes for fxiaoke_python-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89f9bcf9aac2cd1297705013358a08034e1fdcedeab7daacb59ff3a0b6770be9 |
|
MD5 | 2314d80d6b04eebf3e3c90bc6505873c |
|
BLAKE2b-256 | 4d505d6b2d88605b63afefd8adb514178353b3a8bb6ff644719bd5991e488af5 |