From c869ed2c3b3359938d3dfe656912a94748d047ac Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 8 Nov 2017 10:01:05 -0800 Subject: [PATCH] api-docs: Extract installation instructions to their own section. --- .../zerver/api/installation-instructions.md | 49 ++++++++++++++++--- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/templates/zerver/api/installation-instructions.md b/templates/zerver/api/installation-instructions.md index 86fbed483d..9f32343449 100644 --- a/templates/zerver/api/installation-instructions.md +++ b/templates/zerver/api/installation-instructions.md @@ -1,16 +1,55 @@ # Installation instructions -#### Python Installation -Install it with [pip](https://pypi.python.org/pypi/zulip/): +Zulip's REST API is easy to work with directly, but there are API +libraries available for various popular languages. + +The Python library is the most advanced (and has tools for easily +writing interactive bots that react to messages), so we recommend it +if you're trying to decide. + +
+ +
+ +
+No download required! +
+ +
+Included with the Python bindings: + ``` pip install zulip ``` -#### JavaScript Installation -Install it with [npm](https://www.npmjs.com/package/zulip-js): + +
+ +
+Install the Python API with [pip](https://pypi.python.org/pypi/zulip/): + +``` +pip install zulip +``` + +
+ +
+Install the JavaScript API with [npm](https://www.npmjs.com/package/zulip-js): + ``` npm install zulip-js ``` +
+ +
+
+ ### Usage examples