<commit_before><commit_msg>Added a basic example.<commit_after>require 'notice'

config = YAML::load(File.read(File.join(ENV['HOME'], '.pinboard')))

n = Notice.create(config['username'], config['password'])
n.all( :tag => 'books')
{'fraction_non_alphanumeric': 0.21212121212121213, 'fraction_numerical': 0.0, 'mean_word_length': 8.28, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1510275', 'n_tokens_mistral': 77, 'n_tokens_neox': 75, 'n_words': 14}