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.3.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for shub_cli-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51bc5be4085b5c3b9a3aadcf705b0f2922a064fff8fceae1f3095197b9ca21f4 |
|
MD5 | 8af0d6e798c42a7113a1a113c1cd4604 |
|
BLAKE2b-256 | dda724ace88b31a34a5fcdbbe1f973150e32daccf411edcbe1e39c46104f86b8 |