Skip to content

Commit d649c0e

Browse files
Update and rename src/content/configuration/index.mdx to src/content/configur
1 parent cecc48f commit d649c0e

File tree

2 files changed

+87
-78
lines changed

2 files changed

+87
-78
lines changed

src/content/configur

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
import requests
2+
import time
3+
from collections import Counter
4+
5+
# === CONFIGURATION ===
6+
API_URL = "https://okwin.login.uk.com/api/game/wingo/latest" # Example, update as needed
7+
8+
AUTH_HEADERS = {
9+
'User-Agent': 'Mozilla/5.0',
10+
'Cookie': 'sessionid=YOUR_SESSION_ID',
11+
'Authorization': 'Bearer YOUR_TOKEN' # Optional
12+
}
13+
14+
# === FUNCTIONS ===
15+
16+
def fetch_latest_result():
17+
try:
18+
response = requests.get(API_URL, headers=AUTH_HEADERS)
19+
if response.status_code == 200:
20+
return response.json()
21+
else:
22+
print("Error:", response.status_code)
23+
except Exception as e:
24+
print("Exception:", e)
25+
return None
26+
27+
28+
def analyze_results(history):
29+
big_small_seq = [res['result'] for res in history]
30+
color_seq = [res['color'] for res in history]
31+
number_seq = [res['number'] for res in history]
32+
33+
print("\n📊 Analysis of Last Results:")
34+
print("Big/Small Counts:", Counter(big_small_seq))
35+
print("Color Counts:", Counter(color_seq))
36+
print("Most Common Number:", Counter(number_seq).most_common(3))
37+
38+
# Detect Streaks
39+
streak = 1
40+
prev = big_small_seq[0]
41+
for val in big_small_seq[1:]:
42+
if val == prev:
43+
streak += 1
44+
else:
45+
break
46+
print(f"🔥 Current '{prev}' streak: {streak} times")
47+
48+
# Suggestion
49+
if streak >= 2:
50+
suggestion = 'Small' if prev == 'Big' else 'Big'
51+
print("🔮 Suggested Bet (based on streak flip):", suggestion)
52+
else:
53+
print("🔮 Suggested Bet: No strong trend")
54+
55+
56+
def run_monitor():
57+
print("🔁 Fetching Wingo 1-min results...")
58+
last_period = None
59+
result_history = []
60+
61+
while True:
62+
data = fetch_latest_result()
63+
if data:
64+
period = data.get("period")
65+
number = data.get("number")
66+
result = data.get("result")
67+
color = data.get("color")
68+
69+
if period != last_period:
70+
last_period = period
71+
result_history.insert(0, {
72+
"period": period,
73+
"number": number,
74+
"result": result,
75+
"color": color
76+
})
77+
print(f"\n🕒 Period: {period}")
78+
print(f"🎲 Number: {number} → {result}")
79+
print(f"🎨 Color: {color}")
80+
analyze_results(result_history[:10]) # Analyze last 10 results
81+
82+
time.sleep(10) # Wait before checking again
83+
84+
# === MAIN ===
85+
if __name__ == "__main__":
86+
run_monitor()
87+

src/content/configuration/index.mdx

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)