web2vec.extractors.external_api.similar_web_features module

class web2vec.extractors.external_api.similar_web_features.Engagements(BounceRate: float, Month: int, Year: int, PagePerVisit: float, Visits: int, TimeOnSite: float)[source]

Bases: object

BounceRate: float
Month: int
PagePerVisit: float
TimeOnSite: float
Visits: int
Year: int
class web2vec.extractors.external_api.similar_web_features.EstimatedMonthlyVisit(date: str, visits: int)[source]

Bases: object

date: str
visits: int
class web2vec.extractors.external_api.similar_web_features.SimilarWebFeatures(Version: int, SiteName: str, Description: str, TopCountryShares: ~typing.List[~web2vec.extractors.external_api.similar_web_features.TopCountryShare], Title: str, Engagements: ~web2vec.extractors.external_api.similar_web_features.Engagements, EstimatedMonthlyVisits: ~typing.List[~web2vec.extractors.external_api.similar_web_features.EstimatedMonthlyVisit], GlobalRank: int, CountryRank: int, CountryCode: str, CategoryRank: str, Category: str, LargeScreenshot: str, TrafficSources: ~web2vec.extractors.external_api.similar_web_features.TrafficSource, TopKeywords: ~typing.List[~web2vec.extractors.external_api.similar_web_features.TopKeyword], RawData: dict = <factory>)[source]

Bases: object

Dataclass for SimilarWeb features.

Category: str
CategoryRank: str
CountryCode: str
CountryRank: int
Description: str
Engagements: Engagements
EstimatedMonthlyVisits: List[EstimatedMonthlyVisit]
GlobalRank: int
LargeScreenshot: str
RawData: dict
SiteName: str
Title: str
TopCountryShares: List[TopCountryShare]
TopKeywords: List[TopKeyword]
TrafficSources: TrafficSource
Version: int
class web2vec.extractors.external_api.similar_web_features.TopCountryShare(Country: int, CountryCode: str, Value: float)[source]

Bases: object

Country: int
CountryCode: str
Value: float
class web2vec.extractors.external_api.similar_web_features.TopKeyword(Name: str, EstimatedValue: int, Volume: int, Cpc: float | None)[source]

Bases: object

Cpc: float | None
EstimatedValue: int
Name: str
Volume: int
class web2vec.extractors.external_api.similar_web_features.TrafficSource(Social: float, PaidReferrals: float, Mail: float, Referrals: float, Search: float, Direct: float)[source]

Bases: object

Direct: float
Mail: float
PaidReferrals: float
Referrals: float
Search: float
Social: float
web2vec.extractors.external_api.similar_web_features.get_similar_web_features(domain: str) SimilarWebFeatures | None[source]

Get SimilarWeb features for a given domain.

web2vec.extractors.external_api.similar_web_features.get_similar_web_features_cached(domain: str) SimilarWebFeatures | None[source]

Get the SimilarWeb features for the given domain.