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.1627938262.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0b58c3a97dde4dc2902e7fe1223dc78a43a3d107479927f06e2d50c608daf6b |
|
MD5 | fbbef72a01108b07d9d7814d4e433578 |
|
BLAKE2b-256 | 1829755be86bbf63efc00bc39d6f6658367c3347b07ee17781920d14754a64d3 |
Close
Hashes for gracie_dictionary_api-6.8.1627938262-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b99bde77f2ae3d3835e519f4239be9a73ba092014ed02699d95892c98f3f6b1 |
|
MD5 | 417fe4ff924f99bb1e1351d6f1a43bde |
|
BLAKE2b-256 | c8d1532a7d16b192aa7691e768277a6fdd1ed575706daa3792c3b9607dc427fb |