<commit_before>= TINAMI

TINAMI is a simple TINAMI API library.

== Copyright

Copyright (C) 2011 <NAME>

Released under the WTFPL: http://sam.zoy.org/wtfpl<commit_msg>Add install, example and requirements to README.<commit_after>= TINAMI

TINAMI is a simple TINAMI API library.

== Install

    $ gem install tinami

== Example

    require 'tinami'
    
    TINAMI.configure do |config|
      config.api_key = '*** api_key ***'
    end
    
    auth = TINAMI.auth(email: '*** email ***', password: '*** password ***')
    auth_key = auth.auth_key
    client = TINAMI.client(auth_key: auth_key)
    
    info = client.info
    info.user # => {no: "146005"}
    
    ranking = client.ranking(category: 1)
    ranking.contents.each do |content|
      # ... do something
    end
    
    search = client.search(text: '魔法少女まどか★マギカ')
    search.contents.each do |content|
      # ... do something
    end

== Requirements

    rest-client
    active_support
    hashie

== Copyright

Copyright (C) 2011 <NAME>

Released under the WTFPL: http://sam.zoy.org/wtfpl
{'fraction_non_alphanumeric': 0.1239356669820246, 'fraction_numerical': 0.014191106906338695, 'mean_word_length': 2.7785714285714285, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '4346744', 'n_tokens_mistral': 388, 'n_tokens_neox': 371, 'n_words': 93}