# Allowing for Viewable Public Data

**URL:** <https://forum.code.org/t/allowing-for-viewable-public-data/34422>\
**Category:** Coding and Debugging Help\
**Tags:** applab, gamelab\
**Created:** [March 19, 2021, 7:29pm UTC](https://forum.code.org/t/allowing-for-viewable-public-data/34422 "2021-03-19T19:29:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![letti42](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@letti42](https://forum.code.org/u/letti42)\
**Post date:** [March 19, 2021, 7:29pm UTC](https://forum.code.org/t/allowing-for-viewable-public-data/34422/1 "2021-03-19T19:29:20Z")

</div>

App Lab and Game Lab really need to have an option to be able to make a record table or key value viewable to anyone, almost like an API for your project. Imagine being able to, as an example, view a game’s leaderboard without actually running it, using another project that centralizes multiple popular _other_ project’s leaderboards. You could also make a discord bot, as another example, that tells you a game’s value of “visits” for a way to see the amount of times a game had been played. It could even help educators teach how to use data values.  
That would be so cool, wouldn’t it!? It would definitely expand the possibilities of what you’re able to do within App/Game Lab, and be a great update that could help students learn how to use an API or databases in the future.

---

<div class="post-metadata">

**Author:** ![IMPixel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/impixel/32/6744_2.png) [@IMPixel](https://forum.code.org/u/IMPixel)\
**Post date:** [March 25, 2021, 4:35pm UTC](https://forum.code.org/t/allowing-for-viewable-public-data/34422/2 "2021-03-25T16:35:28Z")

</div>

That shall not be allowed, as some apps have actual login systems. If people would be able to view someone’s password, they’ll be able to login into their account.

---

<div class="post-metadata">

**Author:** ![letti42](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@letti42](https://forum.code.org/u/letti42)\
**Post date:** [March 25, 2021, 4:40pm UTC](https://forum.code.org/t/allowing-for-viewable-public-data/34422/3 "2021-03-25T16:40:11Z")

</div>

@IMPixel hmm maybe it’s as if I meant that they could choose which records to be publicly available…

---

<div class="post-metadata">

**Author:** ![IMPixel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/impixel/32/6744_2.png) [@IMPixel](https://forum.code.org/u/IMPixel)\
**Post date:** [March 25, 2021, 4:45pm UTC](https://forum.code.org/t/allowing-for-viewable-public-data/34422/4 "2021-03-25T16:45:51Z")

</div>

I guess they could but I doubt anyone would use that. Honestly, I’ve never ever seen a game with an actual leaderboard. Another thing is that people often choose different names for their columns and sometimes mess with their IDs. Also, the owner of a leaderboard would be able to make the app of the person who uses their leaderboard crash, as they could make the leaderboard invalid. I guess it could be allowed, but I’m scared that it would take way too much time for the [code.org](http://code.org) developers to create.

---

<div class="post-metadata">

**Author:** ![letti42](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@letti42](https://forum.code.org/u/letti42)\
**Post date:** [March 25, 2021, 7:02pm UTC](https://forum.code.org/t/allowing-for-viewable-public-data/34422/5 "2021-03-25T19:02:28Z")

</div>

@IMPixel When I meant publicly viewable, I meant not being able to edit but rather to be able to view it.

---

<div class="post-metadata">

**Author:** ![islanderjourney](https://avatars.discourse-cdn.com/v4/letter/i/f04885/32.png) [@islanderjourney](https://forum.code.org/u/islanderjourney)\
**Post date:** [November 7, 2022, 8:04pm UTC](https://forum.code.org/t/allowing-for-viewable-public-data/34422/7 "2022-11-07T20:04:21Z")

</div>

Do not worry, I have a solution. For the part about seeing others’ data except the leaderboard, that is not possible. Also seeing multiple popular other projects leaderboards, you would need to access the data from there, which the only hint I think is possible is startWebRequest. But a leaderboard in the same app, you can first create a table of everyone’s progress. Then, you can do readRecords and pull data everytime someone for instance beats someone elses’ score. This will automatically refresh the leaderboard. Hope this helps.
