Official Gooee SDK for Python
Project description
Gooee Python SDK
================
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.
================
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.1.2.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file gooee-sdk-0.1.2.tar.gz
.
File metadata
- Download URL: gooee-sdk-0.1.2.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8faca07e9005bab92d529652bbe0ddaf1dd818e70fa2c8f7d74b0c322f1a18ea |
|
MD5 | 68946ee4bed6e46707a4403532aa4328 |
|
BLAKE2b-256 | 3714a22ab255277a4b9cebc0fc907baa0fe9e9e436b8aad316c60b2fe2797e4a |
File details
Details for the file gooee_sdk-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: gooee_sdk-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e27b4dbd8ed8c465cad20ad3874c3ec5aeb87368819f7ed1d9c1e2b7a7391a0 |
|
MD5 | 8c7142b7276ab71aa6b475e8bdefe060 |
|
BLAKE2b-256 | 42fb0894c4c7e0868588a0a93590875686adc582b52f2fcbeb0874f558766db5 |