Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@7nohe/app-store-connect-api-client
Advanced tools
> App Store Connect API client for Node.js
Weekly downloads
Readme
App Store Connect API client for Node.js
$ npm install -D @7nohe/app-store-connect-api-client
import { createClient, SalesReportFrequency } from '@7nohe/app-store-connect-api-client'
import path from 'path';
const privateKeyPath = path.resolve(__dirname, '/path/to/your/p8/file');
const client = createClient({
apiKey: '<YOUR-API-KEY>',
issuerId: '<YOUR-ISSUER-ID>',
privateKey: {
path: privateKeyPath
}
})
const run = async () => {
const result = await client.getSalesReports({
vendorNumber: process.env.VENDOR_ID!,
date: '2022-08-07',
frequency: SalesReportFrequency.Weekly
})
console.log(result);
}
run();
For CI, a base64-encoded private key file can be set as an environment variable and passed as an option.
import { createClient } from '@7nohe/app-store-connect-api-client'
import * as dotenv from 'dotenv';
dotenv.config();
const client = createClient({
apiKey: process.env.API_KEY!,
issuerId: process.env.ISSUER_ID!,
privateKey: Buffer.from(process.env.PRIVATE_KEY!, 'base64'),
})
FAQs
> App Store Connect API client for Node.js
The npm package @7nohe/app-store-connect-api-client receives a total of 1 weekly downloads. As such, @7nohe/app-store-connect-api-client popularity was classified as not popular.
We found that @7nohe/app-store-connect-api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.