Indietro

#league

2 APIs con questa etichetta

Tennis Score API

Tennis-Scoring-Mathematik als API, lokal und deterministisch berechnet – die Game-, Set- und Match-Logik, auf der eine Scoring-App, ein Schiedsrichter-Tool oder eine Tennisliga basiert. Der Game-Endpunkt spielt ein Game aus einer Sequenz, wer jeden Punkt gewonnen hat, und gibt das korrekte Tennis-Scoring zurück: Punkte laufen 0, 15, 30, 40 und dann Game, aber bei 40-40 ist es Einstand und ein Spieler muss mit zwei Punkten führen – Vorteil, dann Game – also ist a,a,a,a 40-0 und ein Sieg, während drei-gleich Einstand ist; ein Tiebreak-Flag zählt bis sieben mit zwei Punkten Vorsprung (und geht bei 7-7 weiter). Der Set-Endpunkt liest ein Set aus den Games, die jeder Spieler gewonnen hat: Ein Set ist bei sechs Games mit zwei Games Vorsprung gewonnen, 6-6 löst einen Tiebreak aus, der mit 7-6 endet, und 7-5 gewinnt, wenn ein Spieler zuerst in Führung geht. Der Match-Endpunkt entscheidet das Match aus den gewonnenen Sets – Best-of-Three wird durch zwei Sets entschieden, Best-of-Five durch drei – und sagt den Gewinner in dem Moment, in dem er erreicht ist. Alles wird lokal und deterministisch berechnet, daher ist es sofortig und privat. Ideal für Entwickler von Tennis-, Racketsport-, Scoring-, Schiedsrichter- und Liga-Apps, Scoreboard- und Live-Scoring-Tools sowie Club-Software. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofortig. Scoring-Logik, keine Analysen. Live, nichts wird gespeichert. 3 Compute-Endpunkte.

api.oanor.com/tennis-api

Bowling Score API

Ten-pin bowling maths as an API, computed locally and deterministically — the scoring, handicap and average numbers a bowler, league or scoring app runs on. The score endpoint plays a full game from a comma list of the pins knocked down on each roll and applies the real rules: a strike scores 10 plus your next two rolls, a spare 10 plus the next one, an open frame just the pins, with the 10th frame’s bonus rolls handled — so twelve strikes is a perfect 300, twenty 9-then-miss frames are 90, and all spares with a 5 bonus is 150, returned frame by frame with the running total. The handicap endpoint levels a league: handicap per game = ⌊(basis − average) × percent⌋, never below zero, so a 150 average on the common 90 %-of-220 setup earns 63 pins a game and 189 over a three-game series. The average endpoint divides total pins by games (dropping the fraction, as leagues do), rolls in a new series to update it, and works out the pins you need over the next games to reach a target average. Everything is computed locally and deterministically, so it is instant and private. Ideal for bowling-league, scoring, sports and recreation app developers, scorekeeping and handicap tools, and centre-management software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints.

api.oanor.com/bowling-api