Swiftpack.co - Package - ApolloZhu/BilibiliKit

BilibiliKit

3rd-party implementation of core bilibili functionalities in Swift.

GitHub (pre-)release Actions Status Swift 5.0 Swift Package Manager MIT License Documentation BCH compliance Maintainability

Install

Swift Package Manager

In Package.swift, add to your package's dependencies array:

.package(url: "https://github.com/ApolloZhu/BilibiliKit", from: "3.1.2"),

then add either BilibiliKit or BilibiliKitDYLIB (especially if you share this between main app and app extensions) as your targets' dependencies.

CocoaPods

In Podfile add:

pod 'BilibiliKit', '~> 3.1.2'

then run a pod install inside your terminal, or from CocoaPods.app.

Github

link
Stars: 10

Dependencies

Used By

Total: 0

Releases

BilibiliKit 3.1.2 - BKAudio! - 2020-03-26 15:09:52

  • BilibiliKit dynamic library is now BilibiliKitDYLIB
  • BKAudio can now be imported as a separate module through SPM
  • If you do use CocoaPods, it works again

BilibiliKit 3.1.1 - Migration - 2020-03-24 08:59:28

Fixed

  • Login in using username and password now works
  • Live room fetching now works
  • Deprecations with rename specified now errors

Changed

  • Uses GitHub Actions to update documentation

BilibiliKit 3.1.0 - Bilibili Video - 2020-03-23 18:06:54

This is a pre-release supporting only Swift Package Manager

Added

  • Retrieve video info with the new BV ID

Changed

  • Several fields of BKVideo.Info has been renamed, but since almost nobody uses them, it's okay

Known Issues

  • Login with username and password is broken

BilibiliKit 3.0.1 - CocoaPods - 2019-09-08 09:08:30

Changed

pod 'BilibiliKit'

BilibiliKit 3.0.0 - INSIDE IDENTITY - 2019-07-01 10:42:53

Added

  • Login with username and password

Changed

  • Increase minimum system requirements

Removed

  • Support for Linux Platform

BilibiliKit 2.0.0 - 2019-03-27 17:29:38

What's New

  • Updated to Swift 5.0
  • Now callback functions have type BKHandler<?>, which has a parameter of type Result<?, BKError>
  • Fixed and introducing BKUser and BKAudio
  • Other code quality improvements

BilibiliKit 1.1.4 - 2018-05-12 01:16:52

Fixed

  • Use String to deal with Codable's inability to parse empty URL.

BilibiliKit 1.1.3 - 2018-05-12 01:06:42

Fixed

  • Access level of cover image url.

BilibiliKit 1.1.2 - 2018-05-12 01:02:00

Fixed

  • Crash when no image was found in an article or live room.
  • Returns the famous "Akari" when no url is to be provided.

BilibiliKit 1.1.1 - 2018-05-12 00:44:36

Fixed

  • Access level of BKArticle and BKLiveRoom.

BilibiliKit 1.1.0 - 2018-05-12 00:34:53

Added

  • BKArticle and its Info.
  • BKLiveRoom and its Info.

Changed

  • BKVideo.Info no longer supports bangumi.

BilibiliKit 1.0.1 - 2018-05-06 21:33:14

Fixed

  • Video info is now accessible.

BilibiliKit 1.0.0 - 2018-03-04 01:18:30

Added

  • BKApp with its app key.
  • BKVideo and its Info.
  • BKCookie and BKSession for fundamental network requests.