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.1639666676.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b914b0f85c4ed7dffc134ae67b5dc8330071796d92ab1ffa73e30e29f9fc75e |
|
MD5 | 1b43ccca9650c160682989fe2e9ea7e2 |
|
BLAKE2b-256 | 55dbbf40dc46de82e7c16797bbc7bb87d9a7641a0c13b61796c6233f4db60a8a |
Close
Hashes for gracie_feeds_api-6.8.1639666676-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c8338f5cd9bd9a00f6eaffdea97257fe9ab234f22dc5daea6968c833aba522 |
|
MD5 | 15f8edba5341753396c20c01de89a245 |
|
BLAKE2b-256 | d50472a3de1ba1aaf1258a9ecf000bf8a21511f41bef08e76c8608f7dd89afdb |