Official Gooee SDK for Python
Project description
Gooee Python SDK
================
> NOTE: Let's keep this repo private until we have something worth showing.
Official Python SDK for Gooee_ API.
See the LICENSE file for license and copyright information.
- Installation_
- Usage_
- License_
.. _Installation:
Installation
~~~~~~~~~~~~
Minimum System Requirements
___________________________
- Python 2.6+ or Python 3.3+
Installation from PyPI
______________________
.. code-block:: sh
$ pip install gooee-sdk
If you need to, you can also use `easy_install`:
.. code-block:: sh
$ easy_install gooee-sdk
Build from source
_________________
.. code-block:: sh
git clone https://github.com/GooeeIOT/gooee-python-sdk.git
cd gooee-python-sdk
python setup.py install
.. _Usage:
Usage
~~~~~
To use the SDK in your project:
.. code-block:: python
from gooee import GooeeClient
client = GooeeClient()
client.authenticate('username@example.com', 'YourPasswordHere')
response = client.get('/buildings')
That is all!
.. _Gooee: https://www.gooee.com
.. _License:
License
~~~~~~~
This SDK is distributed under the `Apache License, Version
2.0 <http://www.apache.org/licenses/LICENSE-2.0>`__, see LICENSE
for more information.
History
-------
0.0.1 (2017-01-25)
------------------
* Project has born.
================
> NOTE: Let's keep this repo private until we have something worth showing.
Official Python SDK for Gooee_ API.
See the LICENSE file for license and copyright information.
- Installation_
- Usage_
- License_
.. _Installation:
Installation
~~~~~~~~~~~~
Minimum System Requirements
___________________________
- Python 2.6+ or Python 3.3+
Installation from PyPI
______________________
.. code-block:: sh
$ pip install gooee-sdk
If you need to, you can also use `easy_install`:
.. code-block:: sh
$ easy_install gooee-sdk
Build from source
_________________
.. code-block:: sh
git clone https://github.com/GooeeIOT/gooee-python-sdk.git
cd gooee-python-sdk
python setup.py install
.. _Usage:
Usage
~~~~~
To use the SDK in your project:
.. code-block:: python
from gooee import GooeeClient
client = GooeeClient()
client.authenticate('username@example.com', 'YourPasswordHere')
response = client.get('/buildings')
That is all!
.. _Gooee: https://www.gooee.com
.. _License:
License
~~~~~~~
This SDK is distributed under the `Apache License, Version
2.0 <http://www.apache.org/licenses/LICENSE-2.0>`__, see LICENSE
for more information.
History
-------
0.0.1 (2017-01-25)
------------------
* Project has born.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gooee-sdk-0.0.2.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for gooee_sdk-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8db8f826b81f48a8f28815c2da0a81b35472e73132a2125493009ccc13cd14d |
|
MD5 | 2a447488d5d28eb01b3eb8611f60d830 |
|
BLAKE2b-256 | 9762175e063deac2fc40ef42b5958a10010f7573fb07ef4588cb75650b4e3559 |