GithubHelp home page GithubHelp logo

askari01 / straycat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sepicat/straycat

0.0 2.0 0.0 95 KB

Sepicat Data Parser - 获取到更多的 Github 信息

License: GNU General Public License v3.0

Ruby 12.35% Swift 85.62% Objective-C 2.03%

straycat's Introduction

Straycat

让你获取到更多的 Github 信息。

简介

由于 GitHub 在官方的接口中未提供 TrendingContributions 等相关接口,所以打算使用前端 Parser 来爬取对应的信息。StraycatSepicat 的开源组件,用来获取 GitHub 接口中无法获取到的信息。

进度

依赖库

  • Alamofire version 4.5+
  • Kanna version 4.0+
  • SwiftSoup version 1.6.3+

载入方式

(包管理工具暂时仅支持 CocoaPods,且版本号需要 1.1 以上)

use_frameworks!

pod 'Straycat', :git => 'https://github.com/Sepicat/Straycat.git'

执行 pod install 的时候会自动安装依赖库,若原始项目中有相同的依赖,若无版本冲突也可。

使用

Trending 获取

import Straycat

// 使用 Kanna 解析,获取全部语言当日 Trending Developers
StrayTrending.shared.fetchDev(language: "all", time: .today, tool: .kanna) { 
    (success, devs) in
    guard success, let devs = devs else {
        // 爬取失败
        return
    }
    // 成功处理
}

Sepicat 组件

欢迎支持已经上架的个人应用 Sepicat - 致力于打造最 Geekful 的 GitHub 客户端。

数据源提供

倘若有更好的 GitHub 数据源,欢迎在 issue 中提供。

GNU General Public License v3.0

Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.

straycat's People

Contributors

desgard avatar

Watchers

James Cloos avatar Farrukh Askari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.