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.2.1.1691767489.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b432347657caa838a3e5234c80ed763bb80df4379460163beae0e7e8c905819 |
|
MD5 | f8d81cf6894916ca5636dd3512a42f3e |
|
BLAKE2b-256 | f490772510d1f426cfd790efb821fc418c695e1f275910aab0a8f70e27381e4f |
Close
Hashes for gracie_dictionary_api-100.2.1.1691767489-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e8380d622ae6d73d407b6cb56095df4d945ea539157d79125ad35241835dbd7 |
|
MD5 | 6b579dc467a3ab07f3478c6993d3df0a |
|
BLAKE2b-256 | d65c0b2518479345d384984918d715904837f80205b76b50d9f526ebe9bdb78e |