Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@andrewstoliarov/apple-search-ads

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@andrewstoliarov/apple-search-ads

Apple search ads api client.

  • 1.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
31
increased by106.67%
Maintainers
0
Weekly downloads
 
Created
Source

AppleSearchAds

Installation

$ npm install @andrewstoliarov/apple-search-ads

Example usage

The usual boilerplate:

const asa = require('@andrewstoliarov/apple-search-ads');

var username = 'UNAME';
var password = 'PASS';
var appId = 1448103572;

    const instance = new AppleSearchAds(username, password, {
        errorCallback: function(e) {
            console.log('Error logging in: ' + e);
        },
        successCallback: function(d) {
            console.log('Logged in');

            const query = asa.AppleSearchAdsQuery(asa.queryTypes.keywordsRecommendation)
                .keywordText("lightroom")
                .appId(appId)
                .storefronts(["US"])
                .build()

            instance.request(query, function(error, result) {
                if (error) {
                    console.log(error)
                } else {
                    console.log(result.data)
                }
            });
        },
    })

Keywords

FAQs

Package last updated on 29 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc