mirror of
https://github.com/karust/openserp.git
synced 2026-08-24 17:00:06 +08:00
Add OpenSERP SDK usage examples
This commit is contained in:
11
examples/quickstart/js-basic-search/README.md
Normal file
11
examples/quickstart/js-basic-search/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Basic search (JavaScript)
|
||||
|
||||
Runs one Google search with `@openserp/sdk` and prints the titles and URLs.
|
||||
|
||||
```bash
|
||||
npm install
|
||||
node index.js
|
||||
```
|
||||
|
||||
Edit the `text`, `engine`, or `limit` in [index.js](index.js) to change the search.
|
||||
To use the hosted API instead of a local server, follow the commented line at the top of the file.
|
||||
Reference in New Issue
Block a user