A CLI at your hands to deal with the features of ScrapingHub.
Project description
# Scrapinghub CLI
----
A Command Line Interface at your hands to deal with the features of ScrapingHub.
![start-using](https://cloud.githubusercontent.com/assets/4680755/18898756/0ea42c0e-850a-11e6-801a-fdbd75915cdd.gif)
### Quick Start:
```
$ shub-cli repl
```
or
```
$ shub-cli -api '<API KEY>' -project <PROJECT_ID> repl
```
### Usage
##### Getting Jobs
```
> jobs [-tag tag] [-lacks tag] [-spider spider] [-state state] [-count count]
```
##### Getting a specific job
```
> job -id <id>
```
##### Getting a specific job along with the logs
```
> job -id <id> --with-logs
```
### Examples:
```
$ shub-cli repl
> jobs -count 100
> jobs -tag production -spider myspider -state finished
> job -id '10/10/1000'
```
### Help:
For help or suggestion please open an issue at the [Github Issues page](https://github.com/victormartinez/shub_cli/issues).
----
A Command Line Interface at your hands to deal with the features of ScrapingHub.
![start-using](https://cloud.githubusercontent.com/assets/4680755/18898756/0ea42c0e-850a-11e6-801a-fdbd75915cdd.gif)
### Quick Start:
```
$ shub-cli repl
```
or
```
$ shub-cli -api '<API KEY>' -project <PROJECT_ID> repl
```
### Usage
##### Getting Jobs
```
> jobs [-tag tag] [-lacks tag] [-spider spider] [-state state] [-count count]
```
##### Getting a specific job
```
> job -id <id>
```
##### Getting a specific job along with the logs
```
> job -id <id> --with-logs
```
### Examples:
```
$ shub-cli repl
> jobs -count 100
> jobs -tag production -spider myspider -state finished
> job -id '10/10/1000'
```
### Help:
For help or suggestion please open an issue at the [Github Issues page](https://github.com/victormartinez/shub_cli/issues).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shub-cli-1.0.2.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for shub_cli-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 526dfba64660539f4ba10f7351dee12ab4355f93cccc0a83419146ef5533acff |
|
MD5 | 3c7e26618e97e66127b0c9a571972abe |
|
BLAKE2b-256 | 2d0b1e2f918cb34b083d09e1b015bcf3889bb4ca9865edcc57fba8b3e760295d |