# Are there API lists?

**URL:** <https://forum.makecode.com/t/are-there-api-lists/1503>\
**Category:** Maker\
**Created:** [March 26, 2020, 3:27am UTC](https://forum.makecode.com/t/are-there-api-lists/1503 "2020-03-26T03:27:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![codeItBruh](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@codeItBruh](https://forum.makecode.com/u/codeItBruh)\
**Post date:** [March 26, 2020, 3:27am UTC](https://forum.makecode.com/t/are-there-api-lists/1503/1 "2020-03-26T03:27:01Z")

</div>

I’m using MakeCode for both the adafruit board, and the Cue robot. For the life of me, I can’t find an API document of the javascript functionality for either.

Is there a way to pull this out, perhaps?

---

<div class="post-metadata">

**Author:** ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)\
**Post date:** [March 27, 2020, 3:25am UTC](https://forum.makecode.com/t/are-there-api-lists/1503/2 "2020-03-27T03:25:55Z")

</div>

There is documentation at: [https://makecode.adafruit.com/reference](https://makecode.adafruit.com/reference) or [https://maker.makecode.com/docs](https://maker.makecode.com/docs). The JavaScript/Typescript is a 1 to 1 reflection of what you do in blocks. For example, IO you do from `pins` for input and output by analog or digital read/write, and `serial` for serial based communication as a UART.

Note: I am not familiar with the Cue robot but I would expect some of this is available as an extension or specific implementation, so they have their own documentation? Either way, toggling between the Blocks and JavaScript would be the simplest option… and rely on the `.` (dot) to explore the API from the editor.

---

<div class="post-metadata">

**Author:** ![codeItBruh](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@codeItBruh](https://forum.makecode.com/u/codeItBruh)\
**Post date:** [March 27, 2020, 3:48pm UTC](https://forum.makecode.com/t/are-there-api-lists/1503/3 "2020-03-27T15:48:51Z")

</div>

Nothing that I’ve found for the Cue robot that’s similar to the adafruit link you provided. (and thanks! 👍)

It seems like the IDE should be able to auto-generate an api, given that it knows all the blocks/JS.

I wonder if there are config files that map the blocks to functions? Adafruit is online, so that might be impossible to find, but Cue is a downloaded MS win10 app.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 27, 2020, 4:47pm UTC](https://forum.makecode.com/t/are-there-api-lists/1503/4 "2020-03-27T16:47:33Z")

</div>

We don’t publish the cue app, we just provide the editor. For a list of those apis your might need to contact wonder workshop.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 27, 2020, 4:50pm UTC](https://forum.makecode.com/t/are-there-api-lists/1503/5 "2020-03-27T16:50:36Z")

</div>

Also, our blocks are generated directly from the javascript. The “source of truth” is usually either in the [editor repository](https://github.com/microsoft/pxt-adafruit/tree/master/libs) or in [pxt-common-packages](https://github.com/microsoft/pxt-common-packages/tree/master/libs) which is shared between most the MakeCode editors. There are no config files to find, I’m afraid.
