Skip to content

🌿 Fern Regeneration -- July 22, 2025 #280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Intercom Python Library

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fintercom%2Fpython-intercom)
[![pypi](https://img.shields.io/pypi/v/intercom-python)](https://pypi.python.org/pypi/intercom-python)
[![pypi](https://img.shields.io/pypi/v/python-intercom)](https://pypi.python.org/pypi/python-intercom)

The Intercom Python library provides convenient access to the Intercom API from Python.

## Installation

```sh
pip install intercom-python
pip install python-intercom
```

## Reference
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[project]
name = "intercom-python"
name = "python-intercom"

[tool.poetry]
name = "intercom-python"
version = "v4.0.0a0"
name = "python-intercom"
version = "4.0.0a2"
description = ""
readme = "README.md"
authors = []
Expand Down
6 changes: 3 additions & 3 deletions src/intercom/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "intercom-python/v4.0.0a0",
"User-Agent": "python-intercom/4.0.0a2",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "intercom-python",
"X-Fern-SDK-Version": "v4.0.0a0",
"X-Fern-SDK-Name": "python-intercom",
"X-Fern-SDK-Version": "4.0.0a2",
}
headers["Authorization"] = f"Bearer {self._get_token()}"
return headers
Expand Down
2 changes: 1 addition & 1 deletion src/intercom/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from importlib import metadata

__version__ = metadata.version("intercom-python")
__version__ = metadata.version("python-intercom")
Loading