zenpy icon indicating copy to clipboard operation
zenpy copied to clipboard

Help Center API Support

Open nealdav opened this issue 8 years ago • 7 comments

Wasn't clear from skimming the docs if this is available.

zenpy.lib.api_objects.Topic Looks promising but I didn't see an example of it in action. Thanks

nealdav avatar Sep 18 '17 22:09 nealdav

Hi @nealdav, the Help Centre API is not currently supported. In theory it would be straightforward to add support, it's just a matter of defining the endpoints and the objects. I won't have time to implement this for a while but I will mark this issue as an enhancement and return to it when I am able.

facetoe avatar Sep 19 '17 10:09 facetoe

Sounds good and thank you for all of your great work on this client. It's proven to be very helpful.

nealdav avatar Sep 19 '17 11:09 nealdav

I've merged initial support for the HelpCentre API into master. There are a couple of endpoints that still are not supported, but the majority are. I haven't written any docs yet, but you can see what is available here - https://github.com/facetoe/zenpy/blob/master/zenpy/lib/api.py#L1468.

Let me know if you have any issues!

facetoe avatar Dec 08 '17 23:12 facetoe

I didn't see this until today. Will test, asap. Thank you!

nealdav avatar Mar 16 '18 03:03 nealdav

really impressive stuff, thanks!

gho21 avatar Aug 29 '18 05:08 gho21

No worries :)

facetoe avatar Aug 29 '18 14:08 facetoe

what is the syntax to create a section? I tried passing in category Id and the Section object: sect_obj = guide_obj.Section(name="Avionics", description="airborne", locale="en-us",manageable_by="staff", user_segment_id=360000258652L) zenpy_client.help_center.sections.create(360000377312L, sect_obj) but got: TypeError: create() takes exactly 2 arguments (3 given)

Thanks in advance!

gho21 avatar Sep 20 '18 00:09 gho21

HC support in there!

cryptomail avatar Sep 17 '23 04:09 cryptomail