google-trends-api icon indicating copy to clipboard operation
google-trends-api copied to clipboard

Feature request: Dockerize

Open ohld opened this issue 6 years ago • 1 comments

Hi there and thanks for the library!

It would be very useful if there would be a way to use your tool in a microservice architecture. To make it, you'll need to create a docker image of your library and allow it to receive http requests and return the result JSON in the output.

So basically just the same as you already do, but allow to pass arguments into your JS functions and return its results through HTTP interface (like a webservice).

This will allow everyone to use your tool (not only JS developers). Thanks.

ohld avatar May 30 '19 12:05 ohld

You can take a look at Mercury parser - they created a similar thing for they JS web parser. JS: https://github.com/postlight/mercury-parser API: https://github.com/postlight/mercury-parser-api Dockerfile: https://github.com/morejust/mercury-parser-docker

ohld avatar May 30 '19 12:05 ohld