janaina-s-dias / sportmonks

Custom library to access sportmonks API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sportmonks

Custom library to access sportmonks API

Table of contents

Usage

You only need obtain the SportmonksAPI instance and invoke requested method.

Example: Request all leagues SportMonksAPI.getInstance(SPORTMONKS_API_KEY).getLeagues();

Sportmonks API support

The available methods are:

  • getTodayMatches
  • getLiveMatches
  • getMatchesByDate
  • getMatchesByDateRange
  • getMatchesByDateRangeForTeam
  • getMatchesByMultipleIDs
  • getMatchDetail
  • getSeasons
  • getSeasonData
  • getMatchOdds
  • getMatchOddsByMarket
  • getTopScores
  • getAggregatedTopScores
  • getStandings
  • getCupStandings
  • getVenues
  • getTeams
  • getLeagues
  • getStages

See sportmonks documentacion for details

Add library in your project

Add jcenter repository

You should add jcenter repository in your project like:

<repositories>
  <repository>
    <id>central</id>
    <name>bintray</name>
    <url>http://jcenter.bintray.com</url>
  </repository>
</repositories>

Add dependency

<dependency>
  <groupId>com.kete</groupId>
  <artifactId>sportmonks.library</artifactId>
  <version>1.0.17</version>
  <type>pom</type>
</dependency>

Authors

Iván Morales

About

Custom library to access sportmonks API

License:Apache License 2.0


Languages

Language:Java 100.0%