Read the statement by Michael Teeuw here.
xml processing
-
I want to show you the scheduled time for bus arrival in Magic Mirror.
To do that, I got a bus api.
I entered the api URL and it was in xml format.
I don’t know how to process the xml format in the magic mirror.
can you tell me solution
please -
@yuyuyu easiest is to use the xlm2json conversion, then work with the json objects
see https://stackoverflow.com/questions/52281389/convert-xml-to-json-with-nodejs
also, check on the api, it might accept some header to return json instead of xml
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login