-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from tago-io/beta
Beta
- Loading branch information
Showing
54 changed files
with
320 additions
and
254 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
**Account** | ||
========== | ||
|
||
Manage Account. | ||
|
||
========= | ||
info | ||
========= | ||
|
||
Gets all account information. | ||
|
||
**Return:** | ||
|
||
| **AccountInfo**: :ref:`AccountInfo` | ||
.. code-block:: | ||
:caption: **Example:** | ||
from tagoio_sdk import Resources | ||
resources = Resources() | ||
result = resources.account.info() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
**Buckets** | ||
============ | ||
|
||
Manage buckets in account. | ||
|
||
==== | ||
info | ||
==== | ||
|
||
Gets information about the bucket | ||
|
||
**Parameters:** | ||
|
||
| **bucketID**: GenericID: str | ||
| Bucket ID | ||
.. code-block:: | ||
:caption: **Example:** | ||
from tagoio_sdk import Resources | ||
resources = Resources() | ||
result = resources.buckets.info("Bucket ID") | ||
====== | ||
amount | ||
====== | ||
|
||
Get Amount of data on the Bucket | ||
|
||
**Parameters:** | ||
|
||
| **bucketID**: GenericID: str | ||
| Bucket ID | ||
.. code-block:: | ||
:caption: **Example:** | ||
from tagoio_sdk import Resources | ||
resources = Resources() | ||
result = resources.buckets.amount("Bucket ID") |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
docs/source/Account/Dashboards/index.rst → docs/source/Resources/Dashboards/index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
**Resources** | ||
========== | ||
|
||
To set up an resource object, you need to import the ``Resources`` class from the ``tagoio_sdk`` module. | ||
|
||
======== | ||
Instance | ||
======== | ||
|
||
**Parameters:** | ||
|
||
| *Optional* **token**: str | ||
| Token is a optional parameter | ||
| *Optional* **region**: str "usa-1" or "env" | ||
| Region is a optional parameter | ||
.. code-block:: | ||
:caption: **Example:** | ||
from tagoio_sdk import Resources | ||
resources = Resources() | ||
.. toctree:: | ||
|
||
Account/index | ||
Billing/index | ||
Buckets/index | ||
Dashboards/index | ||
Devices/index | ||
IntegrationNetwork/index | ||
Profile/index | ||
Run/index |
Oops, something went wrong.