<commit_before>Python-Cotendo
==============

References the [Cotendo API](http://help.cotendo.net/display/Manual22/APIs?undefined).

Usage
-----

## Overview

    from cotendo import CotendoHelper

    c = CotendoHelper(username, password)
    c.GrabDNS('mysite.com', 1)
    print c.dns.conf

## Lighter API

    from cotendo import Cotendo
    
    c = Cotendo(username, password)
    
    # print the staging domain conf and token
    print c.dns_get_conf('mydomain.com', 0)
<commit_msg>removed usage in markdown<commit_after>Python-Cotendo
==============

References the [Cotendo API](http://help.cotendo.net/display/Manual22/APIs?undefined).

## Overview

    from cotendo import CotendoHelper

    c = CotendoHelper(username, password)
    c.GrabDNS('mysite.com', 1)
    print c.dns.conf

## Lighter API

    from cotendo import Cotendo
    
    c = Cotendo(username, password)
    
    # print the staging domain conf and token
    print c.dns_get_conf('mydomain.com', 0)

{'fraction_non_alphanumeric': 0.12972420837589377, 'fraction_numerical': 0.008171603677221655, 'mean_word_length': 3.4144144144144146, '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': '2903042', 'n_tokens_mistral': 342, 'n_tokens_neox': 318, 'n_words': 76}