You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usingPinballApi;usingPinballApi.Models.WPPR.Universal.Rankings;varapi=newPinballRankingApi("YOUR_IFPA_API_KEY");// Player lookupvarplayer=awaitapi.GetPlayer(16927);Console.WriteLine($"{player.FirstName}{player.LastName} — Rank #{player.WpprRank}");// Tournament search near a locationvartournaments=awaitapi.TournamentSearch(latitude:41.8240,longitude:-71.4128,radius:50,distanceType:DistanceType.Miles,startDate:DateTime.Now,endDate:DateTime.Now.AddMonths(3));// RankingsvarwpprTop100=awaitapi.RankingSearch(RankingType.Wppr,count:100);varwomenTop50=awaitapi.RankingSearch(RankingType.Women,RankingSystem.Open,count:50);// Series (e.g. NACS)varregions=awaitapi.GetRegions("NACS",DateTime.Now.Year);varstandings=awaitapi.GetSeriesStandingsForRegion("NACS","RI",2024);// Directory datavarcountries=awaitapi.GetCountriesList();varstateProvs=awaitapi.GetStateProvList();
GetLeagues() — the endpoint (GET /tournament/leagues/{period}) is documented but was returning 404 at last check; method throws NotImplementedException.
GET /series/{code}/past_winners — used by GetSeriesWinners() but not in the official OpenAPI spec; works in practice.
Player search with multi-word names (e.g. "Julia Randall") may not work correctly — IFPA API limitation.
Director search by name is currently broken on the API side.
Legacy API Versions (v1, v2)
PinballRankingApiV1 and PinballRankingApiV2 wrap the older versioned IFPA endpoints. The IFPA team recommends migrating to the Universal (unversioned) API — these are no longer updated upstream. Use PinballRankingApi (Universal) for all new work.
About
C# / .NET wrapper around IFPA, OPDB, IPDB and Matchplay pinball data