j6k4m8 / remarkapy

8 stars 1 forks source link

fetch webapp endpoints on init #7

Open j6k4m8 opened 1 month ago

j6k4m8 commented 1 month ago

https://github.com/j6k4m8/remarkapy/pull/4#discussion_r1775263881_

@simonepsp did you intent by this for us to be fetching from the reMarkable API? that would be very cool if so. not sure if/where that endpt exists?

simonepsp commented 1 month ago

Yes, you can get all the Remarkable endpoints from https://eu.tectonic.remarkable.com/discovery/v1/endpoints with a GET request.

These are the current ones:

{
    "notifications" : "eu.tectonic.remarkable.com",
    "webapp" : "webapp-prod.cloud.remarkable.engineering",
    "mqttbroker" : "vernemq-prod.cloud.remarkable.engineering"
}
j6k4m8 commented 1 month ago

This is so awesome, totally going to make things WAY easier to keep up with!!