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
The Intercom Python library provides convenient access to the Intercom API from Python.
6
+
The Intercom Python library provides convenient access to the Intercom APIs from Python.
7
+
8
+
## Table of Contents
9
+
10
+
-[Installation](#installation)
11
+
-[Reference](#reference)
12
+
-[Usage](#usage)
13
+
-[Async Client](#async-client)
14
+
-[Exception Handling](#exception-handling)
15
+
-[Pagination](#pagination)
16
+
-[Advanced](#advanced)
17
+
-[Access Raw Response Data](#access-raw-response-data)
18
+
-[Retries](#retries)
19
+
-[Timeouts](#timeouts)
20
+
-[Custom Client](#custom-client)
21
+
-[Contributing](#contributing)
7
22
8
23
## Installation
9
24
@@ -25,18 +40,14 @@ from intercom import Intercom
25
40
client = Intercom(
26
41
token="YOUR_TOKEN",
27
42
)
28
-
client.articles.create(
29
-
title="Thanks for everything",
30
-
description="Description of the Article",
31
-
body="Body of the Article",
32
-
author_id=1295,
33
-
state="published",
43
+
client.ai_content.create_content_import_source(
44
+
url="https://www.example.com",
34
45
)
35
46
```
36
47
37
48
## Async Client
38
49
39
-
The SDK also exports an `async` client so that you can make non-blocking calls to our API.
50
+
The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
0 commit comments