We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 530f216 commit fa6afb6Copy full SHA for fa6afb6
ShipthisAPI/shipthisapi.py
@@ -5,23 +5,14 @@
5
Usage:
6
from ShipthisAPI import ShipthisAPI
7
8
- # Standard usage with API key
+ # Initialize the client
9
client = ShipthisAPI(
10
organisation="your_org_id",
11
x_api_key="your_api_key",
12
region_id="your_region",
13
location_id="your_location"
14
)
15
16
- # Server-to-server usage with custom headers
17
- client = ShipthisAPI(
18
- organisation="your_org_id",
19
- custom_headers={
20
- "st-server-key": "your_server_key",
21
- "st-server-name": "your_service_name",
22
- }
23
- )
24
-
25
# Connect and validate
26
client.connect()
27
0 commit comments