# Live data into processing

**URL:** https://discourse.processing.org/t/live-data-into-processing/16603
**Category:** Coding Questions
**Created:** [December 24, 2019, 7:55am UTC](https://discourse.processing.org/t/live-data-into-processing/16603 "2019-12-24T07:55:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bayleft](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/bayleft/32/7591_2.png) [@bayleft](https://discourse.processing.org/u/bayleft)
#### Post date: [December 24, 2019, 7:55am UTC](https://discourse.processing.org/t/live-data-into-processing/16603/1 "2019-12-24T07:55:11Z")

</div>

Hello! I am trying to pull live data from the website below and put it into processing.

> **[Blockchain Explorer | BTC | ETH | BCH](https://www.blockchain.com/btc/unconfirmed-transactions)**
>
> The easiest and most trusted transaction search engine and block explorer

I am basically at a level below beginner… What is the best way for doing this? I am reading about APIs and such and getting lost.

Would it be easier if I put the live data in an excel sheet? I believe I can do this easily but there might be a better way?

It is for an art piece 🙂

---

<div class="post-metadata">

### Author: ![Pr0tonX](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pr0tonx/32/2590_2.png) [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)
#### Post date: [December 24, 2019, 9:45am UTC](https://discourse.processing.org/t/live-data-into-processing/16603/2 "2019-12-24T09:45:35Z")

</div>

Hi,  
you could download datas and store them into a json file, wich could be easier to process after with Processing, but you loose the “live” aspect, if it’s important. I saw on the site that the API can send you datas in json format, so I suppose the data you will be able to download manually will be in json also. It’s quite “easy” to parse a json file because it’s constructed as following :

```auto
myJson = {
"key_1" : "value",
"key_2" : {
         "key_2-1": "value",
         "key_2-2": "value"
        }
}

```

And so on. Keys permits to target one value specifically, or one array/object. So if I want to access to **key\_2-2** I will write :

```auto
myJson.key_2.key_2-2

```

But if you are “below the beginner level”, there is no way wich will be really easy, parsing data is always a pain when you are currently learning the basis of code. 🙃

But for your purpose, it seems to be more appropriate to use p5js. You could easilly access to the API , if the live aspect is important.
