spinspots

v0.1.0
io.github.CloudCorpRecords/spinspots Checked 1 day ago Published 15 days ago

Outdoor table-tennis spots near a coordinate, spot details, and playing conditions.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find-spots

Find outdoor table-tennis spots near a coordinate. Returns the nearest spots with their distance and a citable url.

ParameterTypeDescription
lat *numberLatitude of the search centre
lng *numberLongitude of the search centre
limitnumberMaximum spots to return (default 10, max 50)
radiusKmnumberSearch radius in kilometres (default 5, max 100)

get-spot

Get one spot with details and nearby spots, by slug (preferred) or raw id.

ParameterTypeDescription
slugOrId *stringSpot slug from a leagueofspin.com/spots/{slug} url, or the raw spot id

playing-conditions

Current outdoor playing conditions (wind, temperature, precipitation) for a location. Wind is the decisive signal for outdoor table tennis.

ParameterTypeDescription
lat *numberLatitude
lng *numberLongitude