This project is meant to provide a simple API that can be intergrated into workflow automation software to scrape information for a website.
The primary goal is in converting pages of listed items to structure JSON data.
There are varied methods of deploying the API.
TODO: Helm Chart TODO: Basic deploy manifests
A docker image is built, which includes an installation of chromium and all other dependencies.
$ docker run -p 8000:8000 lazyshot/scrapi
TODO: Release process
$ wget ...
$ ./scrapi serve
Being a go application, you would need to have a the go compiler installed.
$ go clone https://github.com/lazyshot/scrapi.git
$ cd scrapi
$ go build .
$ ./scrapi serve
Swagger documentation is generated using swaggo, which is then
served at /swagger/
. This is a helpful guide to exactly how to use the API.
Swagger UI: https://localhost:8000/swagger/index.html