diff --git a/README.md b/README.md index e043dab..b400b7a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 0e3e599..8c1c816 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [] diff --git a/src/intercom/core/client_wrapper.py b/src/intercom/core/client_wrapper.py index 4204e04..8837065 100644 --- a/src/intercom/core/client_wrapper.py +++ b/src/intercom/core/client_wrapper.py @@ -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 diff --git a/src/intercom/version.py b/src/intercom/version.py index e2dfd2d..a916f83 100644 --- a/src/intercom/version.py +++ b/src/intercom/version.py @@ -1,3 +1,3 @@ from importlib import metadata -__version__ = metadata.version("intercom-python") +__version__ = metadata.version("python-intercom")