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

Uploaded Source

Built Distribution

gracie_feeds_api-6.8.1639661071-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gracie_feeds_api-6.8.1639661071.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gracie_feeds_api-6.8.1639661071.tar.gz
Algorithm Hash digest
SHA256 de43ed03ad138f99b072780b4ca52f504ef1b3895adc4e51bc62eb9b6e2ae59e
MD5 b137e34931268f1b2531c091e6d6f8d2
BLAKE2b-256 67147bb903f88017aa5ff1537c73078c342a34f2acb25559093c6c6d9c7c3b51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_feeds_api-6.8.1639661071-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gracie_feeds_api-6.8.1639661071-py3-none-any.whl
Algorithm Hash digest
SHA256 088fb6e12490aff0a24f390cd6e54260518c5e0202f9d7cf91d6e25bddd77273
MD5 23e40eb6d440c17b33c7617eeca9b6d7
BLAKE2b-256 0d55d699697270ae1d7ce8bde0f06abc0b23835d015c7457dafdd6a716e321f5

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