1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "bulk",
10 "bookmakers": ["linebet"],
11 "feeds": ["prematch"],
12 "eventUrls": [
13 "https://melbet.com/service-api/LineFeed/GetGameZip?id=767709766&lng=en&isSubGames=true&GroupEvents=true&countevents=250&grMode=4",
14 "https://melbet.com/service-api/main-line-feed/v3/games1x2?cfView=3&count=2&fcountry=4&gr=650&grMode=4&lng=en&ref=189&selectedMs=1.1,2.1,10.1",
15 "https://linebet.com/en/line/football/2979441-australia-a-league-women/768728649-melbourne-city-women-newcastle-jets-women",
16 ],
17 "eventsPerRequest": 40,
18 "maxEvents": 0,
19 "proxy": { "useApifyProxy": True },
20}
21
22
23run = client.actor("abotapi/sportsbook-odds-scraper").call(run_input=run_input)
24
25
26print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
27for item in client.dataset(run.default_dataset_id).iterate_items():
28 print(item)
29
30