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

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -