<commit_before># ketchupstatus
Displays the status of your office's community ketchup.

## Background
In our office Monday is chicken & fries day. And we always have a bottle
of ketchup which we share. However before buying groceries in the supermarket
next door, we always forget to check if we have enough ketchup left.

So I quickly threw together a simple sinatra web app to set and check the
status.

## Thanks
[Kevin](http://twitter.com/thesndwichmn) for quickly creating pics and
design on a Friday evening.<commit_msg>update API definitions in README<commit_after># ketchupstatus
Displays the status of your office's community ketchup.

## Background
In our office Monday is chicken & fries day. And we always have a bottle
of ketchup which we share. However before buying groceries in the supermarket
next door, we always forget to check if we have enough ketchup left.

So I quickly threw together a simple sinatra web app to set and check the
status.

## API
There are some rather simple API endpoints:

Update your ketchup:

  POST /ketchup/$yourketchup/$token/$value

Status of your ketchup:

  GET /ketchup/$yourketchup

Create new ketchup:

  POST /ketchup/$desiredname

## Beware
You only get the token once and there is no way to recover it at the moment.

## Thanks
[Kevin](http://twitter.com/thesndwichmn) for quickly creating pics and
design on a Friday evening.
{'fraction_non_alphanumeric': 0.053545586107091175, 'fraction_numerical': 0.0, 'mean_word_length': 4.3604651162790695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5346133', 'n_tokens_mistral': 396, 'n_tokens_neox': 373, 'n_words': 201}