Skip to main content

UCMS采集接口python推送库,用于python将采集内容推送到UCMS上

Project description

UCMS 采集接口python推送库

UCMS采集接口python推送库,用于python将采集内容推送到UCMS上

UCMS官网: http://uuu.la

使用方法

单文章推送函数

ucms.post(url,data)

成功返示例: {'code': 1, 'msg': '推送成功'}

code 状态码:

1推送成功

2栏目cid参数不能为空

3栏目不存在

4栏目某个字段不存在(msg返回信息中会说明是哪个字段)

5采集接口网址错误

6网络错误或其它未知错误 7网址无法访问

多文章推送

ucms.post_list(url,data)

成功返回示例: {'code': 1, 'successnum': 4}

code 状态码: 1推送成功

successnum 成功推送条数

如果 成功推送条数为0 而实际推送了多条数据,说明推送失败,请用单文章推送测试错误原因

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

ucms-1.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ucms-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file ucms-1.0.0.tar.gz.

File metadata

  • Download URL: ucms-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for ucms-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6b145fcae8ae5838b1cfdf28b48c8f74360797f170c3d8a5b248c316aa3b91c6
MD5 5a4e0f7c70776d32adcc7c44c208f2fe
BLAKE2b-256 daace6407dfdb663e197f88dbeeb799da7d7b144f15780c372249fe5b2f9e6ab

See more details on using hashes here.

File details

Details for the file ucms-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ucms-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for ucms-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 846c9096b4ee452630f711ac82e4655f81f1bf949d6de3b578239a4f6de613a4
MD5 f1d3d0c84cb4cf7c7fd8fd18b2fbd93d
BLAKE2b-256 1dbcea0ce9d607bd79acf8a0078293229c531554a44092846b3b2733d49e5217

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page