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.2.tar.gz
(11.5 kB
view hashes)
Built Distribution
Close
Hashes for fxiaoke_python-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90ce434cd3233c54bc95f444ec9ab8404dd9c23df5b3dd286fa295da5525e3d9 |
|
MD5 | 7ba619a8e9ffa9e15d7dcf87ee560025 |
|
BLAKE2b-256 | b85d1813b65aba9f1d49b3a3fabee7f2e928567bde5a8c5d58396e9b0b43929d |