@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Visual Crossing Weather API
@base https://weather.visualcrossing.com
@version 4.6
@endpoints 5
@toc VisualCrossingWebServices(5)

@endpoint GET /VisualCrossingWebServices/rest/services/timeline/{location}
@required {location: str, key: str}
@optional {contentType: str, unitGroup: str, include: str, lang: str}
@returns(200)

@endpoint GET /VisualCrossingWebServices/rest/services/timeline/{location}/{startdate}
@required {location: str, startdate: str, key: str}
@optional {contentType: str, unitGroup: str, include: str, lang: str}
@returns(200)

@endpoint GET /VisualCrossingWebServices/rest/services/timeline/{location}/{startdate}/{enddate}
@required {location: str, startdate: str, enddate: str, key: str}
@optional {contentType: str, unitGroup: str, include: str, lang: str}
@returns(200)

@endpoint GET /VisualCrossingWebServices/rest/services/weatherdata/forecast
@optional {sendAsDatasource: bool, allowAsynch: bool, shortColumnNames: bool, locations: str, aggregateHours: str, contentType: str, unitGroup: str, key: str}
@returns(200)

@endpoint GET /VisualCrossingWebServices/rest/services/weatherdata/history
@optional {maxDistance: str, shortColumnNames: bool, endDateTime: str, aggregateHours: str, collectStationContributions: bool, startDateTime: str, maxStations: str, allowAsynch: bool, locations: str, includeNormals: bool, contentType: str, unitGroup: str, key: str}
@returns(200)

@end
