Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gracie_feeds_api-23.3.1.1680195383.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gracie_feeds_api-23.3.1.1680195383-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file gracie_feeds_api-23.3.1.1680195383.tar.gz.

File metadata

File hashes

Hashes for gracie_feeds_api-23.3.1.1680195383.tar.gz
Algorithm Hash digest
SHA256 9c6bfe4c47c23a35ef16298cb4840e0f4abd147d3b652999cafad912931528be
MD5 768d688fff67d0d44db7ac9c9c8cd405
BLAKE2b-256 48d9215f10eea182dd14dbae78b866432f5f132cab9b873ae56d58e6526ff329

See more details on using hashes here.

File details

Details for the file gracie_feeds_api-23.3.1.1680195383-py3-none-any.whl.

File metadata

File hashes

Hashes for gracie_feeds_api-23.3.1.1680195383-py3-none-any.whl
Algorithm Hash digest
SHA256 394102ca4578839bfafd3015ddd923da36bc9d3c2d252742de035093b02aa371
MD5 4f20420be97f696ca56fcf2389ad1dd2
BLAKE2b-256 5ad658549e17a4d034f8d6da7f37af9ff33c4eb79e2b4a9f77fb2245bfce2c42

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page