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-23.3.1.1680195383.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c6bfe4c47c23a35ef16298cb4840e0f4abd147d3b652999cafad912931528be |
|
MD5 | 768d688fff67d0d44db7ac9c9c8cd405 |
|
BLAKE2b-256 | 48d9215f10eea182dd14dbae78b866432f5f132cab9b873ae56d58e6526ff329 |
Close
Hashes for gracie_feeds_api-23.3.1.1680195383-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 394102ca4578839bfafd3015ddd923da36bc9d3c2d252742de035093b02aa371 |
|
MD5 | 4f20420be97f696ca56fcf2389ad1dd2 |
|
BLAKE2b-256 | 5ad658549e17a4d034f8d6da7f37af9ff33c4eb79e2b4a9f77fb2245bfce2c42 |