How do I use APIs in Javascript -
so, want lottery results (from site called magayo.com offers free api mega millions) app, "numgen" in windows 10 app store, and, don't know how use apis, of internet tutorials useless , tell me things don't want or need know. want information api , display neatly on app, please me.
thank you!
you need call api using http request , consume response display results on app.
http request can made via xmlhttprequest [xhr], or library jquery (ajax) or axios.
you can read more on mozilla developer network.
also why use javascript develop native apps suitable windows 10? using electron too? developing in c++ improve performance although uwp app supports javascript codebase language too.
Comments
Post a Comment