{"id":19487279,"url":"https://github.com/marwan2232004/emotionsenseapi","last_synced_at":"2026-04-29T16:39:00.734Z","repository":{"id":255452854,"uuid":"852190515","full_name":"marwan2232004/EmotionSenseAPI","owner":"marwan2232004","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-07T21:06:41.000Z","size":103042,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T18:48:29.007Z","etag":null,"topics":["app-services","azure","fastapi","python3"],"latest_commit_sha":null,"homepage":"https://emotionsense-dvemggcjagcqdxey.uaenorth-01.azurewebsites.net/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marwan2232004.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-04T11:38:52.000Z","updated_at":"2024-10-25T07:29:19.000Z","dependencies_parsed_at":"2024-09-07T22:22:29.228Z","dependency_job_id":null,"html_url":"https://github.com/marwan2232004/EmotionSenseAPI","commit_stats":null,"previous_names":["marwan2232004/emotionsenseapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marwan2232004/EmotionSenseAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan2232004%2FEmotionSenseAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan2232004%2FEmotionSenseAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan2232004%2FEmotionSenseAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan2232004%2FEmotionSenseAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marwan2232004","download_url":"https://codeload.github.com/marwan2232004/EmotionSenseAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan2232004%2FEmotionSenseAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271268859,"owners_count":24730026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app-services","azure","fastapi","python3"],"created_at":"2024-11-10T20:44:57.738Z","updated_at":"2026-04-29T16:39:00.699Z","avatar_url":"https://github.com/marwan2232004.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎉 Welcome to Emotion Sense API! \n\nThis API is built using **FastAPI** and is designed to perform **sentiment analysis** on text inputs. Whether it's identifying emotions like positive, negative, or neutral, this API has got you covered!\n\n🌐 **Live Demo**: The API is deployed on **Azure Web Services** and can be accessed at the following link:  \n[Emotion Sense API](https://emotionsense-dvemggcjagcqdxey.uaenorth-01.azurewebsites.net/)\n\n## POST /predict\n\nThis endpoint takes in a text input and returns a sentiment prediction. The sentiment is classified as `positive`, `neutral`, or `negative` based on the analysis of the text.\n\n### Request:\n\n- **URL**: `/predict`\n- **Method**: `POST`\n- **Content-Type**: `application/json`\n- **Request Body**:\n  - The request body should contain a string of text to be analyzed for sentiment.\n\n### Response:\n\n- **Content-Type**: `application/json`\n- **Body**: A JSON object containing a `prediction` field with an integer value:\n  - `0` = neutral\n  - `1` = positive\n  - `2` = negative\n\n#### Example response:\n```json\n{\n    \"prediction\": 1\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarwan2232004%2Femotionsenseapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarwan2232004%2Femotionsenseapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarwan2232004%2Femotionsenseapi/lists"}