jakkra / ZSWatch

ZSWatch - the Open Source Zephyrâ„¢ based Smartwatch, including both HW and FW.
https://forms.gle/G48Sm5zDe9aCaYtT9
GNU General Public License v3.0
2.26k stars 191 forks source link

Trivia app to demonstrate HTTP requests #166

Closed ldab closed 8 months ago

ldab commented 8 months ago

Easy trivia app getting questions from https://opentdb.com/api_config.php

  1. It demonstrates the HTTP request thru Gadgetbridge
  2. Adds a cool app

Todo:

2023-11-29_12-14

jakkra commented 8 months ago

Haha this is so cool! Awesome work! I think parsing HTTP responses is a reason to turn on Zephyr JSON module to be able to build some more advanced stuff using the HTTP api in GB: https://docs.zephyrproject.org/apidoc/latest/group__json.html

Not needed now, but it's something to add together with a generic HTTP API that maps to GB

Kampi commented 8 months ago

Haha this is so cool! Awesome work! I think parsing HTTP responses is a reason to turn on Zephyr JSON module to be able to build some more advanced stuff using the HTTP api in GB: https://docs.zephyrproject.org/apidoc/latest/group__json.html

Not needed now, but it's something to add together with a generic HTTP API that maps to GB

Then we also could replace the self-made JSON parsing for Gadgetbridge :)

jakkra commented 8 months ago

we also could replace the self-made JSON pa

Yep if we want to since it will be there anyway.