Skip to content

hudora/pyZendesk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pyZendesk - a Python module for zendesk.com

pyZendesk is a Python module for zendesk.com. pyZendesk allows you to

  1. create new users
  2. create signed links

Configuration

The configuration of pyZendesk are the following variables: Set DESK_URL to the url of your zendesk account: DESKURL = 'http://yoursubdomain.zendesk.com/'

If you want to create new users, you must set the environment variable ZENDESK_CREDENTIALS. If you want to create links, you must set the environment variable ZENDESK_REMOTE_AUTH_TOKEN.

Enable remote authentication

Remote authentication can be enabled at https://yoursubdomain.zendesk.com/account/security See http://www.zendesk.com/api/remote-authentication for further instructions.

Examples

Create a new user: os.environ['ZENDESK_DOMAIN'] = 'example' os.environ['ZENDESK_CREDENTIALS'] = 'username@example.com:secret'

import zendesk
zendesk.create_user('Joe Average', 'joe@example.com')

Create a signed link:

os.environ['ZENDESK_DOMAIN'] = 'example'
os.environ['ZENDESK_REMOTE_AUTH_TOKEN'] = 'TOKEN'
zendesk.create_link('Joe Average', 'joe@example.com')

Bitdeli Badge

About

Python-Module for Zendesk.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages