Comments

9 comments

  • Avatar
    Arnaud de Theux

    Hi Max,

    Thanks, I was just looking for that! :)

  • Avatar
    Steven Yan

    Thanks for your contribution Max!  Wanted to let you know that we've just released API v2: http://developer.zendesk.com.

  • Avatar
    Andreas Lydersen

    Hi,

    Thanks for sharing this library!

    I'm having trouble using it for PUT-actions, and as far as I can see there is no examples of such in you files. Could you please give an example on say adding a comment to a ticket? When I try I get an "411 Length Required"-error.

    Thanks!

    Andreas

  • Avatar
    Alex Zak

    Saved me a ton of work....

    You guys rock! :)

  • Avatar
    Marwan Rabbaa

    just for information, this library use a deprecated version of API

  • Avatar
    Arnaud de Theux

    @Marwan you are correct. I have updated the article with a link to our new library: http://developer.zendesk.com/blog/2013/01/03/accessing-the-api-with-python/

  • Avatar
    KP

    Just a heads up that the library at  https://github.com/eventbrite/zendesk/  does in fact support the v2 endpoints now. There've been a couple of recent pull requests as well.

    We're all python at my company so this has been a huge convenience. Thanks to Max and everyone who's contributed.

  • Avatar
    Andrew Von Pelt III

    I've been trying to use this library to do a basic create_ticket command like the docs suggest, and i keep getting the error 

    '400: api v1 basic auth access is disabled'

    If the new version of the zendesk package from eventbrite supports V2 why would these errors be thrown every time.  Is there some way to switch the package to using v2?

  • Avatar
    Sean Kinney

    @Andrew: When you initialize the API client, you can specify the API version to use. If you don't specify a version or specify v1, then the old endpoints will be used which will result in the 400 error you received. You should be able to specify api_version=2 when you initialize the client to force it to use the v2 endpoints.

Please sign in to leave a comment.

Powered by Zendesk