Code Monkey home page Code Monkey logo

askso's Introduction

askso

实现命令行方式查询StackOverFlow。调用 StackExchange API 搜索关键字,返回StackOverFlow上相关度最高的提问列表及回答(按投票排序)。


效果

安装

  1. 克隆github仓库: git clone https://github.com/Kunkgg/askso.git
  2. 安装:python setup.py install

使用

  • 命令行非常简单
Usage: askso.py [OPTIONS] KEYWORDS

Options:
  --searchlistsize INTEGER  搜索多少个与关键字相关性最高的提问,default=10
  --queslistsize INTEGER    显示多少个与关键字相关性最高的提问,default=10
  --answerlistsize INTEGER  解析关于某个提问投票得分前多少名的回答,default=5
  --help                    Show this message and exit.
  • 举例 搜索关键字python decorator,在命令行输入: askso "python decorator"即可

参考

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.