npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gatsby-source-app-store

v1.0.7

Published

Gatsby source plugin for building websites using App Store as a data source

Downloads

10

Readme

gatsby-source-app-store

Gatsby source plugin that pulls data from App Store such as app information and user reviews. Great for building landing pages for apps with data for user testimonials,scores and release notes pulled straigh from app store

Demo

Description

This plugin pull data from Apple App Store using app-store-scraper. It fetches information about the app such as category, description, release notes, etc. as well user reviews. The amount of user reviews limited to the amount you can find on Apple's App Store website.

How to install

To install run

npm install gatsby-source-app-store
// or 
yarn add gatsby-source-app-store

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [
    // Add the plugin to your gatsby-config
    {
      resolve: `gatsby-source-app-store`,
      options: {
        apps: ["app.sleepcircle.application"], // required
        country: "fi" // optional, can affect the language of reviews
      },
    },
  ],
}

Available options

| Name | Type | Description | | :-------- | :--------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | apps | array of strings | Required., list all the application bundle ids for which you want to fetch data for.| | country | string | Optional. language code from which which the data will be fetched. Will affect the language of the reviews

How to query for data

Query all apps

{
  allApp {
    edges {
      node {
        appId
        currentVersionScore
        requiredOsVersion
        size
        title
        url
        developerUrl
        developerWebsite
        score
        genres
        currentVersionReviews
        currency
        contentRating
        price
        languages
        released
        developer
        developerId
        version
        releaseNotes
        updated
        icon
      }
    }
  }
}

Query single app

{
  app(appId: {eq: "app.sleepcircle.application"}) {
    appId
    contentRating
    currency
    currentVersionReviews
    currentVersionScore
    description
    developer
    developerId
    developerUrl
    developerWebsite
    free
    genreIds
    genres
    id
    icon
    languages
    price
    primaryGenreId
    primaryGenre
    releaseNotes
    released
    requiredOsVersion
    score
    size
    title
    updated
    version
    url
  }
}

Query all reviews

{
  allReview {
    nodes {
      appId
      id
      score
      text
      title
      url
      userName
      userUrl
      version
    }
  }
}

Query a single review for an app

{
  review(appId: {eq: "app.sleepcircle.application"}) {
    appId
    id
    score
    text
    title
    url
    userName
    userUrl
    version
  }
}

When do I use this plugin?

This plugin is perfect for the following use cases:

  1. You've developed an iOS app and want to show user reviews (as testimonials) on your app's website
  2. You've a developer portfolio of the iOS apps you've built and want to show information such as ratings, reviews, etc to richen the portfolio site
  3. You want to do competetive analysis between different apps

How to contribute

All contributions are welcome