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-100.6.0.28.1704924532.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359d0504956aaa1b4c13626fb64c87ec1391561bfce650d366280b53d0d1b8e6 |
|
MD5 | fd3432342f73e19753dde990a0c166b1 |
|
BLAKE2b-256 | 4cbeeb5cf5f159b5fdf2881b1d0ccf7d765696b94cd76416953d6bcdf6831abb |
Close
Hashes for gracie_feeds_api-100.6.0.28.1704924532-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b7dfd34fbabd10e619d268161ba365b368ade1f70bd9632884f84bbd595936 |
|
MD5 | 86bad492e8d93c216abe4141eb35e9a1 |
|
BLAKE2b-256 | 2e834bb408d0263cbaaa29a921b4679b85cd7e5a29dd7384da5d5c4a0fdd3a88 |