-
Notifications
You must be signed in to change notification settings - Fork 58
Description
📌 Goal
The local file tonie.json currently contains only limited information
about Tonie figures. I suggest automatically expanding or replacing
this file by obtaining missing data directly from your own Tonie account.
🔍 Background
All of your Tonies are listed with an image, title, and description
at https://my.tonies.com/content-tonies. This data is provided via
a GraphQL API: API endpoint: https://api.prod.tcs.toys/v2/graphql
The JSON there contains:
- Title
- Description
- Cover image
Tag ID (e.g. E0040350178864AE), which can be linked to the local tonie.json and the tag ID.
🔐 Authentication
Login is easy to implement with Python (session + token). Once logged in, you can retrieve
the content and process it locally. Implementation ideaPython script for authentication and
data retrieval Linking API data with local tag IDs Extension or regeneration of tonie.json
Optional: Integration as a CLI tool or web module in TeddyCloud Advantages
Automatic addition of missing contentUniform display of all Tonies No more manual
maintenance of JSON files
❓Open questions
Where and how should the script be integrated into TeddyCloud? (e.g., as a module, hook, admin tool)
How do we handle authentication and token storage?
What do you think of the idea?
I welcome feedback and am happy to contribute an initial prototype.