<commit_before>[![Build Status](https://travis-ci.org/chrisradford/chiketto.svg?branch=master)](https://travis-ci.org/chrisradford/chiketto)
[![Code Climate](https://codeclimate.com/github/chrisradford/chiketto.png)](https://codeclimate.com/github/chrisradford/chiketto)
[![Coverage Status](https://coveralls.io/repos/chrisradford/chiketto/badge.png)](https://coveralls.io/r/chrisradford/chiketto)

# チケット - Chiketto

Chiketto is a ruby gem for interacting with the Eventbrite V3 API, chiketto in Japanese literally means 'Ticket' and seems like a reasonable name given most of the obvious options are already taken.

## Installation

Add this line to your application's Gemfile:

    gem 'chiketto'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install chiketto

## Usage

```
Chiketto.token = YOUR_API_TOKEN

event = Chiketto::Event.find 12
Chiketto::Event::Attendees event or Chiketto::Event::Attendees 12

Chiketto::Event.search 'name'
```

## Contributing

1. Fork it ( https://github.com/[my-github-username]/chiketto/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request<commit_msg>Update to usage in README<commit_after>[![Build Status](https://travis-ci.org/chrisradford/chiketto.svg?branch=master)](https://travis-ci.org/chrisradford/chiketto)
[![Code Climate](https://codeclimate.com/github/chrisradford/chiketto.png)](https://codeclimate.com/github/chrisradford/chiketto)
[![Coverage Status](https://coveralls.io/repos/chrisradford/chiketto/badge.png)](https://coveralls.io/r/chrisradford/chiketto)

# チケット - Chiketto

Chiketto is a ruby gem for interacting with the Eventbrite V3 API, chiketto in Japanese literally means 'Ticket' and seems like a reasonable name given most of the obvious options are already taken.

## Installation

Add this line to your application's Gemfile:

    gem 'chiketto'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install chiketto

## Usage

```
Chiketto.token = EVENTBRITE_API_TOKEN
```

or Chiketto will read from the `EVENTBRITE_API_TOKEN` enviroment variable if this is set.

```
event = Chiketto::Event.find 123456
Chiketto::Event::Attendees event or Chiketto::Event::Attendees 123456

Chiketto::Event.search 'name'
```

## Contributing

1. Fork it ( https://github.com/[my-github-username]/chiketto/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
{'fraction_non_alphanumeric': 0.12327746741154562, 'fraction_numerical': 0.010428305400372439, 'mean_word_length': 4.864628820960698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, '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': '6377803', 'n_tokens_mistral': 936, 'n_tokens_neox': 883, 'n_words': 246}