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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: gracie_feeds_api-2.2.1627934763.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for gracie_feeds_api-2.2.1627934763.tar.gz
Algorithm Hash digest
SHA256 e24dc3790614dbd9297fc2764ae5c2141467539bbf4399366bda4f7f45e099d2
MD5 1ca63308ac7b6ec59edd093934fd87f6
BLAKE2b-256 d5c87e4b456aeb27fb20c6ebadce273c5c7b44833b34b917bd306f2289fd6e34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_feeds_api-2.2.1627934763-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for gracie_feeds_api-2.2.1627934763-py3-none-any.whl
Algorithm Hash digest
SHA256 889171f259cc7e5b0fae2fb17e937eeec7d61df4a2128f4fb5ec4868e0141a70
MD5 deea921ba1c8448b2fd8c525010c31a9
BLAKE2b-256 c1d11c7ecf8dd5eac1aaa0b56d2b66eafacf743f205db53a3c8d9562084b203b

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