From 281850736eb2620307fe62128321b83b8912ace3 Mon Sep 17 00:00:00 2001 From: liaohanfei <2327441432@qq.com> Date: Sun, 4 Feb 2024 17:40:43 +0800 Subject: [PATCH] Adjust the sdk in apiv4 to replace the text description at apikey --- README.md | 4 ++-- example/air_waybill_example.py | 2 +- example/courier_example.py | 2 +- example/tracking_example.py | 2 +- tests/__init__.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 20b773a..b2293a1 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ $ pip install trackingmore-sdk-python.zip ```python import trackingmore -trackingmore.api_key = 'you api key' +trackingmore.api_key = 'your api key' try: couriers = trackingmore.courier.get_all_couriers() @@ -89,7 +89,7 @@ except trackingmore.exception.TrackingMoreException as ce: ```python import trackingmore -trackingmore.api_key = 'you api key' +trackingmore.api_key = 'your api key' try: params = {'tracking_number': ''} diff --git a/example/air_waybill_example.py b/example/air_waybill_example.py index 538d0f3..260d3dc 100644 --- a/example/air_waybill_example.py +++ b/example/air_waybill_example.py @@ -1,6 +1,6 @@ import trackingmore -trackingmore.api_key = 'you api key' +trackingmore.api_key = 'your api key' def create_an_air_waybill(params): try: diff --git a/example/courier_example.py b/example/courier_example.py index 0ec226f..0dcf268 100644 --- a/example/courier_example.py +++ b/example/courier_example.py @@ -1,6 +1,6 @@ import trackingmore -trackingmore.api_key = 'you api key' +trackingmore.api_key = 'your api key' def get_all_couriers(): try: diff --git a/example/tracking_example.py b/example/tracking_example.py index 9774617..7cc9a2b 100644 --- a/example/tracking_example.py +++ b/example/tracking_example.py @@ -1,6 +1,6 @@ import trackingmore -trackingmore.api_key = 'you api key' +trackingmore.api_key = 'your api key' def create_tracking(params): try: diff --git a/tests/__init__.py b/tests/__init__.py index f28a1da..5bd2796 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,3 @@ import trackingmore -trackingmore.api_key = 'you api key' \ No newline at end of file +trackingmore.api_key = 'your api key' \ No newline at end of file