{
  "info": {
    "name": "API Sport Online Collection",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Leagues",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "x-api-key",
            "value": "{{api_key}}",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/leagues",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "leagues"
          ]
        }
      }
    },
    {
      "name": "Fixtures",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "x-api-key",
            "value": "{{api_key}}",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/fixtures?date=2024-05-15",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "fixtures"
          ],
          "query": [
            {
              "key": "date",
              "value": "2024-05-15"
            }
          ]
        }
      }
    },
    {
      "name": "Live Fixtures",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "x-api-key",
            "value": "{{api_key}}",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/fixtures/live",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "fixtures",
            "live"
          ]
        }
      }
    },
    {
      "name": "Standings",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "x-api-key",
            "value": "{{api_key}}",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/standings?league=premier-league",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "standings"
          ],
          "query": [
            {
              "key": "league",
              "value": "premier-league"
            }
          ]
        }
      }
    },
    {
      "name": "Odds",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "x-api-key",
            "value": "{{api_key}}",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/odds?fixtureId=12345",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "odds"
          ],
          "query": [
            {
              "key": "fixtureId",
              "value": "12345"
            }
          ]
        }
      }
    }
  ],
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.apisport.online",
      "type": "string"
    },
    {
      "key": "api_key",
      "value": "YOUR_API_KEY",
      "type": "string"
    }
  ]
}