# Embedding FoxDot as an API?

**URL:** <https://forum.toplap.org/t/embedding-foxdot-as-an-api/1656>\
**Category:** Foxdot\
**Created:** [6 February 2021 20:07 UTC](https://forum.toplap.org/t/embedding-foxdot-as-an-api/1656 "2021-02-06T20:07:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlackRail](https://forum.toplap.org/user_avatar/forum.toplap.org/blackrail/32/890_2.png) [@BlackRail](https://forum.toplap.org/u/BlackRail)\
**Post date:** [6 February 2021 20:07 UTC](https://forum.toplap.org/t/embedding-foxdot-as-an-api/1656/1 "2021-02-06T20:07:17Z")

</div>

Hello, all – apologies if this was addressed; I don’t think I saw it in the forum.

I’d like to control FoxDot from another running Python program – one that’s specifically reading a stream of data. I’d like to process that data, and use it to generate FoxDot commands. I see lots of discussion of sending data _out_ from FoxDot – I’d like to send it _in_.

Any thoughts on this? Has anyone done something similar?

I’m really loving FoxDot, and want to get my machines to play with it too! 🙂

---

<div class="post-metadata">

**Author:** ![stretchyboy](https://forum.toplap.org/user_avatar/forum.toplap.org/stretchyboy/32/894_2.png) [@stretchyboy](https://forum.toplap.org/u/stretchyboy)\
**Post date:** [7 February 2021 16:48 UTC](https://forum.toplap.org/t/embedding-foxdot-as-an-api/1656/2 "2021-02-07T16:48:01Z")

</div>

Hi,  
I’ve used it a few times, it’s very easy to get going with.  
[Qirky/FoxDot: Python driven environment for Live Coding - Running Python files with FoxDot code (github.com)](https://github.com/Qirky/FoxDot#running-python-files-with-foxdot-code)

---

<div class="post-metadata">

**Author:** ![BlackRail](https://forum.toplap.org/user_avatar/forum.toplap.org/blackrail/32/890_2.png) [@BlackRail](https://forum.toplap.org/u/BlackRail)\
**Post date:** [7 February 2021 17:18 UTC](https://forum.toplap.org/t/embedding-foxdot-as-an-api/1656/3 "2021-02-07T17:18:15Z")

</div>

Whoa, that’s exactly what I was looking for. Thank you, stretchyboy!!

– BlackRail
