<commit_before># Polymer Darksky

Polymer web components for Dark Sky API

## Installation

```
bower install --save polymer-darksky
```

## Usage

```
<darksky-forecast
  auto
  api-key="0c91dff60f9a0f4f2628d39ee828341a"
  latitude="-37.817348"
  longitude="144.965108"
  exclude='["minutely","hourly","daily","flags"]'
  extend-hourly
  lang="en"
  units="ca"
  response="{{_fcResponse}}">
</darksky-forecast>
```

and

```
<darksky-time-machine
  auto
  api-key="0c91dff60f9a0f4f2628d39ee828341a"
  latitude="-37.817348"
  longitude="144.965108"
  time="409467600"
  exclude='["minutely","hourly","daily","flags"]'
  lang="en"
  units="ca"
  response="{{_tmResponse}}">
</darksky-time-machine>
```<commit_msg>Add document and demo section to readme.<commit_after># Polymer Darksky

Polymer web components for Dark Sky API

## Installation

```
bower install --save polymer-darksky
```

## Usage

```
<darksky-forecast
  auto
  api-key="0c91dff60f9a0f4f2628d39ee828341a"
  latitude="-37.817348"
  longitude="144.965108"
  exclude='["minutely","hourly","daily","flags"]'
  extend-hourly
  lang="en"
  units="ca"
  response="{{_fcResponse}}">
</darksky-forecast>
```

and

```
<darksky-time-machine
  auto
  api-key="0c91dff60f9a0f4f2628d39ee828341a"
  latitude="-37.817348"
  longitude="144.965108"
  time="409467600"
  exclude='["minutely","hourly","daily","flags"]'
  lang="en"
  units="ca"
  response="{{_tmResponse}}">
</darksky-time-machine>
```

## Document and Demo

```
$ cd polymer-darksky
$ polymer serve --open
```
{'fraction_non_alphanumeric': 0.1834862385321101, 'fraction_numerical': 0.10878112712975098, 'mean_word_length': 5.258196721311475, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '274975', 'n_tokens_mistral': 717, 'n_tokens_neox': 617, 'n_words': 92}