Gracie Feeds API python wrapper
Project description
This package provides a simple wrapper around the Toposlabs Gracie API platform.
Sample usage
import gracie_feeds_api as GracieFeedsAPI
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 = GracieFeedsAPI(host, sso_server, port, login_name, login_password)
# print currently logged in user information
print(e_api.call_api('usersController', 'whoAmI'))
# create a new project - exception will be thrown if project already exists
project = e_api.call_api('projectsController', 'add', name='Test Project')
# process some text and print JSON results
print(e_api.call_api('projectsController',
'processText',
text='Boston is the capital and most populous city of the Commonwealth of Massachusetts in the United States',
privacyMode=False,
projectId=project['id']))
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_feeds_api-100.2.1.1691767488.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ac38ac6624ac8c936bf0ef05cc405defdfe8793dd557bb0b42263d78cc8374d |
|
MD5 | f5cbb65ad248979f6e20dc4d3af76771 |
|
BLAKE2b-256 | b4defd63c2cd8503d9fe0b789514944db06457e40a8434dcdfa98983ffe74745 |
Close
Hashes for gracie_feeds_api-100.2.1.1691767488-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9662e48957a1c7b0ea023923815a20ca5fd3f0b9c74c3b1ae6217d7c5c53b9f1 |
|
MD5 | f4275d6b7387c34c3aae72e0fd8d3058 |
|
BLAKE2b-256 | 8acfd6a9b6dcb926b0b5672991434e4a943fbac6599ed5eb8b99e909c5ffafd0 |