Leagues Dictionary Updated: (04.Jan.2022)
You need token(which expires in 5 min) which you get from step 1,
and also add that token to your query explained in
Generate Token
Then you can send GET request with required TOKEN parameter.
(Get leagues)
https://services.geniusfeeds.live/v2/dictionaries/leagues
(Get leagues by id)
https://services.geniusfeeds.live/v2/dictionaries/leagues/id
When you register to our
webhook service we will inform
you if there is change in leagues dictionary.
Optional Filters: (Parameters)
-
"s" by Sport Id of League exp:
https://services.geniusfeeds.live/v2/dictionaries/leagues?s=1
-
"c" by Country Id of League exp:
https://services.geniusfeeds.live/v2/dictionaries/leagues?c=14
-
"p" by Priorityof League exp:
https://services.geniusfeeds.live/v2/dictionaries/leagues?s=0
-
"t" You can select data newer than your filter date: Format
either yyyy-mm-ddThh:mm:ss(ex 2018-02-24T06:44:16) Or Unix
Timestamp
Explanations
| Parameter | Description |
|---|---|
| t | Updated or Inserted Time |
| i | League Id |
| n | League name |
| s | Sport Id |
| c | Country Id |
| tg | TAG |
| prc | League Priority |
| __v | Version of service |
Response
[
{
"t": "2018-02-24T06:44:16.000Z", //updated or inserted time
"i": 3, //id of league
"n": "Kategoria e Pare", //name of league
"s": 1, //Sport Id of league
"c": 149, //Country Id of League
"tg": "1", //Tag
"prc": 3, //Priority of League
"__v": 1
}
]
Postman Token Adding(Bearer+" "+YourToken)
Example:(change Dictionary service in URL)
Postman Example:(Check Optional Parametres)