Skip to content

Commit f4df1ed

Browse files
authored
Fix python location example in readme
Implements square/connect-python-sdk#31
1 parent 44709b7 commit f4df1ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

swagger-templates/python/README.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ from __future__ import print_function
4646

4747
import squareconnect
4848
from squareconnect.rest import ApiException
49-
from squareconnect.apis.location_api import LocationApi
49+
from squareconnect.apis.locations_api import LocationsApi
5050

5151
# setup authorization
5252
squareconnect.configuration.access_token = 'YOUR_ACCESS_TOKEN'
5353
# create an instance of the Location API class
54-
api_instance = LocationApi()
54+
api_instance = LocationsApi()
5555

5656
try:
5757
# ListLocations

0 commit comments

Comments
 (0)