<commit_before># Pixy

Pixy is an API wrapper for Pixiv url shortener - [p.tl](http://p.tl/)

## Installation

```ruby
gem 'pixy'
# gem install pixy
```

## Usage

```ruby
url = Pixy.shorten!(API_KEY, 'https://github.com/narkoz/pixy')
# => #<Pixy::Shorten:0x0000010201bde8 @status="ok", @long_url="https://github.com/narkoz/pixy", @short_url="http://p.tl/Us9R", @counter=20>

url.status
# => "ok"

url.long_url
# => "https://github.com/narkoz/pixy"

url.short_url
# => "http://p.tl/Us9R"

url.counter
# => 20
```

## Copyright

Copyright (c) 2011 <NAME>
BSD License.
<commit_msg>update README.md with travis status image<commit_after># Pixy

[![Build Status](https://secure.travis-ci.org/NARKOZ/pixy.png)](http://travis-ci.org/NARKOZ/pixy)

Pixy is an API wrapper for Pixiv url shortener - [p.tl](http://p.tl/)

## Installation

```ruby
gem 'pixy'
# gem install pixy
```

## Usage

```ruby
url = Pixy.shorten!(API_KEY, 'https://github.com/narkoz/pixy')
# => #<Pixy::Shorten:0x0000010201bde8 @status="ok", @long_url="https://github.com/narkoz/pixy", @short_url="http://p.tl/Us9R", @counter=20>

url.status
# => "ok"

url.long_url
# => "https://github.com/narkoz/pixy"

url.short_url
# => "http://p.tl/Us9R"

url.counter
# => 20
```

## Copyright

Copyright (c) 2011 <NAME>    
BSD License.

{'fraction_non_alphanumeric': 0.21411947245927077, 'fraction_numerical': 0.03413498836307215, 'mean_word_length': 4.286885245901639, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 7, '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': '2665507', 'n_tokens_mistral': 599, 'n_tokens_neox': 543, 'n_words': 95}