odds-api-io 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@ Official Node.js SDK for [**Odds-API.io**](https://odds-api.io) - Real-time spor
|
|
|
13
13
|
- 📊 **Comprehensive Odds Data** - Real-time odds from 250+ bookmakers
|
|
14
14
|
- 💰 **Arbitrage Detection** - Find risk-free betting opportunities
|
|
15
15
|
- 📈 **Value Bets** - Identify positive expected value bets
|
|
16
|
+
- 📉 **Dropping Odds** - Track sharp bookmaker line movements
|
|
16
17
|
- 🔴 **Live Events** - Track in-play events and odds
|
|
17
18
|
- 🔍 **Advanced Search** - Search events, participants, and leagues
|
|
18
19
|
- ⚡ **TypeScript First** - Full type safety with TypeScript
|
|
@@ -148,6 +149,24 @@ valueBets.forEach(bet => {
|
|
|
148
149
|
});
|
|
149
150
|
```
|
|
150
151
|
|
|
152
|
+
### Tracking Dropping Odds
|
|
153
|
+
|
|
154
|
+
```typescript
|
|
155
|
+
// Find the biggest line movements from sharp bookmakers
|
|
156
|
+
const drops = await client.getDroppingOdds({
|
|
157
|
+
sport: 'football',
|
|
158
|
+
market: 'ML',
|
|
159
|
+
minDrop: 10,
|
|
160
|
+
sort: 'recent',
|
|
161
|
+
includeEventDetails: true
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
drops.forEach(drop => {
|
|
165
|
+
console.log(`${drop.event?.home} vs ${drop.event?.away}`);
|
|
166
|
+
console.log(`${drop.market.name} ${drop.betSide}: ${drop.odds.opening} → ${drop.odds.current} (↓${drop.odds.drop.sinceOpening}%)`);
|
|
167
|
+
});
|
|
168
|
+
```
|
|
169
|
+
|
|
151
170
|
### Working with Participants
|
|
152
171
|
|
|
153
172
|
```typescript
|
|
@@ -233,6 +252,7 @@ await client.clearSelectedBookmakers();
|
|
|
233
252
|
|--------|-------------|------|
|
|
234
253
|
| `getArbitrageBets(params)` | Find arbitrage opportunities | [Docs](https://docs.odds-api.io/api-reference/arbitrage-bets/get-arbitrage-betting-opportunities) |
|
|
235
254
|
| `getValueBets(params)` | Find value bets | [Docs](https://docs.odds-api.io/api-reference/value-bets/get-value-bets) |
|
|
255
|
+
| `getDroppingOdds(params)` | Track sharp bookmaker line movements | [Docs](https://docs.odds-api.io/api-reference/dropping-odds/get-dropping-odds) |
|
|
236
256
|
|
|
237
257
|
## Error Handling
|
|
238
258
|
|
|
@@ -296,6 +316,7 @@ import type {
|
|
|
296
316
|
HistoricalEventOdds,
|
|
297
317
|
ArbitrageBet,
|
|
298
318
|
ValueBet,
|
|
319
|
+
DroppingOddsEntry,
|
|
299
320
|
GetEventsParams,
|
|
300
321
|
GetHistoricalEventsParams,
|
|
301
322
|
GetHistoricalOddsParams
|