We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added country code in my express app, but on testing in postman getting default country ("us") results.
let gplay; (async () => { gplay = await import("google-play-scraper"); })(); const search = async (req, res) => { try { const keyword = req.query.keyword; if (!keyword) { return res.status(400).json({ message: "Query and appId are required", }); } const result = await gplay.default.search({ term: "loan", lang: "en", country: "in", }); return res.status(200).json({ success: true, data: result, }); } catch (error) { console.log(error); return res.status(500).json({ message: "Server Error", }); } };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
Added country code in my express app, but on testing in postman getting default country ("us") results.
Example code:
The text was updated successfully, but these errors were encountered: