Skip to content

codevader01/Trust_Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrustCheck API

A simple FastAPI application that scrapes Trustpilot ratings for a given domain.

Overview

This API fetches Trustpilot ratings (e.g., "Excellent", "Good", "Bad") for a specified domain by scraping the Trustpilot review page. It uses FastAPI for the backend and BeautifulSoup for web scraping.

Features

  • Endpoint: /rating/{domain} - Returns the Trustpilot rating for a domain.
  • CORS Enabled: Accessible from web clients (e.g., Chrome extensions).
  • Error Handling: Returns "No rating found" if scraping fails or the domain lacks a Trustpilot page.

Prerequisites

  • Python 3.8+
  • Git

Installation

  1. Clone the Repository:
    git clone https://github.com/codevader01/Trust_Checker.git
    cd Trust_Checker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages