<commit_before>uwaterlooapi README
===================

Thin Python wrapper for the University of Waterloo Open Data API. The API is documented here: http://api.uwaterloo.ca/

NOTE: This implementation is not yet complete! But adding new methods is easy.

Install
-------

Using pip::

pip install -e hg+https://bitbucket.org/amjoconn/uwaterlooapi

Usage
-----
  
Using Weather as an example::

>>> from uwaterlooapi import UWaterlooAPI
>>> api = UWaterlooAPI(api_key="YOU API KEY HERE")
>>> api.weather()
Returns weather json

Any positional or unrecongized keyword arguments will be ignored. If "output" or "callback" keyword arguments are provided the raw response is returned.<commit_msg>Clean up readme.<commit_after>uwaterlooapi README
===================

Thin Python wrapper for the University of Waterloo Open Data API. The API is documented here: http://api.uwaterloo.ca/

NOTE: This implementation is not yet complete! But adding new methods is easy.

Install
-------

Using pip::

   pip install -e hg+https://bitbucket.org/amjoconn/uwaterlooapi

Usage
-----
  
Using Weather as an example::

   >>> from uwaterlooapi import UWaterlooAPI
   >>> api = UWaterlooAPI(api_key="YOU API KEY HERE")
   >>> api.weather()
   Returns weather json

Any positional or unrecongized keyword arguments will be ignored. If "output" or "callback" keyword arguments are provided the raw response is returned.
{'fraction_non_alphanumeric': 0.11626248216833096, 'fraction_numerical': 0.0, 'mean_word_length': 4.215613382899628, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 2, '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': '7673013', 'n_tokens_mistral': 415, 'n_tokens_neox': 383, 'n_words': 161}