Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wang502/Toptal-API
:computer: Command line interface to read engineering blogs from http://toptal.com/blog
https://github.com/wang502/Toptal-API
Last synced: 2 days ago
JSON representation
:computer: Command line interface to read engineering blogs from http://toptal.com/blog
- Host: GitHub
- URL: https://github.com/wang502/Toptal-API
- Owner: wang502
- License: mit
- Created: 2016-05-21T03:52:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-08T20:29:57.000Z (over 3 years ago)
- Last Synced: 2024-06-06T16:33:38.875Z (15 days ago)
- Language: Python
- Homepage:
- Size: 73.2 KB
- Stars: 62
- Watchers: 4
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - Toptal-API
README
#Toptal-API
Toptal-API is a python library to look up engineering blogs of various topics from [Toptal.com](http://toptal.com) (frontend, backend, database and etc).
## Setup
### Install with **pip**
```
$pip install Toptal-API
```### Install from source
```
$ git clone [email protected]:wang502/Toptal-API.git
$ cd Toptal-API
$ python setup.py install
```## Usage
### Use as command line interface
![screenshot](http://g.recordit.co/3VUDBBoN0V.gif)
- 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-mistakes2. Productivity On The Road: Work Full-Time, Travel Solo, Have Fun4 days ago
http://toptal.com/remote/how-to-travel-and-work-full-time3. Clustering Algorithms: From Start To State Of The Art4 days ago
http://toptal.com/machine-learning/clustering-algorithms4. Toptal's Quick And Practical JavaScript Cheat Sheet: ES6 And Beyond6 days ago
http://toptal.com/javascript/javascript-es6-cheat-sheet5. HTTP Request Testing: A Developer's Survival Tool18 days ago
http://toptal.com/freelance/http-request-testing-a-survival-tool6. Express, Koa, Meteor, Sails.js: Four Frameworks Of The Apocalypse18 days ago
http://toptal.com/nodejs/nodejs-frameworks-comparison7. Declarative Programming: Is It A Real Thing?20 days ago
http://toptal.com/software/declarative-programming8. 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
```python
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')
```