From f4df1ed69af5da8d4aadabada9946137c27f9c5b Mon Sep 17 00:00:00 2001 From: Tristan Sokol Date: Wed, 21 Jun 2017 08:16:30 -0700 Subject: [PATCH] Fix python location example in readme Implements https://github.com/square/connect-python-sdk/pull/31 --- swagger-templates/python/README.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swagger-templates/python/README.mustache b/swagger-templates/python/README.mustache index 33e7b61..ddb935f 100644 --- a/swagger-templates/python/README.mustache +++ b/swagger-templates/python/README.mustache @@ -46,12 +46,12 @@ from __future__ import print_function import squareconnect from squareconnect.rest import ApiException -from squareconnect.apis.location_api import LocationApi +from squareconnect.apis.locations_api import LocationsApi # setup authorization squareconnect.configuration.access_token = 'YOUR_ACCESS_TOKEN' # create an instance of the Location API class -api_instance = LocationApi() +api_instance = LocationsApi() try: # ListLocations