Gracie Dictionary API python wrapper
Project description
This package provides a simple wrapper around the Toposlabs Gracie API platform.
Sample usage
import gracie_dictionary_api as GracieDictionayAPI
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 = GracieDictionayAPI.GracieAPI(host, sso_server, port, login_name, login_password)
# print currently logged in user information
print(e_api.call_api('usersController', 'whoAmI'))
# process some text and print JSON results
print(e_api.call_api('searchController',
'processText',
text='Boston is the capital and most populous city of the Commonwealth of Massachusetts in the United States'))
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_dictionary_api-100.6.0.28.1704924468.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dcc5fc0484f3ea1affbd3289ff208f13732c4de468fca1bb9dd6d6c5655158a |
|
MD5 | 5b046d8b8cfc0819b31c4af425d0664a |
|
BLAKE2b-256 | c38d160e5569d78b25bb33094c71fe720ce261d50084baec766461371dacd27f |
Close
Hashes for gracie_dictionary_api-100.6.0.28.1704924468-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f337ae106986288f4383476d776a7c712c4684a797ca5da5ffbc830bd970393 |
|
MD5 | d8ee9a09eb55b401f00bd844059966db |
|
BLAKE2b-256 | b0338f0e791a24db80dc8fbd4a2ccf1e6602141a849da77e88acf954ecf04209 |