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.1639666669.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ffed4ac2546971b694dc84b6c2ee139a818fed8279cfda5d172f314ed8a08d9 |
|
MD5 | 19b0afa259b29116b47e2b65de61c8de |
|
BLAKE2b-256 | 93063deff6d3cfb19e6f092839c69af7a83d7b5cbbe2ace225604834f4f34865 |
Close
Hashes for gracie_dictionary_api-6.8.1639666669-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9893d44d7872dc7d8fd25968aedbae2b2b49d8f9fbf0cafd7a961cfcefdac80 |
|
MD5 | 911fd07e53fdd827f8d50f7437e5551a |
|
BLAKE2b-256 | 8d9ff9224e7f5ed3bb3688183add167e34df6544ccf5611212c138c67695cbf9 |