Skip to content

Commit 94791e4

Browse files
authored
Merge pull request #132 from jkeyes/version-3-docs
Version 3 docs
2 parents b354b33 + aca801c commit 94791e4

File tree

6 files changed

+69
-73
lines changed

6 files changed

+69
-73
lines changed

AUTHORS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ Patches and Suggestions
1717
- `Grant McConnaughey <https://github.com/grantmcconnaughey>`_
1818
- `Robert Elliott <https://github.com/greenafrican>`_
1919
- `Jared Morse <https://github.com/jarcoal>`_
20-
- `neocortex <https://github.com/neocortex>`_
20+
- `Rafael <https://github.com/neocortex>`_
2121
- `jacoor <https://github.com/jacoor>`_
2222
- `maiiku <https://github.com/maiiku>`_
23+
- `Piotr Kilczuk <https://github.com/centralniak>`_
24+
- `Forrest Scofield <https://github.com/fscofield>`_
25+
- `Jordan Feldstein <https://github.com/jfeldstein>`_
26+
- `François Voron <https://github.com/frankie567>`_
27+
- `Gertjan Oude Lohuis <https://github.com/gertjanol>`_
2328

2429
Intercom
2530
~~~~~~~~

CHANGES.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Changelog
22
=========
33

4+
* 3.0b3
5+
* Added UTC datetime everywhere. (`#130 <https://github.com/jkeyes/python-intercom/pull/130>`_)
6+
* Fixed connection error when paginating. (`#125 <https://github.com/jkeyes/python-intercom/pull/125>`_)
7+
* Added Personal Access Token support. (`#123 <https://github.com/jkeyes/python-intercom/pull/123>`_)
8+
* Fixed links to Intercom API documentation. (`#115 <https://github.com/jkeyes/python-intercom/pull/115>`_)
9+
* 3.0b2
10+
* Added support for Leads. (`#113 <https://github.com/jkeyes/python-intercom/pull/113>`_)
11+
* Added support for Bulk API. (`#112 <https://github.com/jkeyes/python-intercom/pull/112>`_)
12+
* 3.0b1
13+
* Moved to new client based approach. (`#108 <https://github.com/jkeyes/python-intercom/pull/108>`_)
414
* 2.1.1
515
* No runtime changes.
616
* 2.1.0

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Users
8484
intercom.users.save(user)
8585
# Perform incrementing
8686
user.increment('karma')
87-
intercom.users.save()
87+
intercom.users.save(user)
8888
# Iterate over all users
8989
for user in intercom.users.all():
9090
...
@@ -468,7 +468,7 @@ Counts
468468
.. code:: python
469469
470470
# App-wide counts
471-
intercom.counts.for_app
471+
intercom.counts.for_app()
472472
473473
# Users in segment counts
474474
intercom.counts.for_type(type='user', count='segment')

docs/development.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Runtime Dependencies
4242
* `inflection <http://inflection.readthedocs.org/en/latest/>`_ – Inflection is a string transformation library. It singularizes and pluralizes English words, and transforms strings from CamelCase to underscored string.
4343
* `six <https://bitbucket.org/gutworth/six>`_ – Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions.
4444
* `certifi <http://certifi.io/>`_ – Certifi is a carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.
45+
* `pytz <http://pythonhosted.org/pytz/>`_ – pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations. It also solves the issue of ambiguous times at the end of daylight saving time.
4546

4647
Development Dependencies
4748
------------------------
@@ -50,7 +51,7 @@ Development Dependencies
5051
* `coverage <http://nedbatchelder.com/code/coverage/>`_ – code coverage.
5152
* `mock <http://www.voidspace.org.uk/python/mock/>`_ – patching methods for unit testing.
5253
* `Sphinx <http://sphinx.pocoo.org/>`_ – documentation decorator.
53-
54+
* `Sphinx theme for readthedocs.org <https://github.com/snide/sphinx_rtd_theme>`_ – theme for the documentation.
5455

5556
Authors
5657
-------

docs/faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How do I start a session?
66

77
::
88

9-
user = User.create(email='bingo@example.com')
9+
user = intercom.users.create(email='bingo@example.com')
1010
# register a new session
1111
user.new_session = True
12-
user.save()
12+
intercom.users.save(user)

0 commit comments

Comments
 (0)