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-6.8.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2344b8d1722e064ec12f28dd4956c324c3de1dd6ec3d194b03454fff1e79b80e |
|
MD5 | 2dc9d27b2d6311fc8d2098b60347f61e |
|
BLAKE2b-256 | eb57120f5719b584215183237f360572de2d159b3b78c9d374e7f720f0e75788 |
Close
Hashes for gracie_dictionary_api-6.8.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61867aa1d87c52b982b7fb5eb998b40cc394cd2c00837216cce4e7bb7efa1922 |
|
MD5 | 0200b884d9cc39ca2a642c0da51a2585 |
|
BLAKE2b-256 | 008fa0992eefef3efea73cad7c8707224d1858fe7350a9e3549a43f5877d1565 |