Skip to content
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

Tidy codeblock #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ Running examples
1. Find examples from 'examples' path.
2. Insert API key.

.. code-block:: python

```python
>>> CLIENT_ACCESS_TOKEN = '<YOUR_CLIENT_ACCESS_TOKEN>'
...

```
Features
--------

Expand All @@ -42,25 +41,22 @@ Installation

To install apiai, simply:

.. code-block:: bash

```bash
$ pip install apiai

```
or install it from repo:

.. code-block:: bash

```bash
$ pip install https://github.com/api-ai/api-ai-python.git

```
You might run into problems because some dependencies in your python environment are missing. You need to install numpy (which is available in almost all package managers). For running the examples you also need python audio.

In ubuntu the following will do the job:

.. code-block:: bash

```bash
$ apt-get install python-pyaudio python-numpy
$ pip install apiai

```
Documentation
-------------

Expand All @@ -75,4 +71,4 @@ See [LICENSE](LICENSE).
## Terms
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the [Google APIs Terms of Service](https://developers.google.com/terms/).

This is not an official Google product.
This is not an official Google product.