GraphLab Service Client makes it easy to make REST API calls to GraphLab Predictive Services
Project description
Getting Started
To install:
pip install GraphLab-Service-Client
To import:
from graphlab_service_client import PredictiveServiceClient
Using the Library
Create a Connection using a config file (.ini file generated from Predictive Service):
client = PredictiveServiceClient(config_file='/path/to/file.ini')
Create a Connection using an endpoint and api_key directly:
client = PredictiveServiceClient(endpoint='', api_key='')
To call the query and feedback APIs:
results = client.query('uri', {'users':[111,222,333]})
client.feedback('uri', {'requestid':'abcde-abcde'})
License
See the attached LICENSE.txt file to see the license under which GraphLab Service Client is distributed.
References
A lot more documentation regarding the GraphLab Create is available here: http://graphlab.com and on our Forum at http://forum.graphlab.com
Contributors
GraphLab Team, http://graphlab.com (@graphlabteam)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for GraphLab-Service-Client-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e286ac2c8bdccaedded4391c1dc0bb8da2082e319da7257a8cbaea4490c5aa6 |
|
MD5 | 21c98cef6368fed1fb45f483733ebc8c |
|
BLAKE2b-256 | 7395fc6b49b21ad83f33dc6616a53d2a3e279b982ad788c970d6f0ae39d95d21 |