persistiq api的简单python包装器
persistiq的Python项目详细描述
安装
吉特
pip install git+git://github.com:tizz98/persistiq.git@master
Pypi
即将推出
用法
设置
- 将PERSIST_IQ_API_KEY='xxxxxxxx'添加到环境变量
- bash:echo export PERSIST_IQ_API_KEY='xxxxxxxx' >> ~/.bashrc
- zsh:echo export PERSIST_IQ_API_KEY='xxxxxxxx' >> ~/.zshrc
- 窗口:???
- 打开新终端或:
- bash:. ~/.bashrc
- zsh:. ~/.zshrc
- 窗口:???
资源
用户
frompersistiqimportUserforuserinUser.list():printuser.id,user.name
铅
frompersistiqimportLead# NOTE:# Leads will automatically be paginated# to only get the first 100 without pagination set:# >>> Lead.paginate = FalseforleadinLead.list():printlead.id,lead.data