Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
獲取體育相關市場分類
GET https://gamma-api.polymarket.com/sports
import requests response = requests.get('https://gamma-api.polymarket.com/sports') sports = response.json() for sport in sports: print(f"體育類別: {sport['label']}") print(f"市場數量: {sport['market_count']}")
[ { "slug": "nfl", "label": "NFL", "market_count": 150, "description": "美式足球聯盟市場" }, { "slug": "nba", "label": "NBA", "market_count": 120, "description": "NBA 籃球市場" } ]