You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if it helps but here I have two ways of implementing an endpoint to be used with https://shields.io/endpoint. A big thanks to @ilyazub for helping me with that.
Certainly a promise api version would make the code there much more elegant and succinct.
Now only callbacks are supported for
SerpApiSearch#json
.The workaround is to promisify functions, but out-of-the-box support would be great. Test with the workaround here.
PS. Node.js HTTPS module is used to send requests.
got
has a simpler API and the response stream is handled by the library.google-search-results-nodejs/lib/SerpApiSearch.js
Lines 72 to 95 in cbadec5
The text was updated successfully, but these errors were encountered: