Download the PHP package tetzilla/sportmonks-football-api without Composer
On this page you can find all versions of the php package tetzilla/sportmonks-football-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tetzilla/sportmonks-football-api
More information about tetzilla/sportmonks-football-api
Files in tetzilla/sportmonks-football-api
Package sportmonks-football-api
Short Description Simple SportMonks Football API Client for PHP
License MIT
Informations about the package sportmonks-football-api
Sportmonks Football API PHP Client
PHP Library for Sportmonks Soccer API v3. Developed by https://github.com/joesaunderson/sportmonks-soccer.
Prerequisites
PHP >= 7.3
Installation
Setup
The API Client relies on Environment variables for configuration (setting API token & timezone).
Prerequisites
PHP >= 7.3
Install:
Usage:
An example .env file:
Usage
Pagination, Filtering, Sorting & Data Enrichment
The Sportmonks API allows for advanced filtering and sorting, as well as adding data via relationships. This client supports the following:
Pagination
Note: The pagination ($response['pagination']
) can be used to loop through pages and build a result set.
Includes
Filtering
Entity filter
Deleted filter
Populate filter
Note: This client will not validate the usage for the correct endpoints and will not throw an error. Refer to the Sportmonks docs to see which endpoints support the above parameters.
Full Endpoint Examples
Livescores
Get all - View Sportmonks Docs
Get all inplay - View Sportmonks Docs
Get latest - View Sportmonks Docs
Fixtures
Get all - View Sportmonks Docs
Get by Id - View Sportmonks Docs
Get by multiple ids - View Sportmonks Docs
Get by date - View Sportmonks Docs
Get by date range - View Sportmonks Docs
Get by date range for team - View Sportmonks Docs
Get by head to head - View Sportmonks Docs
Get upcoming by market id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Get last updated - View Sportmonks Docs
States
Get all states - View Sportmonks Docs
Get by id - View Sportmonks Docs
Leagues
Get all - View Sportmonks Docs
Get by Id - View Sportmonks Docs
Get by live - View Sportmonks Docs
Get by fixture date - View Sportmonks Docs
Get by country id- View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Get all by team id - View Sportmonks Docs
Get current by team id - View Sportmonks Docs
Seasons
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by team id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Schedules
Get by season id - View Sportmonks Docs
Get by season id - View Sportmonks Docs
Get by season id and team id - View Sportmonks Docs
Stages
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by season id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Rounds
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by season id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Standings
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by round id - View Sportmonks Docs
Get corrections by season id - View Sportmonks Docs
Get live standings by league id - View Sportmonks Docs
Topscorers
Get all by season id - View Sportmonks Docs
Get all by stage id - View Sportmonks Docs
Teams
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by country id - View Sportmonks Docs
Get by season id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Team Squads
Get by team id - View Sportmonks Docs
Get by team id and season id - View Sportmonks Docs
Players
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by country id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Get last updated - View Sportmonks Docs
Coaches
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by country id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Get last updated - View Sportmonks Docs
Referees
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by country id - View Sportmonks Docs
Get by season id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
Transfers
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get latest - View Sportmonks Docs
Get between date range - View Sportmonks Docs
Get by team id - View Sportmonks Docs
Get by player id - View Sportmonks Docs
Venues
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by season id - View Sportmonks Docs
Get by search by name - View Sportmonks Docs
TV Stations
Get all - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by fixture id - View Sportmonks Docs
Predictions
Get predictability - View Sportmonks Docs
Get predictability by league id - View Sportmonks Docs
Get predictability by fixture id - View Sportmonks Docs
Get value bets - View Sportmonks Docs
Pre-match Odds
Get all - View Sportmonks Docs
Get by fixture id - View Sportmonks Docs
Get by fixture id and bookmaker id - View Sportmonks Docs
Get by fixture id and market id - View Sportmonks Docs
Get last updated - View Sportmonks Docs
Inplay Odds
Get all - View Sportmonks Docs
Get by fixture id - View Sportmonks Docs
Get by fixture id and bookmaker id - View Sportmonks Docs
Get by fixture id and market id - View Sportmonks Docs
Get last updated - View Sportmonks Docs
Markets
Get all - View Sportmonks Docs
Get by market id - View Sportmonks Docs
Get by search - View Sportmonks Docs
Bookmakers
Get all - View Sportmonks Docs
Get by bookmaker id - View Sportmonks Docs
Get by search - View Sportmonks Docs
Get by market id - View Sportmonks Docs
News
Get pre-match news - View Sportmonks Docs
Get by season id - View Sportmonks Docs
Get pre-match news for upcoming fixtures - View Sportmonks Docs
Rivals
Get all rivales - View Sportmonks Docs
Get by team id - View Sportmonks Docs
Commentaries
Get all commentaries - View Sportmonks Docs
Get by team id - View Sportmonks Docs
Core Endpoints
Core contains all endpoints that are used in all sports.
Continents 🗺️
Get all continents - View Sportmonks Docs
Get by id - View Sportmonks Docs
Countries
Get all countries - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by search - View Sportmonks Docs
Regions
Get all regions - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by search - View Sportmonks Docs
Cities 🏙️
Get all cities - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by search - View Sportmonks Docs
Types ⌨️
Get all types - View Sportmonks Docs
Get by id - View Sportmonks Docs
Get by Entity - View Sportmonks Docs
Filters ⚙️
Get all entity - View Sportmonks Docs
My Sportmonks
Retrieve information about your subscription.