Right now I’m working on a webhook that records completely new members and sends the data of their name, premium status, and date joined to my discord channel. This is good for visualization but I feel that making a python script suited for grabbing things from discord channels may be the longer way around. The question I am asking is if there is a better way to transfer data that would be more Python-friendly than discord. In the final product I want something in a data format that is completely manipulatable and graphable with Python.
JSON is a nearly ubiquitous interchange format.
A table can be converted to its JSON equivalent via the function exposed in HttpService.
Python can deserialize data from JSON to Python objects using the json library.
How you grab the JSON string is up to you. You could fully automate the process using webhooks, or just print the string to the console and copy/paste between Roblox and your Python console.
1 Like