send-ip-to-firebase

1.0.2 • Public • Published

send-ip-to-firebase

Downloads IP address from a given web service and writes it to the given Firebase Firestore document

Usage

$ send-ip-to-firebase <path-to-your-service-account-key-json> <firebase-firestore-database-url> <path-to-document> <web-service-that-returns-ip-address>

Example usage

$ send-ip-to-firebase ./key.json https://mypage-abcdef.firebaseio.com ips/Utrquhfafhaisf235af https://ifconfig.co/ip

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i send-ip-to-firebase

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.54 kB

    Total Files

    3

    Last publish

    Collaborators

    • jakutis