GET My Leagues

https://api.sportmonks.com/v3/my/leagues

Parameters

Query Parameters
Required?
Description

api_token

YES

Your unique API token

include

NO

Enrich the API with more data by using includes

select

NO

Select specific fields on the base entity

other parameters

Pagination

NO

Include depth

You can use a total of 0 nested includes on this endpoint

Include options

none

Related Entities:

Not available

Code Example

require "uri"
require "net/http"

url = URI("https://api.sportmonks.com/v3/my/leagues?api_token={your_token}")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Get.new(url)

response = https.request(request)
puts response.read_body

Last updated