Skip to content

Commit

Permalink
fix: bump api version
Browse files Browse the repository at this point in the history
  • Loading branch information
ahivert committed Nov 25, 2024
1 parent fa40196 commit 80859da
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tgtg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
BASE_URL = "https://apptoogoodtogo.com/api/"
API_ITEM_ENDPOINT = "item/v8/"
FAVORITE_ITEM_ENDPOINT = "user/favorite/v1/{}/update"
AUTH_BY_EMAIL_ENDPOINT = "auth/v4/authByEmail"
AUTH_POLLING_ENDPOINT = "auth/v4/authByRequestPollingId"
SIGNUP_BY_EMAIL_ENDPOINT = "auth/v4/signUpByEmail"
REFRESH_ENDPOINT = "auth/v4/token/refresh"
ACTIVE_ORDER_ENDPOINT = "order/v7/active"
INACTIVE_ORDER_ENDPOINT = "order/v7/inactive"
CREATE_ORDER_ENDPOINT = "order/v7/create/"
ABORT_ORDER_ENDPOINT = "order/v7/{}/abort"
ORDER_STATUS_ENDPOINT = "order/v7/{}/status"
AUTH_BY_EMAIL_ENDPOINT = "auth/v5/authByEmail"
AUTH_POLLING_ENDPOINT = "auth/v5/authByRequestPollingId"
SIGNUP_BY_EMAIL_ENDPOINT = "auth/v5/signUpByEmail"
REFRESH_ENDPOINT = "auth/v5/token/refresh"
ACTIVE_ORDER_ENDPOINT = "order/v8/active"
INACTIVE_ORDER_ENDPOINT = "order/v8/inactive"
CREATE_ORDER_ENDPOINT = "order/v8/create/"
ABORT_ORDER_ENDPOINT = "order/v8/{}/abort"
ORDER_STATUS_ENDPOINT = "order/v8/{}/status"
API_BUCKET_ENDPOINT = "discover/v1/bucket"
DEFAULT_APK_VERSION = "22.5.5"
DEFAULT_APK_VERSION = "24.11.0"
USER_AGENTS = [
"TGTG/{} Dalvik/2.1.0 (Linux; U; Android 9; Nexus 5 Build/M4B30Z)",
"TGTG/{} Dalvik/2.1.0 (Linux; U; Android 10; SM-G935F Build/NRD90M)",
Expand Down

0 comments on commit 80859da

Please sign in to comment.