propline 0.73.0 → 0.73.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 +5 -5
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -522,7 +522,7 @@ const r = await client.getGolfRounds("Scottie Scheffler", { tour: "pga" });
|
|
|
522
522
|
console.log(r.summary.last_10.avg_strokes);
|
|
523
523
|
```
|
|
524
524
|
|
|
525
|
-
### Get resolved prop outcomes (
|
|
525
|
+
### Get resolved prop outcomes (Hobby+ full, Free 403)
|
|
526
526
|
|
|
527
527
|
```ts
|
|
528
528
|
const results = await client.getResults("baseball_mlb", 16, {
|
|
@@ -776,7 +776,7 @@ for (const p of res.players) {
|
|
|
776
776
|
Pass a `player_id` anywhere a player name is accepted in `getPlayerHistory` /
|
|
777
777
|
`getPlayerTrends`; both responses carry `player_id`.
|
|
778
778
|
|
|
779
|
-
### Get player prop history (
|
|
779
|
+
### Get player prop history (Hobby+ full, Free redacted)
|
|
780
780
|
|
|
781
781
|
```ts
|
|
782
782
|
// "Did Bryan Woo go over/under his last 10 strikeout props?"
|
|
@@ -828,7 +828,7 @@ game with a box score on file — including games no sportsbook priced. A "last
|
|
|
828
828
|
games" window here really is the last 10 games. Carries no line, price or grade;
|
|
829
829
|
use `getPlayerTrends` for hit rates against a posted line.
|
|
830
830
|
|
|
831
|
-
### Get player trends (
|
|
831
|
+
### Get player trends (Hobby+ full, Free redacted)
|
|
832
832
|
|
|
833
833
|
```ts
|
|
834
834
|
// Rolling over/under hit-rates per market: last 5/10/20/50 graded games,
|
|
@@ -849,7 +849,7 @@ for (const m of trends.markets) {
|
|
|
849
849
|
// Output: "batter_total_bases: recent line 1.5, avg 2.02 (last 10 over 30%, streak 2 under)"
|
|
850
850
|
```
|
|
851
851
|
|
|
852
|
-
### Cross-book +EV (
|
|
852
|
+
### Cross-book +EV (Hobby+ full, Free redacted)
|
|
853
853
|
|
|
854
854
|
```ts
|
|
855
855
|
// Find +EV plays on a single event. A sharp book anchors the no-vig
|
|
@@ -938,7 +938,7 @@ quotes aren't independently bettable payouts; Underdog is included only
|
|
|
938
938
|
at clean two-way lines. Each price carries `last_update` so you can
|
|
939
939
|
discount stale quotes.
|
|
940
940
|
|
|
941
|
-
### Bulk CSV export of resolved props (Pro)
|
|
941
|
+
### Bulk CSV export of resolved props (Pro+)
|
|
942
942
|
|
|
943
943
|
```ts
|
|
944
944
|
// Save every resolved MLB strikeout prop since April 1st to disk.
|
package/dist/index.cjs
CHANGED
|
@@ -579,7 +579,7 @@ var PropLine = class {
|
|
|
579
579
|
/**
|
|
580
580
|
* Get resolved prop outcomes with actual player stats.
|
|
581
581
|
*
|
|
582
|
-
*
|
|
582
|
+
* Hobby+: full data. Free tier: 403 with an upgrade message.
|
|
583
583
|
*/
|
|
584
584
|
getResults(sport, eventId, options = {}) {
|
|
585
585
|
const params = {};
|
|
@@ -866,7 +866,7 @@ var PropLine = class {
|
|
|
866
866
|
* consensus we do carry.
|
|
867
867
|
*
|
|
868
868
|
* Same fair-line math as `getEventEv` (Pinnacle-preferred anchor,
|
|
869
|
-
* no-vig devigging) but takes one user price as input.
|
|
869
|
+
* no-vig devigging) but takes one user price as input. Hobby+ (403 on free).
|
|
870
870
|
*
|
|
871
871
|
* @example
|
|
872
872
|
* ```ts
|
|
@@ -1334,7 +1334,7 @@ var Bookmakers = {
|
|
|
1334
1334
|
POLYMARKET: "polymarket",
|
|
1335
1335
|
PRIZEPICKS: "prizepicks"
|
|
1336
1336
|
};
|
|
1337
|
-
var VERSION = "0.73.
|
|
1337
|
+
var VERSION = "0.73.1";
|
|
1338
1338
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1339
1339
|
0 && (module.exports = {
|
|
1340
1340
|
AuthError,
|