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

node-red-contrib-apple-findme-reloaded

v0.1.9

Published

Node to request device and location data from Apple iCloud endpoints.

Downloads

42

Readme

node-red-contrib-apple-findme-reloaded

This is an alternate, much simpler, Apple FindMe node without bloat and API requests to third-party endpoints. FindMe-Reloaded only requests the official Apple API endpoints and does NOT request OpenStreetMap or other services, to prevent them track you. In addition, little transformation of data is done, to keep data clean and simple.

Apple currently provides no altitude information. FindMe-Reloaded won't ever try to fix that.

How to use

Add the FindMe-Reloaded request node to your flow, insert Apple account data and add an input (for triggering). After getting some output, do with it what you want.

example low

And yes: the node is violet, because its our beloved new iPhone color. I love it.

Caching

Minimum request time is 100 seconds to prevent you from getting banned. Your flow may request more often than that. In this case, you'll receive a cached payload. You can edit the throttling rate and set it much higher, for example when debugging your flow.

Example payload

{
    "isCached": false,
    "requestTime": "2022-09-17T18:48:08.803Z",
    "byModel": {
        "iPhone": [
            {
                "id": "I42Hwv9ZJncHtTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                "name": "iPhone von 사장님",
                "modelName": "iPhone",
                "className": "iPhone",
                "deviceName": "iPhone 14 Pro Max",
                "rawName": "iPhone15,3",
                "uuid": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                "discoveryId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                "battery": {
                    "level": 0.25999999046325684,
                    "status": "NotCharging",
                    "isCharging": false, // field provided by FindMe-Reloaded, makes life easier
                    "isDraining": true // field provided by FindMe-Reloaded, makes life easier
                },
                "resources": {
                    "smallImage": "https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone15,3-1-17-0/online-infobox.png",
                    "mediumImage": "https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone15,3-1-17-0/online-infobox__2x.png",
                    "largeImage": "https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone15,3-1-17-0/online-infobox__3x.png"
                },
                "hasLocation": true,
                "location": {
                    "latitude": 13.00000633701766,
                    "longitude": 37.000090778518228,
                    "horizontalAccuracy": 8.00001004653239,
                    "altitude": 0, // always 0, Apple isn't delivering values here
                    "verticalAccuracy": 0, // always 0, Apple isn't delivering values here
                    "positionType": "GPS",
                    "isOld": false,
                    "isInaccurate": false,
                    "lastUpdated": "2022-09-17T18:48:07.174Z"
                }
            }
        ],
        "MacBook Pro": [
            ...
        ],
        "Apple Watch": [
            ...
        ],
        "AirPods Pro": [
            ...
        ],
        "iPad": [
            ...
        ]
    },
    "byName": {
        "iPhone von 사장님": {
            // reference to object above
        },
        "MacBook Pro von 사장님": {
            ...
        },
        "Apple Watch von 사장님": {
            ...
        },
        "AirPods Pro von 사장님": {
            ...
        },
        "iPad von 사장님": {
            ...
        }
    },
    "devices": {
        "I42Hwv9ZJncHtTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX": {
            // reference to object above
        },
        "8uzc8JI8GEWHEYlXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX": {
            ...
        },
        "QkKnPAD4ajEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX": {
            ...
        },
        "Valiig13uowd78oF5iKPGAhYIxnHh4TXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX": {
            ...
        },
        "uY4SLjrRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX": {
            ...
        }
    }
}