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-100.6.0.28.1704924532.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for gracie_feeds_api-100.6.0.28.1704924532.tar.gz
Algorithm Hash digest
SHA256 359d0504956aaa1b4c13626fb64c87ec1391561bfce650d366280b53d0d1b8e6
MD5 fd3432342f73e19753dde990a0c166b1
BLAKE2b-256 4cbeeb5cf5f159b5fdf2881b1d0ccf7d765696b94cd76416953d6bcdf6831abb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gracie_feeds_api-100.6.0.28.1704924532-py3-none-any.whl
Algorithm Hash digest
SHA256 f8b7dfd34fbabd10e619d268161ba365b368ade1f70bd9632884f84bbd595936
MD5 86bad492e8d93c216abe4141eb35e9a1
BLAKE2b-256 2e834bb408d0263cbaaa29a921b4679b85cd7e5a29dd7384da5d5c4a0fdd3a88

See more details on using hashes here.

Supported by

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