Skip to main content

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


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 details)

Uploaded Source

Built Distribution

fxiaoke_python-0.0.3-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file fxiaoke-python-0.0.3.tar.gz.

File metadata

  • Download URL: fxiaoke-python-0.0.3.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for fxiaoke-python-0.0.3.tar.gz
Algorithm Hash digest
SHA256 815966c24703ae4129333c485bcbf114c941cbe66f0adf837cbac590219d414e
MD5 a75bce73d423f3ce76fe8a4987fa79ac
BLAKE2b-256 e5beaac1dccf8933a4ac42b7570648d3c6e8b9c40e5327f91e9b1be9913346f1

See more details on using hashes here.

File details

Details for the file fxiaoke_python-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: fxiaoke_python-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for fxiaoke_python-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 89f9bcf9aac2cd1297705013358a08034e1fdcedeab7daacb59ff3a0b6770be9
MD5 2314d80d6b04eebf3e3c90bc6505873c
BLAKE2b-256 4d505d6b2d88605b63afefd8adb514178353b3a8bb6ff644719bd5991e488af5

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