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-2.2.1614177787.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a3263333f8eb14cfd06202d92c25291bd2c33674a5beb9fa5601b039a73e43 |
|
MD5 | 3fed9e17b0224e46c55f4bc2e12fac8f |
|
BLAKE2b-256 | d9c6566f03b0adee06dc543d54714b983aa5d98a10be46f95585102e5ce4a61e |
Close
Hashes for gracie_feeds_api-2.2.1614177787-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f911f22e851aca73663c3af4a75c999089a741b24b49f8a9c32c3928845b8de5 |
|
MD5 | bad9f1ee002c796a981058119cc8de24 |
|
BLAKE2b-256 | 7e9c5694c4fd691f391f636684ba334278b41f4cc6af34a53e4c76fa21dac43a |