Gracie Feeds API python wrapper
Project description
This package provides a simple wrapper around the Toposlabs Gracie API platform.
Sample usage
import gracie_feeds_api as GracieFeedsAPI
def gracie_connect():
sso_server = <full url to sso sever>
login_name = <login name>
login_password = <login password>
host = <host or ip of server>
port = 443
e_api = GracieFeedsAPI(host, sso_server, port, login_name, login_password)
# print currently logged in user information
print(e_api.call_api('usersController', 'whoAmI'))
# create a new project - exception will be thrown if project already exists
project = e_api.call_api('projectsController', 'add', name='Test Project')
# process some text and print JSON results
print(e_api.call_api('projectsController',
'processText',
text='Boston is the capital and most populous city of the Commonwealth of Massachusetts in the United States',
privacyMode=False,
projectId=project['id']))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gracie_feeds_api-6.8.1639661071.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de43ed03ad138f99b072780b4ca52f504ef1b3895adc4e51bc62eb9b6e2ae59e |
|
MD5 | b137e34931268f1b2531c091e6d6f8d2 |
|
BLAKE2b-256 | 67147bb903f88017aa5ff1537c73078c342a34f2acb25559093c6c6d9c7c3b51 |
Close
Hashes for gracie_feeds_api-6.8.1639661071-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088fb6e12490aff0a24f390cd6e54260518c5e0202f9d7cf91d6e25bddd77273 |
|
MD5 | 23e40eb6d440c17b33c7617eeca9b6d7 |
|
BLAKE2b-256 | 0d55d699697270ae1d7ce8bde0f06abc0b23835d015c7457dafdd6a716e321f5 |