Skip to content

Commit e375c8d

Browse files
qkaiserkissgyorgy
authored andcommitted
ONEKEY rebranding
1 parent 0d84a01 commit e375c8d

File tree

14 files changed

+22
-22
lines changed

14 files changed

+22
-22
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 IoT-Inspector
3+
Copyright (c) 2021-2022 ONEKEY GmbH
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# IoT Inspector API Client
1+
# ONEKEY API Client
22

33
This is the official Python client for the
4-
[IoT Inspector](https://www.iot-inspector.com/) public API.
4+
[ONEKEY](https://www.onekey.com/) public API.
55

66
# Usage
77

88
First, you have to log in and select a tenant:
99

1010
```python
11-
from iot_inspector_client import Client
11+
from onekey_client import Client
1212

13-
YOUR_API_URL = "https://demo.iot-inspector.com/api"
13+
YOUR_API_URL = "https://demo.onekey.com/api"
1414

1515
client = Client(api_url=YOUR_API_URL)
1616

@@ -62,5 +62,5 @@ print(res)
6262

6363
# Support
6464

65-
You can create a [new issue in this repo](https://github.com/IoT-Inspector/python-client/issues/new)
66-
or contact us at support@iot-inspector.com.
65+
You can create a [new issue in this repo](https://github.com/onekey-sec/python-client/issues/new)
66+
or contact us at support@onekey.com.

examples/get_tenant_token.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import json
22
import sys
33
from getpass import getpass
4-
from iot_inspector_client import Client
4+
from onekey_client import Client
55

6-
API_URL = "https://demo.iot-inspector.com/api"
6+
API_URL = "https://demo.onekey.com/api"
77
EMAIL = sys.argv[1]
88
PASSWORD = getpass()
99

1010

11-
print("Login to IoT Inspector", EMAIL, "@", API_URL)
11+
print("Login to ONEKEY", EMAIL, "@", API_URL)
1212
client = Client(API_URL)
1313
client.login(EMAIL, PASSWORD)
1414
tenants = client.get_all_tenants()

examples/upload_firmware.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
from getpass import getpass
44
from pathlib import Path
55

6-
from iot_inspector_client import Client
7-
from iot_inspector_client.models import FirmwareMetadata
6+
from onekey_client import Client
7+
from onekey_client.models import FirmwareMetadata
88

9-
API_URL = "https://demo.iot-inspector.com/api"
9+
API_URL = "https://demo.onekey.com/api"
1010
EMAIL = sys.argv[1]
1111
PASSWORD = getpass()
1212

13-
print("Login to IoT Inspector", EMAIL, "@", API_URL)
13+
print("Login to ONEKEY", EMAIL, "@", API_URL)
1414
client = Client(API_URL)
1515
client.login(EMAIL, PASSWORD)
1616

File renamed without changes.

iot_inspector_client/client.py renamed to onekey_client/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
from . import keys
2020

2121

22-
CLIENT_ID = "IoT Inspector Python SDK"
23-
TOKEN_NAMESPACE = "https://www.iot-inspector.com/"
22+
CLIENT_ID = "ONEKEY Python SDK"
23+
TOKEN_NAMESPACE = "https://www.onekey.com/"
2424

2525

2626
def _login_required(func):
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)