Python library for bytesview client-API Call
Project description
Bytesviewapi Python Client
Bytesviewapi allows you to create a library for accessing http services easily, in a centralized way. An API defined by bytesviewapi will return a JSON object when called.
Installation
Supported Python Versions
Python >= 3.5 fully supported and tested.
Install Package
pip install bytesviewapi
Quick Start
POST 1/static/sentiment
from bytesviewapi import BytesviewapiClient
# API key authorization, Initialize the client with your API key:
api = BytesviewapiClient(api_key="API key")
# pass your desired strings in a dictionary with unique key
data = {"key1": "We are good here", "key2": "this is not what we expect"}
response = api.sentiment_api(data = data , lang = "en")
API key
: Your private Bytesview API key.
data
: You can pass your desired strings in the dictionary format where each string has some unique key.
lang
: Language Code (English - en, Arabic - ar), Default laguage is english(en).
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
bytesviewapi-0.0.1.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for bytesviewapi-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c11f2e3c4472e4a01714c5e19cdda74ceb3282d52b4f0aff9227add840144aa |
|
MD5 | 0eb827e923ccff49e24b4ce9b8a0856b |
|
BLAKE2b-256 | 384178ab4c3daca9150f2a0110b6d32071398b7e6464b7afd410d3c006f0492c |