openaustralia / morph

Take the hassle out of web scraping
https://morph.io
GNU Affero General Public License v3.0
461 stars 74 forks source link

Scrapper Run API #1195

Open howawong opened 6 years ago

howawong commented 6 years ago

Currently, there is no way we can customize the scheduling time (#369) or integrate with custom scheduler. Therefore, we better need an API which allows a developer to trigger a run programmatically.

Example API Endpoint: https://api.morph.io/[scraper]/run?key=[api_key]

Example Input: Nil

Example Output:

{"status": "started"}

or

{"status": "already_running"}