flaretool.funcs package¶
Submodules¶
flaretool.funcs.amazon module¶
- flaretool.funcs.amazon.amazon_info(url: str) AmazonInfo¶
 Fetches Amazon product information using the provided URL. :param url: The Amazon product URL. :type url: str
- Returns:
 An instance of AmazonInfo containing the product information.
- Return type:
 
Warning
This feature is unstable. It is considered experimental and subject to potential changes in future versions.
flaretool.funcs.models module¶
- class flaretool.funcs.models.AmazonInfo(*, result: bool, url: str | None = None, title: str | None = None, price: int | None = None, sale: str | None = None, stock: str | None = None, distributor: str | None = None, sender: str | None = None, evaluation: str | None = None)¶
 Bases:
BaseDataModel- distributor: str | None¶
 
- evaluation: str | None¶
 
- model_config: ClassVar[ConfigDict] = {}¶
 Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- price: int | None¶
 
- result: bool¶
 
- sale: str | None¶
 
- sender: str | None¶
 
- stock: str | None¶
 
- title: str | None¶
 
- url: str | None¶
 
flaretool.funcs.tracking module¶
- flaretool.funcs.tracking.japanpost(code: str) dict¶
 日本郵便の荷物追跡をする関数
- Parameters:
 code (str) – 追跡番号
- Returns:
 取得結果
- Return type:
 dict
- flaretool.funcs.tracking.yamato(codes: list[str]) list[dict]¶
 ヤマト運輸の荷物追跡をする関数
- Parameters:
 codes (list[str]) – 追跡番号のリスト(Max10件)
- Returns:
 取得結果
- Return type:
 list[dict]