n8n-nodes-outscraper
Version:
n8n node to integrate with Outscraper API
243 lines • 10.9 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Outscraper = void 0;
const G2Description_1 = require("./G2Description");
const GoogleMapsDescription_1 = require("./GoogleMapsDescription");
const GoogleSearchDescription_1 = require("./GoogleSearchDescription");
const TrustpilotDescription_1 = require("./TrustpilotDescription");
const TripAdvisorDescription_1 = require("./TripAdvisorDescription");
const ExpediaDescription_1 = require("./ExpediaDescription");
const YouTubeDescription_1 = require("./YouTubeDescription");
const YelpDescription_1 = require("./YelpDescription");
const ProductHuntDescription_1 = require("./ProductHuntDescription");
const IndeedDescription_1 = require("./IndeedDescription");
const BookingDescription_1 = require("./BookingDescription");
const ZillowDescription_1 = require("./ZillowDescription");
const AppStoreDescription_1 = require("./AppStoreDescription");
const OthersDescription_1 = require("./OthersDescription");
const AirbnbDescription_1 = require("./AirbnbDescription");
class Outscraper {
constructor() {
this.description = {
displayName: 'Outscraper',
name: 'outscraper',
icon: 'file:outscraper.svg',
group: ['transform'],
version: 1,
subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}',
description: 'Interact with Outscraper API',
defaults: {
name: 'Outscraper',
},
inputs: ["main"],
outputs: ["main"],
usableAsTool: true,
credentials: [
{
name: 'outscraperApi',
required: true,
},
],
requestDefaults: {
baseURL: '={{$credentials.apiUrl}}',
url: '',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
qs: {
apiKey: '={{$credentials.apiKey}}',
},
},
properties: [
{
displayName: 'Resource',
name: 'resource',
type: 'options',
noDataExpression: true,
options: [
{
name: 'Airbnb',
value: 'airbnb',
},
{
name: 'AppStore',
value: 'appStore',
},
{
name: 'Booking',
value: 'booking',
},
{
name: 'Company Insight',
value: 'companyInsights',
},
{
name: 'Emails & Contact',
value: 'emailsAndContacts',
},
{
name: 'Expedia',
value: 'expedia',
},
{
name: 'G2 Review',
value: 'g2Reviews',
},
{
name: 'Geocoding',
value: 'geocoding',
},
{
name: 'GetApp Review',
value: 'getAppReviews',
},
{
name: 'Google Map',
value: 'googleMaps',
},
{
name: 'Google Search',
value: 'googleSearch',
},
{
name: 'Indeed',
value: 'indeed',
},
{
name: 'Phone Identity Finder',
value: 'phoneIdentityFinder',
},
{
name: 'Phones Owner',
value: 'phonesOwners',
},
{
name: 'Product Hunt',
value: 'productHunt',
},
{
name: 'Target Review',
value: 'targetReviews',
},
{
name: 'TikTok Profile',
value: 'tiktokProfiles',
},
{
name: 'TripAdvisor',
value: 'tripadvisor',
},
{
name: 'Trustpilot',
value: 'trustpilot',
},
{
name: 'Twitter Profile',
value: 'twitterProfiles',
},
{
name: 'Universal AI Scraper',
value: 'universalScraper',
},
{
name: 'Walmart Review',
value: 'walmartReviews',
},
{
name: 'WebPage Screenshoter',
value: 'webPageScreenshoter',
},
{
name: 'Whitepages Addresses Scraper',
value: 'whitepagesAddresses',
},
{
name: 'Yellow Pages Search',
value: 'yellowPagesSearch',
},
{
name: 'Yelp',
value: 'yelp',
},
{
name: 'YouTube',
value: 'youtube',
},
{
name: 'Zillow',
value: 'zillow',
},
],
default: 'googleMaps',
},
...GoogleMapsDescription_1.googleMapsSearchOperations,
...GoogleMapsDescription_1.googleMapsSearchFields,
...GoogleMapsDescription_1.googleMapsReviewsFields,
...GoogleMapsDescription_1.googleMapsPhotosFields,
...GoogleSearchDescription_1.googleSearchOperations,
...GoogleSearchDescription_1.googleSearchFields,
...G2Description_1.g2ReviewsOperations,
...G2Description_1.g2ReviewsFields,
...TrustpilotDescription_1.trustpilotOperations,
...TrustpilotDescription_1.trustpilotFields,
...TripAdvisorDescription_1.tripadvisorOperations,
...TripAdvisorDescription_1.tripadvisorFields,
...ExpediaDescription_1.expediaOperations,
...ExpediaDescription_1.expediaSearchFields,
...ExpediaDescription_1.expediaReviewsFields,
...YouTubeDescription_1.youtubeOperations,
...YouTubeDescription_1.youtubeSearchFields,
...YouTubeDescription_1.youtubeChannelFields,
...YouTubeDescription_1.youtubeCommentsFields,
...YelpDescription_1.yelpOperations,
...YelpDescription_1.yelpFields,
...ProductHuntDescription_1.productHuntOperations,
...ProductHuntDescription_1.productHuntFields,
...IndeedDescription_1.indeedOperations,
...IndeedDescription_1.indeedFields,
...BookingDescription_1.bookingOperations,
...BookingDescription_1.bookingSearchFields,
...BookingDescription_1.bookingReviewsFields,
...BookingDescription_1.bookingPricesFields,
...ZillowDescription_1.zillowOperations,
...ZillowDescription_1.zillowSearchFields,
...AppStoreDescription_1.appStoreOperations,
...AppStoreDescription_1.appStoreReviewsFields,
...OthersDescription_1.geocodingOperations,
...OthersDescription_1.geocodingFields,
...OthersDescription_1.companyInsightsOperations,
...OthersDescription_1.companyInsightsFields,
...OthersDescription_1.universalScraperOperations,
...OthersDescription_1.universalScraperFields,
...OthersDescription_1.webPageScreenshoterOperations,
...OthersDescription_1.webPageScreenshoterFields,
...AirbnbDescription_1.airbnbOperations,
...AirbnbDescription_1.airbnbSearchFields,
...AirbnbDescription_1.airbnbReviewsFields,
...OthersDescription_1.walmartReviewsOperations,
...OthersDescription_1.walmartReviewsFields,
...OthersDescription_1.targetReviewsOperations,
...OthersDescription_1.targetReviewsFields,
...OthersDescription_1.twitterProfilesOperations,
...OthersDescription_1.twitterProfilesFields,
...OthersDescription_1.tiktokProfilesOperations,
...OthersDescription_1.tiktokProfilesFields,
...OthersDescription_1.getAppReviewsOperations,
...OthersDescription_1.getAppReviewsFields,
...OthersDescription_1.yellowPagesSearchOperations,
...OthersDescription_1.yellowPagesSearchFields,
...OthersDescription_1.phoneIdentityFinderOperations,
...OthersDescription_1.phoneIdentityFinderFields,
...OthersDescription_1.whitepagesAddressesOperations,
...OthersDescription_1.whitepagesAddressesFields,
...OthersDescription_1.phonesOwnersOperations,
...OthersDescription_1.phonesOwnersFields,
...OthersDescription_1.emailsAndContactsOperations,
...OthersDescription_1.emailsAndContactsFields,
],
};
}
}
exports.Outscraper = Outscraper;
//# sourceMappingURL=Outscraper.node.js.map