MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    turning Postman query into getJSONP()? (BTC node query)

    Scheduled Pinned Locked Moved Development
    6 Posts 2 Posters 1.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @FlatPepsi
      last edited by sdetweil

      @FlatPepsi so. this gets fun

      you can do this in two places in a MagicMirror module

      in the browser (modulename.js)
      see
      https://dmitripavlutin.com/fetch-with-json/

      or in the node_helper, using some library
      like this
      https://www.npmjs.com/package/get-json

      I don’t know what BTC is…
      if it’s Bitcoin, there is a library u could use from the node_helper,
      see
      https://www.npmjs.com/package/bitcoin

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @FlatPepsi
        last edited by sdetweil

        @FlatPepsi also you could do Google search for

        “github magicmirror bitcoin”

        I get 5 different modules

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        FlatPepsiF 1 Reply Last reply Reply Quote 0
        • FlatPepsiF Offline
          FlatPepsi @sdetweil
          last edited by

          @sdetweil Every search I’ve done only pulls up modules to display bitcoin price from 3rd parties. I’m looking for a way to pull data from my own bitcoin node & blockchain data - which I’ve yet to see anyone do with a module.

          If you run across one, I’d love to see it.

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @FlatPepsi
            last edited by

            @FlatPepsi but if u have an API to your server, then build a module around it

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @FlatPepsi
              last edited by

              @FlatPepsi also, something like this might help

              https://github.com/amcolash/MMM-json-feed

              put in your url, display data

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy