<commit_before>![AFeedly](http://i.imgur.com/HUyU7Bo.png)

#iOS Feedly API Client

Feedly API Client framework lets you authenticate by OAuth and connect Feedly APIs by returning Objective-C models. 

**Under heavily development**

##Installation

First add pod to your `Podfile` ;

```bash
pod 'AFeedly', '~> 0.0'
```

and install your pods by running command

```bash
pod install
```

Initialize your client once with your Feedly Application ID and Secret obtained from Feedly 

```obj-c
    [[AFLClient sharedClient] initWithApplicationId:@"yourApplicationIdHere" andSecret:@"yourSecretCodeHere"];
```

you may also be running on feedly sandbox enviroment. For detailed information please visit [http://developer.feedly.com/v3/sandbox/](http://developer.feedly.com/v3/sandbox/)

Additionally you can use experimental `sync with server` feature by adding:

```obj-c
[[AFLClient sharedClient] setIsSyncWithServer:YES];
```

##Usage

--TODO--

##License
This code is distributed under the terms and conditions of the MIT license.

##Author
<NAME> 
[@alkimake](https://twitter.com/alkimake)<commit_msg>Update README to better distinguish sample app vs user's own project<commit_after>![AFeedly](http://i.imgur.com/HUyU7Bo.png)

#iOS Feedly API Client

The Feedly API Client library lets you authenticate by OAuth and connect to the Feedly APIs by returning Objective-C models. The project includes:

* A sample app which makes demonstrates a subset of the library calls
* Library code which is distributed as a Pod

**Under heavily development**

##Building and running the sample app

In the project directory where you have downloaded the code install dependency pods by running the following command:

```bash
pod install
```

Edit AFLAppDelegate.m to use the sandbox key which can be found on the [Feedly Developer Google Group](https://groups.google.com/forum/#!forum/feedly-cloud). You can also use your own key if you have requested one.  


```obj-c
    [[AFLClient sharedClient initWithApplicationId:@"yourApplicationIdHere" andSecret:@"yourSecretCodeHere"];
```

You may also need to change AFLClient.m to use "https" for authentication as XCode may block the unencrypted traffic.

```obj-c
static NSString * const kFeedlySandboxAPIBaseURLString = @"https://sandbox.feedly.com/v3";
static NSString * const kFeedlySandboxUserURLString = @"https://sandbox.feedly.com/v3/auth/auth";
static NSString * const kFeedlySandboxTokenURLString = @"https://sandbox.feedly.com/v3/auth/token";
```

Compile and run the app from XCode and you should be up and running.

##Installation

To include AFeedly in your own project, first add pod to your `Podfile` in your project directory

```bash
pod 'AFeedly', '~> 0.0'
```

Then install the new pod by running command

```bash
pod install
```

Initialize your client once with your Feedly Application ID and Secret obtained from Feedly or use the feedly sandbox enviroment as above.

```obj-c
    [[AFLClient sharedClient] initWithApplicationId:@"yourApplicationIdHere" andSecret:@"yourSecretCodeHere"];
```

 For more detailed information please visit [http://developer.feedly.com/v3/sandbox/](http://developer.feedly.com/v3/sandbox/).

Additionally you can use experimental `sync with server` feature by adding:

```obj-c
[[AFLClient sharedClient] setIsSyncWithServer:YES];
```

##Usage

--TODO--

##License
This code is distributed under the terms and conditions of the MIT license.

##Author
<NAME> 
[@alkimake](https://twitter.com/alkimake)
{'fraction_non_alphanumeric': 0.10238026957269859, 'fraction_numerical': 0.003728133065672498, 'mean_word_length': 5.055555555555555, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2415356', 'n_tokens_mistral': 1081, 'n_tokens_neox': 988, 'n_words': 385}