<commit_before># carriots_api
A simple python api for interacting with carriots<commit_msg>Added an example to README.md.<commit_after># carriots_api
A simple python api for interacting with carriots

# Usage

Example post stream
-------------------
    from carriots_api import CarriotsApi

    client = CarriotsApi("YOUR APIKEY", "YOUR DEVICE_ID")
    data = {"KEY":"VALUE"}
    client.post(data)
{'fraction_non_alphanumeric': 0.12311557788944724, 'fraction_numerical': 0.0, 'mean_word_length': 3.75, 'pattern_counts': {'":': 1, '<': 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': '6129899', 'n_tokens_mistral': 127, 'n_tokens_neox': 120, 'n_words': 39}