node-app-store-connect-api

A library to support Apple's App Store Connect API (by dfabulich)

Node-app-store-connect-api Alternatives

Similar projects and alternatives to node-app-store-connect-api

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better node-app-store-connect-api alternative or higher similarity.

node-app-store-connect-api reviews and mentions

Posts with mentions or reviews of node-app-store-connect-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-23.
  • TypeScript is terrible for library developers
    16 projects | news.ycombinator.com | 23 Aug 2022
    Here's a perfect example. I maintain a simple Node library designed to connect to Apple's App Store Connect API. https://github.com/dfabulich/node-app-store-connect-api

    It accepts, as a parameter, an URL for Apple's REST API. My library handles authentication, and returns the parsed JSON result, with a handful of tweaks to make the API more usable in JavaScript.

    Depending on which URL you request, you'll get different result object back. You could get a single object in response, or an array of objects, and the type of returned objects is different for each URL type.

    How would you add TypeScript types to this API? Well, Apple provides an OpenAPI documentation of all of their URLs, which I could use to autogenerate types, but then, how would I handle all of those types in response to the user's string input?

    Well, it turns out that TypeScript is so amazingly fancy that you can write very clever code to parse strings at compile time, extracting parameter types etc. from string literal types. https://lihautan.com/extract-parameters-type-from-string-lit...

    The documentation explains how an API like this:

       app.get('/purchase/[shopid]/[itemid]/args/[...args]')

Stats

Basic node-app-store-connect-api repo stats
1
36
5.5
5 months ago

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com