israeli-bank-scrapers-core
Version:
Provide scrapers for all major Israeli banks and credit card companies
24 lines (23 loc) • 841 B
TypeScript
import { type Transaction } from '../transactions';
import { BaseScraperWithBrowser } from './base-scraper-with-browser';
import { type ScraperOptions, type ScraperScrapingResult } from './interface';
type ScraperSpecificCredentials = {
id: string;
password: string;
card6Digits: string;
};
declare class IsracardAmexBaseScraper extends BaseScraperWithBrowser<ScraperSpecificCredentials> {
private baseUrl;
private companyCode;
private servicesUrl;
constructor(options: ScraperOptions, baseUrl: string, companyCode: string);
login(credentials: ScraperSpecificCredentials): Promise<ScraperScrapingResult>;
fetchData(): Promise<{
success: boolean;
accounts: {
accountNumber: string;
txns: Transaction[];
}[];
}>;
}
export default IsracardAmexBaseScraper;