Skip to content

Commit 4290c7f

Browse files
committed
Update migration doc to reference the correct new functions
1 parent 86c060e commit 4290c7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/migrating_from_google_search_results_nodejs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ migrate over to the `serpapi` npm package.
4848

4949
## Removed
5050

51-
- The `buildUrl`, `execute` and `search` methods are removed. Use `json` and
52-
`html` functions instead.
51+
- The `buildUrl`, `execute` and `search` methods are removed. Use `getJson` and
52+
`getHtml` functions instead.
5353
- The `SerpApiSearch` class is removed as a public class.
5454
- Dropped support for Node.js 16.13 and below. This module supports Node.js
5555
16.14 and above.

0 commit comments

Comments
 (0)