Swiftpack.co - Package - kumabook/FeedlyKit

FeedlyKit

Build Status SwiftPM compatible Carthage compatible Coverage Status GitHub release

Feedly Cloud API client library with Swift

Requirements

  • iOS 9.0+ / macOS 10.11+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 8.0+
  • Swift 3.0+

If you use swift 2.x, use version 0.*

Installation

Carthage

You can use Carthage to install FeedlyKit by adding it to your Cartfile:

github "kumabook/FeedlyKit"

And run carthage update and setup your xcode project.

Cocoapods

You can also use Cocoapods to install FeedlyKit by adding it to your Podfile:

pod 'FeedlyKit', '~> 1.0'

Support API

Currently, FeedlyKit partially support feedly cloud apis.

  • ☑ Categories API
  • ☑ Entries API
  • ☐ Evernote API
  • ☐ Facebook API
  • ☑ Feeds API
  • ☑ Markers API
  • ☐ Microsoft API
  • ☐ Mixes API
  • ☐ OPML API
  • ☑ Preferences API
  • ☑ Profile API
  • ☑ Search API
  • ☑ Streams API
  • ☑ Subscriptions API
  • ☑ Tags API
  • ☐ Twitter API
  • ☐ URL Shortener API

Usage

  1. Setup the config values in FeedlyAPIClientConfig

    FeedlyKit.Config.target = .Sandbox   // .Sandbox or .Production
    
  2. Obtain an ouath access token. You can use NXOAuth2Client or other library

  3. Set the access token as CloudAPIClient.Config.accessToken.

    FeedlyKit.Config.accessToken = "..."
    
  4. You can use FeedlyKit.CloudAPIClient like below:

    let streamId                  = "..."
    var paginationParams          = PaginationParams()
    paginationParams.unreadOnly   = true
    paginationParams.count        = 15
    paginationParams.continuation = "..."
    let client                    = CloudAPIClient()
    client.fetchContents(streamId,
                       paginationParams: paginationParams,
                      completionHandler: { (response) -> Void in
                ....
    })
    

    You can also refer to a example project.

Dependencies

Here is the libraies that FeedlyKit uses. Thanks for the developers.

Github

link
Stars: 46

Used By

Total: 0

Releases

Swift 4.2 - 2019-01-09 05:07:39

swift 4.1 - 2018-04-06 10:09:27

- 2018-01-01 06:25:20

swift 4.0.3 - 2017-12-22 06:26:52

- 2017-10-17 13:25:18

Swift 4 + Xcode 9 - 2017-09-23 12:10:24

- 2017-08-07 06:01:48

- 2017-07-06 01:47:02

- 2017-06-01 14:25:01

- 2017-05-19 07:26:33

swift 3.1.0 - 2017-05-03 02:15:05

- 2017-04-21 02:32:56

- 2017-04-08 12:08:45

- 2016-11-26 01:29:45

swift 3.0 - 2016-11-02 23:30:01

  • migrate to swift 3.0
  • support tvOS, watchOS

Profile properties - 2016-10-10 15:04:38

Profile model properties are mutable and public

0.6.0: First release for swift 2.2 - 2016-04-03 10:05:27

Swfit 2.2

- 2016-04-02 10:52:34

Customization - 2016-03-19 06:13:02

  • Add interface of Customazation:
    • Target.Custom
    • API
  • Remove topics api because the API is gone
  • Buf fix:
    • Update profile api POST /v3/profile
    • Untag entries api DELETE /v3/tags/:tagId1,tagId2/:entryId1,entryId2
    • Get the list of unread counts api: GET /v3/markers/counts

- 2016-03-12 09:10:08

0.5.0: First version for swift 2.1 - 2015-12-05 06:52:14

0.4.1: Last version for swift 2.0 - 2015-12-05 06:51:51

0.3.7: last version for swift 1.2 - 2015-09-17 14:03:34

Last version of Swift 1.2