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
File details
Details for the file gracie_dictionary_api-23.3.1.1691689444.tar.gz
.
File metadata
- Download URL: gracie_dictionary_api-23.3.1.1691689444.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8250cbb748cf52708910ed528494a80420f7e0e8c6b4dd9e4f61e443b494c8f |
|
MD5 | 001c69d21c631d73f9828116b184c512 |
|
BLAKE2b-256 | 23ecb60af8ca4aec42ce9d51a07e8ad2987a7d91bf24e27745d2f63e0bfbaa19 |
File details
Details for the file gracie_dictionary_api-23.3.1.1691689444-py3-none-any.whl
.
File metadata
- Download URL: gracie_dictionary_api-23.3.1.1691689444-py3-none-any.whl
- Upload date:
- Size: 70.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72eefb23a5cc7583ae9bb3efa12363a2cf91978535508549b82553f321fdd194 |
|
MD5 | 17a72011221e79c4845ff7e0cfaf6580 |
|
BLAKE2b-256 | b616af1839327f7eb02814267d8fc590cd8190af03b7b7789498eea23122aa76 |