ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "version": "1.0", | |
| "title": "Ecwid API v3", | |
| "description": "TODO: Add Description" | |
| }, | |
| "host": "app.ecwid.com", | |
| "basePath": "/api/v3/14732441", | |
| "schemes": [ |
| <!-- | |
| <Note_Add /> | |
| One of the following attributes is required: | |
| customer: customer login | |
| business: Business Title | |
| order: Order ID | |
| Examples: | |
| --> |
| <mvt:comment> | |
| Replace Access token and signature | |
| </mvt:comment> | |
| <mvt:assign name="g.endpoint" value ="'https://version9.mivamerchant.net/mm5/json.mvc'" /> | |
| <mvt:assign name="g.access_token" value ="''" /> | |
| <mvt:assign name="g.signature" value ="crypto_base64_decode('')" /> | |
| <mvt:assign name="g.timestamp" value="' \"Miva_Request_Timestamp\" : ' $ '\"' $ s.time_t $ '\",' " /> | |
| <mvt:comment> | |
| GLOBAL Setup | |
| | 1) File Settings | |
| | 2) Initial File Handling | |
| | - Set Offset / Per Page Variables | |
| | - Delete Existing File (if EXISTS) | |
| | 3) Special Character Reference Variables | |
| ======================================== | |
| </mvt:comment> | |
| <mvt:comment> =1 File Settings </mvt:comment> |
| <Provision oncomplete="archive|delete"> | |
| <Domain> | |
| <Store_Create> | |
| <Code>GES</Code> | |
| <Name>Garth's Equipment Shoppe</Name> | |
| <Manager>admin</Manager> | |
| <LicenseNumber>mvsup-3NMBCP01101</LicenseNumber> | |
| <Owner>McCollough Enterprises</Owner> | |
| <Email>noreply@miva.com</Email> | |
| <Company>miva test</Company> |
| *****ACLN***** | |
| <mvt:comment>Upon login, read custom field that holds their recently viewed item codes. Then save this value to basket session field for use to display recently viewed items.</mvt:comment> | |
| <mvt:if expr="g.Action EQ 'LOGN'"> | |
| <mvt:item name="customfields" param="Read_Customer_ID( g.customer:id, 'recentlyViewed', l.settings:recentlyViewed )" /> | |
| <mvt:item name="customfields" param="Write_Basket( 'recentlyViewed', l.settings:recentlyViewed )" /> | |
| </mvt:if> |
| <?php | |
| /** | |
| * @author Ivan Melgrati | |
| * @copyright 2018 | |
| */ | |
| function YouTube_Check_ID($videoID) | |
| { | |
| $is_valid = true; |