<commit_before>
ZeGo: Zendesk API wrapper for Golang
====================================

![][logo]


## About:

A simple (hopefully) library for interfacing with the Zendesk v2 API


## Usage:

```sh
auth := zego.Auth{"username", "password", "subdomain.zendesk.com"}
response, _ := auth.ListTickets()
tickets := &zego.TicketArray{}
json.Unmarshal([]byte(response.Raw), tickets)
```


## Endpoints Implemented 


#### Users

- GET `/api/v2/users.json`


#### Tickets

- GET `/api/v2/tickets.json`

- DELETE `/api/v2/tickets/{id}.json`


#### Views

- GET `/api/v2/views.json`


[logo]: https://raw.githubusercontent.com/adamar/zego/master/doc/zendesk_logo.png<commit_msg>center image with html in MD<commit_after>
ZeGo: Zendesk API wrapper for Golang
====================================

<p align="center">
  <img src="https://raw.githubusercontent.com/adamar/zego/master/doc/zendesk_logo.png" alt="Zendesk Logo"/>
</p>


## About:

A simple (hopefully) library for interfacing with the Zendesk v2 API


## Usage:

```sh
auth := zego.Auth{"username", "password", "subdomain.zendesk.com"}
response, _ := auth.ListTickets()
tickets := &zego.TicketArray{}
json.Unmarshal([]byte(response.Raw), tickets)
```


## Endpoints Implemented 


#### Users

- GET `/api/v2/users.json`


#### Tickets

- GET `/api/v2/tickets.json`

- DELETE `/api/v2/tickets/{id}.json`


#### Views

- GET `/api/v2/views.json`


{'fraction_non_alphanumeric': 0.226590421729807, 'fraction_numerical': 0.007147962830593281, 'mean_word_length': 4.426356589147287, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3448394', 'n_tokens_mistral': 540, 'n_tokens_neox': 498, 'n_words': 102}