Standardize "GeoGuessr" naming in docstrings for consistency and correctness.
This commit is contained in:
parent
f9011dbeaa
commit
e486d78e31
1 changed files with 5 additions and 5 deletions
|
|
@ -13,18 +13,18 @@ def register_auth_tools(mcp: FastMCP, session_manager: SessionManager):
|
||||||
@mcp.tool()
|
@mcp.tool()
|
||||||
async def login(email: str, password: str) -> dict:
|
async def login(email: str, password: str) -> dict:
|
||||||
"""
|
"""
|
||||||
Authenticate with Geoguessr using your email and password.
|
Authenticate with GeoGuessr using your email and password.
|
||||||
This creates a session that will be used for all later API calls.
|
This creates a session that will be used for all later API calls.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
email: Your Geoguessr account email
|
email: Your GeoGuessr account email
|
||||||
password: Your Geoguessr account password
|
password: Your GeoGuessr account password
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Session information including username and session token
|
Session information including username and session token
|
||||||
|
|
||||||
Note: Your credentials are only used to get an authentication token
|
Note: Your credentials are only used to get an authentication token
|
||||||
from Geoguessr. They are not stored on the server.
|
from GeoGuessr. They are not stored on the server.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
@ -48,7 +48,7 @@ def register_auth_tools(mcp: FastMCP, session_manager: SessionManager):
|
||||||
@mcp.tool()
|
@mcp.tool()
|
||||||
async def logout() -> dict:
|
async def logout() -> dict:
|
||||||
"""
|
"""
|
||||||
Logout from the current Geoguessr session.
|
Logout from the current GeoGuessr session.
|
||||||
This invalidates the current session token.
|
This invalidates the current session token.
|
||||||
"""
|
"""
|
||||||
global _current_session_token
|
global _current_session_token
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue