<commit_before>![HNify](https://raw.github.com/karan/HackerNewsAPI/master/HN.jpg)

Unofficial REST API for [Hacker News](https://news.ycombinator.com/). Built using [HackerNewsAPI](https://github.com/karan/HackerNewsAPI).

Start
=====

    $ brew install memcached    # install memcached
    $ memcached -vv             # start memcached server
    $ python app.py             # start the api

Usage<commit_msg>update instructions<commit_after>![HNify](https://raw.github.com/karan/HackerNewsAPI/master/HN.jpg)

Unofficial REST API for [Hacker News](https://news.ycombinator.com/). Built using [HackerNewsAPI](https://github.com/karan/HackerNewsAPI).

Now uses memcached for increased performace!

Start
=====

    $ brew install memcached            # install memcached
    $ pip install -r requirements.txt   # install dependencies
    $ memcached -vv                     # start memcached server
    $ python app.py                     # start the api

Usage
{'fraction_non_alphanumeric': 0.11550468262226847, 'fraction_numerical': 0.0, 'mean_word_length': 2.8947368421052633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3412627', 'n_tokens_mistral': 293, 'n_tokens_neox': 278, 'n_words': 66}