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.3.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for gooee_sdk-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e2798609ebe6874ea3f183f6e7a00fcaaeb613560969250883c52f25638adad |
|
MD5 | 79b057e1f93f989323ec574d7cbf09e4 |
|
BLAKE2b-256 | 9886feeac97e6555a3b8998543f193d6d48c749fe0725f291224126e75b90e21 |