# Crypto Currency Data Python or Block

**URL:** https://forum.makecode.com/t/crypto-currency-data-python-or-block/25044
**Category:** Collaboration
**Created:** [December 14, 2023, 6:42pm UTC](https://forum.makecode.com/t/crypto-currency-data-python-or-block/25044 "2023-12-14T18:42:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![pixelking12](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@pixelking12](https://forum.makecode.com/u/pixelking12)
#### Post date: [December 14, 2023, 6:42pm UTC](https://forum.makecode.com/t/crypto-currency-data-python-or-block/25044/1 "2023-12-14T18:42:12Z")

</div>

Hey guys. Does anyone want to make a game that shows real time data or specific crypto currencies and stocks? so practically like an app but like a game. It would have to be made in python.

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [December 14, 2023, 7:10pm UTC](https://forum.makecode.com/t/crypto-currency-data-python-or-block/25044/2 "2023-12-14T19:10:14Z")

</div>

That’s impossible, if you want to fetch real data. MakeCode can’t make network requests.

---

<div class="post-metadata">

### Author: ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)
#### Post date: [December 14, 2023, 8:56pm UTC](https://forum.makecode.com/t/crypto-currency-data-python-or-block/25044/3 "2023-12-14T20:56:50Z")

</div>

Bro burst his bubble before it even existed…

There should be some way! Maybe you could, like, make up your own currencies!

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [December 14, 2023, 9:24pm UTC](https://forum.makecode.com/t/crypto-currency-data-python-or-block/25044/4 "2023-12-14T21:24:17Z")

</div>

> [@Sarge](#):
>
> MakeCode can’t make network requests.

Erm, actually 🤓☝ it is [possible via WebSockets (the demo looks broken currently though)](https://forum.makecode.com/t/websocket-extension-experimental/4661) but it only works on GitHub pages, making debugging almost impossible and needing external infrastructure or a finance API supporting WebSockets.

[`simmessages`](https://forum.makecode.com/t/extension-to-interact-with-the-web-in-exported-games/4262) also exist but you need to write custom code that only runs in GitHub pages,. making debugging almost impossible and I’m unsure if you can send messages into the simulator.

So essentially it’s impossible to interact with the network, but it is always possible to simulate it in your game!

---

<div class="post-metadata">

### Author: ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)
#### Post date: [December 16, 2023, 6:33am UTC](https://forum.makecode.com/t/crypto-currency-data-python-or-block/25044/5 "2023-12-16T06:33:42Z")

</div>

I was going to mention websockets. I looked into it a while ago and it looks like the demo is broken because the websocket that it is connecting got deleted a while ago. That might not be the only problem though, because I tried to connect to a different websocket and it didn’t work
