Skip to content
New issue

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

Dev fixes #2

Closed
wants to merge 1 commit into from
Closed

Dev fixes #2

wants to merge 1 commit into from

Conversation

ilyazub
Copy link
Contributor

@ilyazub ilyazub commented Sep 30, 2022

We with @dimitryzub reviewed #1 and applied some fixes:

  • Paste documentation examples to README.md in a loop instead of duplicating the same lines for all of the engines.

  • Changed signature of the serpapi.Client to accept three parameters instead of a dict. This mentally distinguishes arguments allowed to the client from the Client#search() method.

  • Fixed make all execution by prepending python -m to Python commands.

This PR is WIP. We will copy examples from serpapi/google-search-results-python#36 to this PR.

Paste documentation examples to `README.md` in a loop instead of
duplicating the same lines for all of the engines.

Also, changed signature of the `serpapi.Client` to accept three
parameters instead of a dict. This mentally distinguishes arguments
allowed to the client from the `Client#search()` method.

Also, fixed `make all` execution by prepending `python -m` to Python
commands.

Co-authored-by: Dmitriy Zub <[email protected]>
@ilyazub ilyazub requested a review from jvmvik September 30, 2022 11:23
@ilyazub ilyazub self-assigned this Sep 30, 2022
@jvmvik
Copy link

jvmvik commented May 8, 2023

I integrate 2/3 changes in the master.

Approved

  • Paste documentation examples to README.md in a loop instead of duplicating the same lines for all of the engines.
  • Fixed make all execution by prepending python -m to Python commands.

Rejected

  • Changed signature of the serpapi.Client to accept three parameters instead of a dict. This mentally distinguishes arguments allowed to the client from the Client#search() method.
    We had a thread on this with Julien ~3 weeks ago.

@jvmvik jvmvik closed this May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants