Skip to content

Commit bb25915

Browse files
committed
Updating changelog. Adding tagging documentation.
1 parent 5b515aa commit bb25915

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

docs/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
=========
44

5+
* 0.2.8
6+
* Added support for tagging #13 <https://github.com/jkeyes/python-intercom/issues/13>`_.
7+
* Now installs into a clean python environment (https://github.com/vrachil) `#12 <https://github.com/jkeyes/python-intercom/issues/12>`_.
8+
* Doctest fix.
9+
* PEP8 formatting.
510
* 0.2.7
611
* Update delete user support to send bodyless request.
712
* Add support for user notes.

docs/index.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,42 @@ Intercom documentation: `Creating a Note <http://docs.intercom.io/api#creating_a
107107
note = Note.create(email="ben@intercom.io",
108108
body="These are a few of my favourite things.")
109109

110+
111+
Tagging
112+
-------
113+
114+
Getting a Tag
115+
+++++++++++++
116+
117+
Intercom documentation: `Getting a Tag <http://docs.intercom.io/api#getting_a_tag>`_.
118+
119+
::
120+
121+
from intercom import Tag
122+
tag = Tag.find_by_name("Free Trial")
123+
124+
Creating a Tag
125+
++++++++++++++
126+
127+
Intercom documentation: `Creating a Tag <http://docs.intercom.io/api#creating_a_tag>`_.
128+
129+
::
130+
131+
from intercom import Tag
132+
tag = Tag.create("Free Trial")
133+
134+
Updating a Tag
135+
++++++++++++++
136+
137+
Intercom documentation: `Updating a Tag <http://docs.intercom.io/api#updating_a_tag>`_.
138+
139+
::
140+
141+
from intercom import Tag
142+
tag = Tag.update("Free Trial", "tag",
143+
user_ids=["abc123", "def456"])
144+
145+
110146
Impressions
111147
-----------
112148

0 commit comments

Comments
 (0)