[工具资源] Toptal-API – 一个发掘和浏览技术博客的 CLI

Toptal-API

Toptal-API is a python library to look up engineering blogs of various topics from Toptal.com (frontend, backend, database and etc).

Setup

Install withpip

  $pip install Toptal-API 

Install from source

  $ git clone git@github.com:wang502/Toptal-API.git   $ cd Toptal-API   $ python setup.py install 

Usage

Use as command line interface

[工具资源] Toptal-API - 一个发掘和浏览技术博客的 CLI

  • look up trending engineering blogs
  $ toptal --trending=true   Trending engineering posts:   1. The 10 Most Common Mistakes That Unity Developers Makeabout 13 hours ago   http://toptal.com/unity-unity3d/top-unity-development-mistakes    2. Productivity On The Road: Work Full-Time, Travel Solo, Have Fun4 days ago   http://toptal.com/remote/how-to-travel-and-work-full-time    3. Clustering Algorithms: From Start To State Of The Art4 days ago   http://toptal.com/machine-learning/clustering-algorithms    4. Toptal's Quick And Practical JavaScript Cheat Sheet: ES6 And Beyond6 days ago   http://toptal.com/javascript/javascript-es6-cheat-sheet    5. HTTP Request Testing: A Developer's Survival Tool18 days ago   http://toptal.com/freelance/http-request-testing-a-survival-tool    6. Express, Koa, Meteor, Sails.js: Four Frameworks Of The Apocalypse18 days ago   http://toptal.com/nodejs/nodejs-frameworks-comparison    7. Declarative Programming: Is It A Real Thing?20 days ago   http://toptal.com/software/declarative-programming    8. Using Scala.js With NPM And Browserify22 days ago   http://toptal.com/scala/using-scala-js-with-npm-and-browserify 
  • Look up newest engineering blogs:
  $ toptal --newest=true 
  • search engineering blogs based on topic: currently supported topic include: frontend , backend , mobile , design , lifestyle , database
  $ toptal --topic=backend 
  • search engineering blogs based on keyword:
  $ toptal --search=nodejs 

Use as library in your python script

import toptal   t = Toptal()   # search for blogs based on keyword, start from 1, search for 10 items   posts1 = t.search('redis', 1, 10)   # look up trending engineering blogs   trendings = t.trending()   # look up newest engineering blogs   newests = t.newest()   #   posts2 = t.top('backend')

原文  https://github.com/wang502/Toptal-API

本站部分文章源于互联网,本着传播知识、有益学习和研究的目的进行的转载,为网友免费提供。如有著作权人或出版方提出异议,本站将立即删除。如果您对文章转载有任何疑问请告之我们,以便我们及时纠正。

PS:推荐一个微信公众号: askHarries 或者qq群:474807195,里面会分享一些资深架构师录制的视频录像:有Spring,MyBatis,Netty源码分析,高并发、高性能、分布式、微服务架构的原理,JVM性能优化这些成为架构师必备的知识体系。还能领取免费的学习资源,目前受益良多

转载请注明原文出处:Harries Blog™ » [工具资源] Toptal-API – 一个发掘和浏览技术博客的 CLI

赞 (0)
分享到:更多 ()

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址