<commit_before># ForecastPCL
An unofficial C# Portable Class Library for the [Forecast.io](http://developer.forecast.io) weather service. Compatible with .NET 4.5, Windows 8/8.1, Windows Phone 8/8.1, Silverlight 5, and Universal Windows Apps.

## Installation
[NuGet](https://www.nuget.org/packages/ForecastIOPortable/):
`Install-Package ForecastIOPortable`

## New in Version 2.2
* Added support for Universal Windows Apps (repackaged NuGet package correctly).
* Additional language support: Arabic, Slovak, Swedish, Turkish, Chinese.


## Quick Start
### Current Conditions
```C#
using ForecastIOPortable;

...

var client = new ForecastApi("YOUR API KEY HERE");
Forecast result = await client.GetWeatherDataAsync(37.8267, -122.423);

...
```

![](http://i.imgur.com/lLuBO0C.png)

Note that the Forecast.io service doesn't always return all fields for each region. In these cases, some properties may be null or zero.

### Conditions for a specific date
```C#
using ForecastIOPortable;<commit_msg>Update README for 2.3.<commit_after># ForecastPCL
An unofficial C# Portable Class Library for the [Forecast.io](http://developer.forecast.io) weather service. Compatible with .NET 4.5, Windows 8/8.1, Windows Phone 8/8.1, Silverlight 5, and Universal Windows Apps.

## Installation
[NuGet](https://www.nuget.org/packages/ForecastIOPortable/):
`Install-Package ForecastIOPortable`

## New in Version 2.3
* Added missing Precipitation Type field (thanks, [@lynnroth](https://github.com/lynnroth)!)
* Additional language support: Greek, Croatian, Ukrainian, and Traditional Chinese.


## Quick Start
### Current Conditions
```C#
using ForecastIOPortable;

...

var client = new ForecastApi("YOUR API KEY HERE");
Forecast result = await client.GetWeatherDataAsync(37.8267, -122.423);

...
```

![](http://i.imgur.com/lLuBO0C.png)

Note that the Forecast.io service doesn't always return all fields for each region. In these cases, some properties may be null or zero.

### Conditions for a specific date
```C#
using ForecastIOPortable;
{'fraction_non_alphanumeric': 0.12222769837358305, 'fraction_numerical': 0.02464268112370626, 'mean_word_length': 4.884057971014493, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, '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': '2381344', 'n_tokens_mistral': 690, 'n_tokens_neox': 620, 'n_words': 210}