{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/entertainment:sportsdata-nhl-v3-play-by-play/play-by-play":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_play_by_play_play_by_play","summary":"Play By Play","description":"GET /{format}/PlayByPlay/{gameid}","tags":["entertainment"],"x-apizie-access":"read","parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"gameid","in":"query","required":true,"description":"The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905","schema":{"type":"string","description":"The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-nhl-v3-play-by-play/play-by-play-delta":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_play_by_play_play_by_play_delta","summary":"Play By Play Delta","description":"GET /{format}/PlayByPlayDelta/{date}/{minutes}","tags":["entertainment"],"x-apizie-access":"read","parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"date","in":"query","required":true,"description":"The date of the game(s). Examples: 2018-JAN-31 , 2017-OCT-01 .","schema":{"type":"string","description":"The date of the game(s). Examples: 2018-JAN-31 , 2017-OCT-01 ."}},{"name":"minutes","in":"query","required":true,"description":"Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 , 2 ...…","schema":{"type":"string","description":"Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 , 2 ...…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}