You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,11 @@ Here you'll find documentation related to the Sinch Python SDK, including how to
7
7
8
8
To use Sinch services, you'll need a Sinch account and access keys. You can sign up for an account and create access keys at [dashboard.sinch.com](https://dashboard.sinch.com).
9
9
10
-
For more information on the SDK, refer to the dedicated [Python SDK documentation](https://developers.sinch.com/docs/sdks/python) section, and for the Sinch APIs on which this SDK is based, refer to the official [developer documentation portal](https://developers.sinch.com).
11
-
12
10
13
11
## Table of contents:
14
12
15
13
-[Prerequisites](#prerequisites)
14
+
-[Documentation](#documentation)
16
15
-[Installation](#installation)
17
16
-[Supported APIs](#supported-apis)
18
17
-[Getting started](#getting-started)
@@ -35,6 +34,15 @@ For more information on the SDK, refer to the dedicated [Python SDK documentatio
35
34
> **Warning**:
36
35
> This SDK is intended for server-side (backend) use only. Do not use it in front-end or client-side applications (web, mobile, or desktop), regardless of language or framework. Doing so can expose your Sinch credentials to end-users.
37
36
37
+
38
+
## Documentation
39
+
40
+
For more information on the SDK, refer to the dedicated [Python SDK documentation](https://developers.sinch.com/docs/sdks/python).
41
+
42
+
For the SDK's programmatic API surface, see the online [SDK reference](https://developers.sinch.com/sdk/sinch-sdk-python/latest).
43
+
44
+
For broader Sinch product documentation, including the underlying REST APIs, visit the official [Sinch developer portal](https://developers.sinch.com/).
`SINCH_EVENT_SECRET` is optional and set per app in the [Conversation dashboard](https://dashboard.sinch.com/convapi/apps). `parse_event` works without validating the request, but then its origin can't be verified, so calling `validate_authentication_header` (which returns `True`/`False`) is recommended in production.
108
116
109
-
You can find a complete example in [examples/sinch_events/conversation_api](./examples/sinch_events/conversation_api).
117
+
You can find a complete example in [examples/sinch_events/conversation_api](https://github.com/sinch/sinch-sdk-python/blob/main/examples/sinch_events/conversation_api).
Signature authentication for SMS events must be enabled for your account by your account manager; until then the signature headers are absent and `parse_event` can be used on its own. See the [SMS events documentation](https://developers.sinch.com/docs/sms/api-reference/sms/tag/Webhooks/#tag/Webhooks/section/Callbacks).
165
173
166
-
You can find a complete example in [examples/sinch_events/sms_api](./examples/sinch_events/sms_api).
174
+
You can find a complete example in [examples/sinch_events/sms_api](https://github.com/sinch/sinch-sdk-python/blob/main/examples/sinch_events/sms_api).
`SINCH_EVENT_SECRET` is the value configured on the Event Destination. `parse_event` works without validating the request, but then its origin can't be verified, so calling `validate_authentication_header` is recommended in production.
183
191
184
-
You can find a complete example in [examples/sinch_events/numbers_api](./examples/sinch_events/numbers_api).
192
+
You can find a complete example in [examples/sinch_events/numbers_api](https://github.com/sinch/sinch-sdk-python/blob/main/examples/sinch_events/numbers_api).
185
193
186
194
### Number Lookup API
187
195
@@ -313,20 +321,20 @@ The SDK relies on the following third-party dependencies:
313
321
## Examples
314
322
315
323
You can find:
316
-
- a Python example of each request in the [examples/snippets](./examples/snippets) folder.
317
-
- getting started guides for specific use cases in the [examples/getting-started](./examples/getting-started) folder.
318
-
- server-side event handling examples in the [examples/sinch_events](./examples/sinch_events) folder.
324
+
- a Python example of each request in the [examples/snippets](https://github.com/sinch/sinch-sdk-python/blob/main/examples/snippets) folder.
325
+
- getting started guides for specific use cases in the [examples/getting-started](https://github.com/sinch/sinch-sdk-python/blob/main/examples/getting-started) folder.
326
+
- server-side event handling examples in the [examples/sinch_events](https://github.com/sinch/sinch-sdk-python/blob/main/examples/sinch_events) folder.
319
327
320
328
## Changelog & Migration
321
329
322
-
For information about the latest changes in the SDK, please refer to the [CHANGELOG](CHANGELOG.md) file
323
-
and the [MIGRATION_GUIDE](MIGRATION_GUIDE.md) for instructions on how to update your code when upgrading to a new major version of the SDK.
330
+
For information about the latest changes in the SDK, please refer to the [CHANGELOG](https://github.com/sinch/sinch-sdk-python/blob/main/CHANGELOG.md) file
331
+
and the [MIGRATION_GUIDE](https://github.com/sinch/sinch-sdk-python/blob/main/MIGRATION_GUIDE.md) for instructions on how to update your code when upgrading to a new major version of the SDK.
324
332
325
333
## License
326
334
327
335
This project is licensed under the Apache License.
328
336
329
-
See the [LICENSE](LICENSE) file for the license text.
337
+
See the [LICENSE](https://github.com/sinch/sinch-sdk-python/blob/main/LICENSE) file for the license text.
0 commit comments