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.1639666676.tar.gz (15.6 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-6.8.1639666676-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gracie_feeds_api-6.8.1639666676.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 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.1639666676.tar.gz
Algorithm Hash digest
SHA256 3b914b0f85c4ed7dffc134ae67b5dc8330071796d92ab1ffa73e30e29f9fc75e
MD5 1b43ccca9650c160682989fe2e9ea7e2
BLAKE2b-256 55dbbf40dc46de82e7c16797bbc7bb87d9a7641a0c13b61796c6233f4db60a8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_feeds_api-6.8.1639666676-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.3 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.1639666676-py3-none-any.whl
Algorithm Hash digest
SHA256 54c8338f5cd9bd9a00f6eaffdea97257fe9ab234f22dc5daea6968c833aba522
MD5 15f8edba5341753396c20c01de89a245
BLAKE2b-256 d50472a3de1ba1aaf1258a9ecf000bf8a21511f41bef08e76c8608f7dd89afdb

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