Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit e5d20d3

Browse files
author
Travis CI
committed
From connect-api-specification: Fix python location example in readme
Implements #31
1 parent f4ccf3f commit e5d20d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

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)