![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
app-store-ratings
Advanced tools
Readme
Statements | Branches | Functions | Lines |
---|---|---|---|
Ever had the need to fetch ratings for your IOS App using node? Tired of deducing the types returned by the App Store API? Then app-store-ratings
is what you're looking for!
Simple wrapper that let you fetch ratings for your IOS APP. Written in Typescript
.
There is no well documented API that returns JSON objects for the IOS App ratings. There is an endpoint that returns XML or JSON. The API that returns XML contains more data than the one that returns JSON. Converting from XML to JSON on several projects got a bit tedious. And voilà the package was born.
npm install app-store-ratings
yarn add app-store-ratings
No extensive tutorials required. Learn by example.
import { fetchRatings } from 'app-store-ratings';
function getRatings() {
fetchRatings({
projectId: 'XXX', // the IOS App projectId
country: 'YYY' // Optional country if your app is available across many stores
})
.then(ratings => console.log(ratings));
}
import { fetchRatings } from 'app-store-ratings';
async function getRatings() {
const ratings = await fetchRatings({
projectId: 'XXX', // the IOS App projectId
country: 'YYY' // Optional country if your app is available across many stores
});
console.log(ratings);
}
export interface IAppStoreRating {
id: string;
title: string;
updatedAt: string;
content: string;
rating: number;
voteCount: number;
voteSum: number;
version: string;
author: {
name: string;
uri: string;
};
}
FAQs
Fetches data for app store ratings
The npm package app-store-ratings receives a total of 0 weekly downloads. As such, app-store-ratings popularity was classified as not popular.
We found that app-store-ratings demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.