跳转到主要内容

用于简化Marketo集成的命令行工具

项目描述

marketo-monkey Snap Status

CLI工具用于简化Marketo集成。

安装

使用 snap

$ snap install marketo-monkey [--edge] [--classic]

--classic 允许您从工具中编辑配置文件(凭据),否则不需要。

$ marketo-monkey -v
2018-06-08 14:26:12,793 DEBUG Added a stderr logging handler to logger: urllib3
Could not access the configuration file ...
Please edit /home/ubuntu/snap/marketo-monkey/common/marketo-monkey.yaml manually

用法

$ marketo-monkey lead
'Lead' object available fields:
    firstName, lastName, email, company

$ marketo-monkey lead email=foo.bar@example.com
Lead object updated!
{'createdAt': '2018-06-08T12:19:00Z',
 'email': 'foo.bar@example.com',
 'firstName': 'Foo',
 'id': 33374563,
 'lastName': 'Bar',
 'updatedAt': '2018-06-08T17:57:07Z'}

$ marketo-monkey snap
'Snap' object available fields:
    createdAt, marketoGUID, updatedAt, Confinement, channel, emailAddress, revision, snapName

$ marketo-monkey snap emailAddress=foo.bar@example.com,snapNamexx=testing-snap5
Failed to create or modify snap!
    Field 'snapNamexx' not found
    Value for requried field 'snapname' not specified

$ marketo-monkey snap emailAddress=foo.bar@example.com,snapName=testing-snap5
Snap object created!
{'Confinement': None,
 'channel': None,
 'createdAt': '2018-06-08T18:34:21Z',
 'emailAddress': 'foo.bar@example.com',
 'marketoGUID': 'e1361ee9-7f9e-4a2c-acb4-b7e988ac8c55',
 'revision': None,
 'seq': 0,
 'snapName': 'testing-snap5',
 'updatedAt': '2018-06-08T18:34:21Z'}

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源分发

marketo-monkey-0.3.tar.gz (4.2 kB 查看哈希值)

上传时间:

构建分发

marketo_monkey-0.3-py3-none-any.whl (5.1 kB 查看哈希值)

上传时间 Python 3

支持者