Skip to content

Commit 5e30002

Browse files
committed
Use better test harness
1 parent 6a415d1 commit 5e30002

File tree

4 files changed

+2164
-854
lines changed

4 files changed

+2164
-854
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,22 @@ configuration = freeclimb.Configuration(
6969

7070
# Configure HTTP basic authorization: fc
7171
configuration = freeclimb.Configuration(
72-
username = os.environ["USERNAME"],
73-
password = os.environ["PASSWORD"]
72+
username = 'ACCOUNT_ID',
73+
password = 'API_KEY'
7474
)
7575

7676

7777
# Enter a context with an instance of the API client
7878
with freeclimb.ApiClient(configuration) as api_client:
7979
# Create an instance of the API class
8080
api_instance = freeclimb.DefaultApi(api_client)
81-
account_id = 'account_id_example' # str | ID of the account
81+
8282
buy_incoming_number_request = freeclimb.BuyIncomingNumberRequest() # BuyIncomingNumberRequest | Incoming Number transaction details
83+
8384

8485
try:
8586
# Buy a Phone Number
86-
api_response = api_instance.buy_a_phone_number(account_id, buy_incoming_number_request)
87+
api_response = api_instance.buy_a_phone_number(buy_incoming_number_request)
8788
print("The response of DefaultApi->buy_a_phone_number:\n")
8889
pprint(api_response)
8990
except ApiException as e:

0 commit comments

Comments
 (0)