8000 minor docstring corrections; wording/spelling by marzig76 · Pull Request #7 · geminipy/geminipy · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions geminipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, api_key='', secret_key='', live=False):
Arguments:
api_key -- your Gemini API key
secret_key -- your Gemini API secret key for signatures
live -- use the live API or the Sandbox API (default False)
live -- use the live API? otherwise, use the sandbox (default False)
"""
self.api_key = api_key
self.secret_key = secret_key
Expand Down Expand Up @@ -234,7 +234,7 @@ def prepare(self, params):
Prepare, return the required HTTP headers.

Base 64 encode the parameters, sign it with the secret key,
create the HTTP headres,, return the whole payload.
create the HTTP headers, return the whole payload.

Arguments:
params -- a dictionary of parameters
Expand Down
0