Hi,
I was successfully able to query and show web data in my HA dashboard via the REST platform like this:
- platform: rest
resource: https://api.printables.com/graphql/
method: POST
payload: '{"operationName":"UserProfileSocial","variables":{"id": "101152"},"query":"query UserProfileSocial($id: ID!) {\n user(id: $id) {\n publicUsername\n downloadCount\n}}" }'
name: Prusa Download Counter
value_template: "{{ value_json.data.user.downloadCount }}"
headers:
Content-Type: application/json
It shows me a download counter from my printables website profile:
Now I would like to do the same from a different website → Makerworld https://makerworld.com/en/@pixelwave
Any idea how to do that from a generic website … I do not think MakerWorld supports GRAPHQL like printables …