apiverve-sentimentanalysis


Nameapiverve-sentimentanalysis JSON
Version 1.1.5 PyPI version JSON
download
home_pageNone
SummarySentiment Analysis is a simple tool for analyzing the sentiment of a text. It returns the sentiment score and the sentiment label.
upload_time2024-09-21 06:59:50
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords sentiment analysis sentiment analysis api sentiment analysis tool sentiment analysis software sentiment analysis service
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Sentiment Analysis API
============

Sentiment Analysis is a simple tool for analyzing the sentiment of a text. It returns the sentiment score and the sentiment label.

![Build Status](https://img.shields.io/badge/build-passing-green)
![Code Climate](https://img.shields.io/badge/maintainability-B-purple)
![Prod Ready](https://img.shields.io/badge/production-ready-blue)

This is a Python API Wrapper for the [Sentiment Analysis API](https://apiverve.com/marketplace/api/sentimentanalysis)

---

## Installation
	pip install apiverve-sentimentanalysis

---

## Configuration

Before using the sentimentanalysis API client, you have to setup your account and obtain your API Key.  
You can get it by signing up at [https://apiverve.com](https://apiverve.com)

---

## Usage

The Sentiment Analysis API documentation is found here: [https://docs.apiverve.com/api/sentimentanalysis](https://docs.apiverve.com/api/sentimentanalysis).  
You can find parameters, example responses, and status codes documented here.

### Setup

```
# Import the client module
from apiverve_sentimentanalysis.apiClient import SentimentanalysisAPIClient

# Initialize the client with your APIVerve API key
api = SentimentanalysisAPIClient("[YOUR_API_KEY]")
```

---


### Perform Request
Using the API client, you can perform requests to the API.

###### Define Query

```
query = {  "text": "I'm so excited that tomorrow is going to be sunny! Can't wait!" }
```

###### Simple Request

```
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
```

###### Example Response

```
{
  "status": "ok",
  "error": null,
  "data": {
    "comparative": 0.25,
    "sentimentText": "positive",
    "sentiment": 3
  },
  "code": 200
}
```

---

## Customer Support

Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact).

---

## Updates
Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.

---

## Legal

All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms) and all legal documents and agreements.

---

## License
Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "apiverve-sentimentanalysis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "sentiment analysis, sentiment analysis api, sentiment analysis tool, sentiment analysis software, sentiment analysis service",
    "author": null,
    "author_email": "APIVerve <hello@apiverve.com>",
    "download_url": "https://files.pythonhosted.org/packages/c9/5a/b6f820ea7a82b72d143f37417d3c94b5885540ec32c152ab08e5cbc3e035/apiverve_sentimentanalysis-1.1.5.tar.gz",
    "platform": null,
    "description": "Sentiment Analysis API\r\n============\r\n\r\nSentiment Analysis is a simple tool for analyzing the sentiment of a text. It returns the sentiment score and the sentiment label.\r\n\r\n![Build Status](https://img.shields.io/badge/build-passing-green)\r\n![Code Climate](https://img.shields.io/badge/maintainability-B-purple)\r\n![Prod Ready](https://img.shields.io/badge/production-ready-blue)\r\n\r\nThis is a Python API Wrapper for the [Sentiment Analysis API](https://apiverve.com/marketplace/api/sentimentanalysis)\r\n\r\n---\r\n\r\n## Installation\r\n\tpip install apiverve-sentimentanalysis\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore using the sentimentanalysis API client, you have to setup your account and obtain your API Key.  \r\nYou can get it by signing up at [https://apiverve.com](https://apiverve.com)\r\n\r\n---\r\n\r\n## Usage\r\n\r\nThe Sentiment Analysis API documentation is found here: [https://docs.apiverve.com/api/sentimentanalysis](https://docs.apiverve.com/api/sentimentanalysis).  \r\nYou can find parameters, example responses, and status codes documented here.\r\n\r\n### Setup\r\n\r\n```\r\n# Import the client module\r\nfrom apiverve_sentimentanalysis.apiClient import SentimentanalysisAPIClient\r\n\r\n# Initialize the client with your APIVerve API key\r\napi = SentimentanalysisAPIClient(\"[YOUR_API_KEY]\")\r\n```\r\n\r\n---\r\n\r\n\r\n### Perform Request\r\nUsing the API client, you can perform requests to the API.\r\n\r\n###### Define Query\r\n\r\n```\r\nquery = {  \"text\": \"I'm so excited that tomorrow is going to be sunny! Can't wait!\" }\r\n```\r\n\r\n###### Simple Request\r\n\r\n```\r\n# Make a request to the API\r\nresult = api.execute(query)\r\n\r\n# Print the result\r\nprint(result)\r\n```\r\n\r\n###### Example Response\r\n\r\n```\r\n{\r\n  \"status\": \"ok\",\r\n  \"error\": null,\r\n  \"data\": {\r\n    \"comparative\": 0.25,\r\n    \"sentimentText\": \"positive\",\r\n    \"sentiment\": 3\r\n  },\r\n  \"code\": 200\r\n}\r\n```\r\n\r\n---\r\n\r\n## Customer Support\r\n\r\nNeed any assistance? [Get in touch with Customer Support](https://apiverve.com/contact).\r\n\r\n---\r\n\r\n## Updates\r\nStay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.\r\n\r\n---\r\n\r\n## Legal\r\n\r\nAll usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms) and all legal documents and agreements.\r\n\r\n---\r\n\r\n## License\r\nLicensed under the The MIT License (MIT)\r\n\r\nCopyright (&copy;) 2024 APIVerve, and Evlar LLC\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Sentiment Analysis is a simple tool for analyzing the sentiment of a text. It returns the sentiment score and the sentiment label.",
    "version": "1.1.5",
    "project_urls": {
        "Documentation": "https://docs.apiverve.com/api/sentimentanalysis?utm_source=pypi",
        "Homepage": "https://apiverve.com?utm_source=pypi",
        "Repository": "https://github.com/apiverve/sentimentanalysis.Python-API",
        "Twitter": "https://twitter.com/apivervehq"
    },
    "split_keywords": [
        "sentiment analysis",
        " sentiment analysis api",
        " sentiment analysis tool",
        " sentiment analysis software",
        " sentiment analysis service"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea8e142673bf2a6f881c2d0a6b2712e0454e893754ed6465067b4ea65dfe8972",
                "md5": "e49af475bfae18936c24ca70a2138ad8",
                "sha256": "5090a6b0c6d14a6637c9d557e52d265153a8b25523cf966245ad078eb476af63"
            },
            "downloads": -1,
            "filename": "apiverve_sentimentanalysis-1.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e49af475bfae18936c24ca70a2138ad8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 7404,
            "upload_time": "2024-09-21T06:59:49",
            "upload_time_iso_8601": "2024-09-21T06:59:49.446797Z",
            "url": "https://files.pythonhosted.org/packages/ea/8e/142673bf2a6f881c2d0a6b2712e0454e893754ed6465067b4ea65dfe8972/apiverve_sentimentanalysis-1.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c95ab6f820ea7a82b72d143f37417d3c94b5885540ec32c152ab08e5cbc3e035",
                "md5": "8f34ffa7e1d7dbee49de214c236d0c83",
                "sha256": "28474b312dd6df3d02039f1846478e0ec9c733499a2a4eeeab311dc5882fccbd"
            },
            "downloads": -1,
            "filename": "apiverve_sentimentanalysis-1.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "8f34ffa7e1d7dbee49de214c236d0c83",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 6995,
            "upload_time": "2024-09-21T06:59:50",
            "upload_time_iso_8601": "2024-09-21T06:59:50.671445Z",
            "url": "https://files.pythonhosted.org/packages/c9/5a/b6f820ea7a82b72d143f37417d3c94b5885540ec32c152ab08e5cbc3e035/apiverve_sentimentanalysis-1.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-21 06:59:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "apiverve",
    "github_project": "sentimentanalysis.Python-API",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "apiverve-sentimentanalysis"
}
        
Elapsed time: 0.41902s