|
5 | 5 | .S3 { margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; } |
6 | 6 | .S4 { margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; } |
7 | 7 | .CodeBlock { background-color: #F7F7F7; margin: 10px 0 10px 0;} |
8 | | -.S5 { border-left: 1px solid rgb(233, 233, 233); border-right: 1px solid rgb(233, 233, 233); border-top: 1px solid rgb(233, 233, 233); border-bottom: 0px none rgb(0, 0, 0); border-radius: 4px 4px 0px 0px; padding: 6px 45px 0px 13px; line-height: 17.234px; min-height: 18px; white-space: nowrap; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; } |
9 | | -.S6 { border-left: 1px solid rgb(233, 233, 233); border-right: 1px solid rgb(233, 233, 233); border-top: 0px none rgb(0, 0, 0); border-bottom: 0px none rgb(0, 0, 0); border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 17.234px; min-height: 18px; white-space: nowrap; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; } |
10 | | -.S7 { border-left: 1px solid rgb(233, 233, 233); border-right: 1px solid rgb(233, 233, 233); border-top: 0px none rgb(0, 0, 0); border-bottom: 1px solid rgb(233, 233, 233); border-radius: 0px 0px 4px 4px; padding: 0px 45px 4px 13px; line-height: 17.234px; min-height: 18px; white-space: nowrap; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; } |
11 | | -.S8 { margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; } |
12 | | -.S9 { border-left: 1px solid rgb(233, 233, 233); border-right: 1px solid rgb(233, 233, 233); border-top: 1px solid rgb(233, 233, 233); border-bottom: 1px solid rgb(233, 233, 233); border-radius: 4px; padding: 6px 45px 4px 13px; line-height: 17.234px; min-height: 18px; white-space: nowrap; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; } |
13 | | -.S10 { border-left: 0px none rgb(0, 0, 0); border-right: 0px none rgb(0, 0, 0); border-top: 0px none rgb(0, 0, 0); border-bottom: 0px none rgb(0, 0, 0); border-radius: 0px; padding: 0px; line-height: 16px; min-height: 0px; white-space: pre; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 12px; }</style></head><body><div class = rtcContent><h1 class = 'S0'><span>MATLAB WEB API</span></h1><h2 class = 'S1'><span>Description</span></h2><div class = 'S2'><span>Framework for building handy WEB APIs to work with any WEB services from MATLAB.</span></div><div class = 'S2'><a href = "https://www.mathworks.com/matlabcentral/fileexchange/68611"><span>Follow project on MathWorks File Exchange</span></a></div><h2 class = 'S1'><span>Features</span></h2><ul class = 'S3'><li class = 'S4'><span>Set of methods, templates and examples for quick creation of WEB API to work with any WEB service from MATLAB </span></li><li class = 'S4'><span>Library to work with WEB requests </span></li><li class = 'S4'><span>Support of OAuth 1.0, OAuth 2.0 access protocols</span></li></ul><h2 class = 'S1'><span>WEB APIs</span></h2><div class = 'S2'><span style=' font-weight: bold;'>At the moment, the work with services is partially done:</span></div><ul class = 'S3'><li class = 'S4'><a href = "https://www.bing.com/maps"><span>Bing Maps</span></a><span> - Mapping Service </span></li><li class = 'S4'><a href = "http://data.gov.ru/"><span>Data.gov.ru</span></a><span> - Open Data of Russian Federation </span></li><li class = 'S4'><a href = "http://flickr.com/"><span>Flickr</span></a><span> - Photo Hosting (OAuth 1.0) </span></li><li class = 'S4'><a href = "http://hh.com/"><span>HeadHunter</span></a><span> - Russian Recruiting Service </span></li><li class = 'S4'><a href = "http://ip-api.com/"><span>ip-api.com</span></a><span> - IP Geolocation </span></li><li class = 'S4'><a href = "http://www.netsuite.com/portal/home.shtml"><span>NetSuite</span></a><span> - CRM System (OAuth 1.0) </span></li><li class = 'S4'><a href = "https://openweathermap.org/"><span>OpenWeatherMap</span></a><span> - Weather Service </span></li><li class = 'S4'><a href = "http://restcountries.eu/"><span>REST Countries</span></a><span> - Countries Information </span></li><li class = 'S4'><a href = "https://uinames.com/"><span>uinames.com</span></a><span> - Random names generator </span></li><li class = 'S4'><a href = "https://vk.com/"><span>VK</span></a><span> - Russian Social Network (OAuth 2.0)</span></li></ul><h2 class = 'S1'><span>How to install</span></h2><h2 class = 'S1'><span style=' font-weight: bold;'>* For use only *</span></h2><div class = 'S2'><span style=' font-weight: bold;'>1st approach (install from scratch)</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S5'><span style="white-space: pre;"><span>r = webread(</span><span style="color: rgb(160, 32, 240);">'https://api.github.com/repos/ETMC-Exponenta/MATLAB-WEB-API/releases/latest'</span><span>);</span></span></div></div><div class="inlineWrapper"><div class = 'S6'><span style="white-space: pre;"><span>websave(r.assets.name, r.assets.browser_download_url);</span></span></div></div><div class="inlineWrapper"><div class = 'S7'><span style="white-space: pre;"><span>open(r.assets.name)</span></span></div></div></div><div class = 'S8'><span style=' font-weight: bold;'>2nd approach (install from scratch)</span></div><ul class = 'S3'><li class = 'S4'><span>Download </span><a href = "https://github.com/ETMC-Exponenta/MATLAB-WEB-API/raw/master/MATLAB-WEB-API.mltbx"><span>MATLAB-WEB-API.mltbx</span></a></li><li class = 'S4'><span>Open it</span></li></ul><div class = 'S2'><span style=' font-weight: bold;'>3rd approach (update installed)</span></div><div class = 'S2'><span>Check the current and latest versions:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S9'><span style="white-space: pre;"><span>WEB.API.Ver</span></span></div></div></div><div class = 'S8'><span>Update to the latest version:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S9'><span style="white-space: pre;"><span>WEB.API.Update</span></span></div></div></div><h2 class = 'S1'><span>* For development *</span></h2><ul class = 'S3'><li class = 'S4'><span>Install</span><span> </span><a href = "https://git-scm.com/downloads"><span>Git</span></a></li><li class = 'S4'><a href = "https://git-scm.com/book/en/v2/Getting-Started-Git-Basics"><span>Learn</span></a><span> </span><span>how to use Git</span></li><li class = 'S4'><span>In OS command line execute:</span></li></ul><div class = 'preformatted-matlab' style = 'margin: 10px 3px 10px 55px; padding: 10px 10px 10px 5px; '><div class = 'S10'><span style="white-space: pre;"><span>git </span><span style="color: rgb(160, 32, 240);">clone https://github.com/ETMC-Exponenta/MATLAB-WEB-API.git</span></span></div></div><h2 class = 'S1'><span>Where to start</span></h2><div class = 'S2'><span>Start with</span><span> examples:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S9'><span style="white-space: pre;"><span>WEB.API.Examples</span></span></div></div></div><div class = 'S8'><span style=' font-style: italic;'>Note: to work with some WEB Services you need to register and get access keys. See particular Service Developer documentation</span></div><div class = 'S2'><span>Examine documentation:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S9'><span style="white-space: pre;"><span>WEB.API.Doc</span></span></div></div></div><h2 class = 'S1'><span>Join us</span></h2><div class = 'S2'><span>Together we will add more of services API and improve the existing!</span></div><div class = 'S2'><a href = "https://github.com/ETMC-Exponenta/MATLAB-WEB-API"><span>Project on GitHub</span></a></div></div> |
| 8 | +.S5 { border-left: 1px solid rgb(233, 233, 233); border-right: 1px solid rgb(233, 233, 233); border-top: 1px solid rgb(233, 233, 233); border-bottom: 1px solid rgb(233, 233, 233); border-radius: 4px; padding: 6px 45px 4px 13px; line-height: 17.234px; min-height: 18px; white-space: nowrap; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; } |
| 9 | +.S6 { margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; } |
| 10 | +.S7 { border-left: 0px none rgb(0, 0, 0); border-right: 0px none rgb(0, 0, 0); border-top: 0px none rgb(0, 0, 0); border-bottom: 0px none rgb(0, 0, 0); border-radius: 0px; padding: 0px; line-height: 16px; min-height: 0px; white-space: pre; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 12px; }</style></head><body><div class = rtcContent><h1 class = 'S0'><span>MATLAB WEB API</span></h1><h2 class = 'S1'><span>Description</span></h2><div class = 'S2'><span>Framework for building handy WEB APIs to work with any WEB services from MATLAB.</span></div><div class = 'S2'><a href = "https://www.mathworks.com/matlabcentral/fileexchange/68611"><span>Follow project on MathWorks File Exchange</span></a></div><h2 class = 'S1'><span>Features</span></h2><ul class = 'S3'><li class = 'S4'><span>Set of methods, templates and examples for quick creation of WEB API to work with any WEB service from MATLAB </span></li><li class = 'S4'><span>Library to work with WEB requests </span></li><li class = 'S4'><span>Support of OAuth 1.0, OAuth 2.0 access protocols</span></li></ul><h2 class = 'S1'><span>WEB APIs</span></h2><div class = 'S2'><span style=' font-weight: bold;'>At the moment, the work with services is partially done:</span></div><ul class = 'S3'><li class = 'S4'><a href = "https://www.bing.com/maps"><span>Bing Maps</span></a><span> - Mapping Service </span></li><li class = 'S4'><a href = "http://data.gov.ru/"><span>Data.gov.ru</span></a><span> - Open Data of Russian Federation </span></li><li class = 'S4'><a href = "http://flickr.com/"><span>Flickr</span></a><span> - Photo Hosting (OAuth 1.0) </span></li><li class = 'S4'><a href = "http://hh.com/"><span>HeadHunter</span></a><span> - Russian Recruiting Service </span></li><li class = 'S4'><a href = "http://ip-api.com/"><span>ip-api.com</span></a><span> - IP Geolocation </span></li><li class = 'S4'><a href = "http://www.netsuite.com/portal/home.shtml"><span>NetSuite</span></a><span> - CRM System (OAuth 1.0) </span></li><li class = 'S4'><a href = "https://openweathermap.org/"><span>OpenWeatherMap</span></a><span> - Weather Service </span></li><li class = 'S4'><a href = "http://restcountries.eu/"><span>REST Countries</span></a><span> - Countries Information </span></li><li class = 'S4'><a href = "https://uinames.com/"><span>uinames.com</span></a><span> - Random names generator </span></li><li class = 'S4'><a href = "https://vk.com/"><span>VK</span></a><span> - Russian Social Network (OAuth 2.0)</span></li></ul><h2 class = 'S1'><span>How to install</span></h2><h2 class = 'S1'><span style=' font-weight: bold;'>* For use only *</span></h2><div class = 'S2'><span style=' font-weight: bold;'>1st approach (install from scratch)</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S5'><span style="white-space: pre;"><span>eval(webread(</span><span style="color: rgb(160, 32, 240);">'https://exponenta.ru/install/web'</span><span>))</span></span></div></div></div><div class = 'S6'><span style=' font-weight: bold;'>2nd approach (install from scratch)</span></div><ul class = 'S3'><li class = 'S4'><span>Download </span><a href = "https://roslovets.github.io/ghbin#ETMC-Exponenta/MATLAB-WEB-API#MATLAB-WEB-API.mltbx"><span>MATLAB-WEB-API.mltbx</span></a></li><li class = 'S4'><span>Open it</span></li></ul><div class = 'S2'><span style=' font-weight: bold;'>3rd approach (update installed)</span></div><div class = 'S2'><span>Check the current and latest versions:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S5'><span style="white-space: pre;"><span>WEB.API.Ver</span></span></div></div></div><div class = 'S6'><span>Update to the latest version:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S5'><span style="white-space: pre;"><span>WEB.API.Update</span></span></div></div></div><h2 class = 'S1'><span>* For development *</span></h2><ul class = 'S3'><li class = 'S4'><span>Install</span><span> </span><a href = "https://git-scm.com/downloads"><span>Git</span></a></li><li class = 'S4'><a href = "https://git-scm.com/book/en/v2/Getting-Started-Git-Basics"><span>Learn</span></a><span> </span><span>how to use Git</span></li><li class = 'S4'><span>In OS command line execute:</span></li></ul><div class = 'preformatted-matlab' style = 'margin: 10px 3px 10px 55px; padding: 10px 10px 10px 5px; '><div class = 'S7'><span style="white-space: pre;"><span>git </span><span style="color: rgb(160, 32, 240);">clone https://github.com/ETMC-Exponenta/MATLAB-WEB-API.git</span></span></div></div><h2 class = 'S1'><span>Where to start</span></h2><div class = 'S2'><span>Start with</span><span> examples:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S5'><span style="white-space: pre;"><span>WEB.API.Examples</span></span></div></div></div><div class = 'S6'><span style=' font-style: italic;'>Note: to work with some WEB Services you need to register and get access keys. See particular Service Developer documentation</span></div><div class = 'S2'><span>Examine documentation:</span></div><div class="CodeBlock"><div class="inlineWrapper"><div class = 'S5'><span style="white-space: pre;"><span>WEB.API.Doc</span></span></div></div></div><h2 class = 'S1'><span>Join us</span></h2><div class = 'S2'><span>Together we will add more of services API and improve the existing!</span></div><div class = 'S2'><a href = "https://github.com/ETMC-Exponenta/MATLAB-WEB-API"><span>Project on GitHub</span></a></div></div> |
14 | 11 | <br> |
15 | 12 | <!-- |
16 | 13 | ##### SOURCE BEGIN ##### |
|
44 | 41 | %% ** For use only ** |
45 | 42 | % *1st approach (install from scratch)* |
46 | 43 |
|
47 | | -r = webread('https://api.github.com/repos/ETMC-Exponenta/MATLAB-WEB-API/releases/latest'); |
48 | | -websave(r.assets.name, r.assets.browser_download_url); |
49 | | -open(r.assets.name) |
| 44 | +eval(webread('https://exponenta.ru/install/web')) |
50 | 45 | %% |
51 | 46 | % *2nd approach (install from scratch)* |
52 | 47 | %% |
53 | | -% * Download <https://github.com/ETMC-Exponenta/MATLAB-WEB-API/raw/master/MATLAB-WEB-API.mltbx |
| 48 | +% * Download <https://roslovets.github.io/ghbin#ETMC-Exponenta/MATLAB-WEB-API#MATLAB-WEB-API.mltbx |
54 | 49 | % MATLAB-WEB-API.mltbx> |
55 | 50 | % * Open it |
56 | 51 | %% |
|
0 commit comments