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.1639661072.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d22cc609d2c1a62b89f465b821a9585d9d88999e5ba0e823947ca66c44aa9ea |
|
MD5 | ebbe3db90261e9c8a38d6a0172f7b379 |
|
BLAKE2b-256 | 71c206fb51578af5e40092bb4f005eb6a3f698c3120ddfc973994556c90b5bcd |
Close
Hashes for gracie_dictionary_api-6.8.1639661072-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ff98fa73d13369db4c351c32036a17e1bcd25d168c51075dd7fb28f1144874 |
|
MD5 | 7cbab3aeaf344b44574ffb19387ffdab |
|
BLAKE2b-256 | c59a1cea53cb8ce8c3529b887324a8befbe5d03a5d35765cabda38ae9ebb091b |