Skip to content

Commit 0014881

Browse files
committed
docs: Fix a few typos
There are small typos in: - README.md - docs/api-access.md - scripts/shopify_api.py Fixes: - Should read `unambiguous` rather than `unambigious`. - Should read `received` rather than `recieved`. - Should read `delimited` rather than `delmited`. - Should read `parameter` rather than `paramer`.
1 parent 00a12cd commit 0014881

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pip install --upgrade ShopifyAPI
6262
# redirect to auth_url
6363
```
6464

65-
1. Once the merchant accepts, the shop redirects the owner to the `redirect_uri` of your application with a parameter named 'code'. This is a temporary token that the app can exchange for a permanent access token. You should compare the state you provided above with the one you recieved back to ensure the request is correct. Now we can exchange the code for an access_token when you get the request from shopify in your callback handler:
65+
1. Once the merchant accepts, the shop redirects the owner to the `redirect_uri` of your application with a parameter named 'code'. This is a temporary token that the app can exchange for a permanent access token. You should compare the state you provided above with the one you received back to ensure the request is correct. Now we can exchange the code for an access_token when you get the request from shopify in your callback handler:
6666

6767
```python
6868
session = shopify.Session(shop_url, api_version)

docs/api-access.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ another_api_access = ApiAccess("read_products, write_products, unauthenticated_r
2424
api_access = ApiAccess(["read_products", "write_orders", "unauthenticated_read_themes"])
2525

2626
access_scopes_list = list(api_access) # ["read_products", "write_orders", "unauthenticated_read_themes"]
27-
comma_delmited_access_scopes = str(api_access) # "read_products,write_orders,unauthenticated_read_themes"
27+
comma_delimited_access_scopes = str(api_access) # "read_products,write_orders,unauthenticated_read_themes"
2828
```
2929

3030
### Comparing ApiAccess objects
@@ -60,7 +60,7 @@ from shopify import ApiAccess
6060

6161
def oauth_on_access_scopes_mismatch(func):
6262
def wrapper(*args, **kwargs):
63-
shop_domain = get_shop_query_paramer(request) # shop query param when loading app
63+
shop_domain = get_shop_query_parameter(request) # shop query param when loading app
6464
current_shop_scopes = ApiAccess(ShopStore.get_record(shopify_domain = shop_domain).access_scopes)
6565
expected_access_scopes = ApiAccess(SHOPIFY_API_SCOPES)
6666

scripts/shopify_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run_task(cls, task=None, *args):
5858
cls.help()
5959
return
6060

61-
# Allow unambigious abbreviations of tasks
61+
# Allow unambiguous abbreviations of tasks
6262
if task not in cls._tasks:
6363
matches = filter(lambda item: item.startswith(task), cls._tasks)
6464
list_of_matches = list(matches)

0 commit comments

Comments
 (0)