mirror of
https://github.com/karust/openserp.git
synced 2026-08-09 02:27:47 +08:00
Add OpenSERP SDK usage examples
This commit is contained in:
11
examples/quickstart/python-basic-search/README.md
Normal file
11
examples/quickstart/python-basic-search/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Basic search (Python)
|
||||
|
||||
Runs one Google search with the `openserp` SDK and prints the titles and URLs.
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
python main.py
|
||||
```
|
||||
|
||||
Edit the `text`, `engine`, or `limit` in [main.py](main.py) 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