# Fantasy Spin


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of Fantasy spin blueprint's

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints?per_page=15&search=NFL+Spin&sort_field=id&sort_method=desc&page=2&is_active=1&is_settled=1&is_featured_contest=1&game_id=1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Fantasy Spin Blueprints List",
    "data": {
        "fantasy_spin_blueprints": {
            "current_page": 1,
            "data": [
                {
                    "id": 32,
                    "name": "Pittsburgh Steelers vs New England Patriots",
                    "slate": "Pittsburgh Steelers vs New England Patriots",
                    "currency_type": 20,
                    "game_id": 1,
                    "buy_in": 25,
                    "payout": 100,
                    "opens_at": "2023-12-06 00:00:00",
                    "closes_at": "2023-12-08 00:00:00",
                    "size_of_player_pool": 200,
                    "number_of_entrants": 100,
                    "number_of_entries_per_user": 10,
                    "number_of_spins": 6,
                    "number_of_locks": 6,
                    "instant_win_currency": 20,
                    "instant_win_pay_out": 25,
                    "positions": [
                        {
                            "position": "QB",
                            "quantity": 1
                        },
                        {
                            "position": "RB",
                            "quantity": 1
                        },
                        {
                            "position": "WR",
                            "quantity": 1
                        },
                        {
                            "position": "TE",
                            "quantity": 1
                        },
                        {
                            "position": "K",
                            "quantity": 1
                        },
                        {
                            "position": "FLEX",
                            "quantity": 1
                        },
                        {
                            "position": "SFLX",
                            "quantity": 1
                        }
                    ],
                    "game_dates": [
                        "2023-12-07"
                    ],
                    "is_active": 1,
                    "created_at": "2023-12-07T13:15:23.000000Z",
                    "updated_at": "2023-12-07T13:15:23.000000Z",
                    "created_by": 1,
                    "updated_by": 0,
                    "total_positions": 7,
                    "game": {
                        "id": 1,
                        "name": "NFL"
                    }
                }
            ],
            "first_page_url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&is_settled=&game_id=&page=1",
            "from": 1,
            "last_page": 2,
            "last_page_url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&is_settled=&game_id=&page=2",
            "links": [
                {
                    "url": null,
                    "label": "pagination.previous",
                    "active": false
                },
                {
                    "url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&is_settled=&game_id=&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&is_settled=&game_id=&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&is_settled=&game_id=&page=2",
                    "label": "pagination.next",
                    "active": false
                }
            ],
            "next_page_url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&is_settled=&game_id=&page=2",
            "path": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints",
            "per_page": 10,
            "prev_page_url": null,
            "to": 10,
            "total": 17
        }
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ],
        "sort_field": [
            "The selected sort field is invalid."
        ],
        "sort_method": [
            "The selected sort method is invalid."
        ],
        "is_active": [
            "The selected is active is invalid."
        ]
    }
}
```
<div id="execution-results-GETfantasy-spin-blueprints" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-blueprints"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-blueprints"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-blueprints" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-blueprints"></code></pre>
</div>
<form id="form-GETfantasy-spin-blueprints" data-method="GET" data-path="fantasy-spin-blueprints" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-blueprints', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-blueprints" onclick="tryItOut('GETfantasy-spin-blueprints');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-blueprints" onclick="cancelTryOut('GETfantasy-spin-blueprints');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-blueprints" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-blueprints</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-blueprints" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-blueprints" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10.
</p>
<p>
<b><code>search</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="search" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Search string. Search will be performed in name.
</p>
<p>
<b><code>sort_field</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_field" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Sort by field.
</p>
<p>
<b><code>sort_method</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_method" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Sort by method. Possible values: asc, desc.
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Page number.
</p>
<p>
<b><code>is_active</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_active" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Possible values: 0 (Inactive), 1 (Active).
</p>
<p>
<b><code>is_settled</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_settled" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Possible values: 0 (No), 1 (Yes).
</p>
<p>
<b><code>is_featured_contest</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_featured_contest" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Possible values: 0 (No), 1 (Yes).
</p>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="game_id" data-endpoint="GETfantasy-spin-blueprints" data-component="query"  hidden>
<br>
Game ID.
</p>
</form>


## Create

<small class="badge badge-darkred">requires authentication</small>

Use this end point to create a fantasy spin

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/store" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"game_id":1,"name":"Pittsburgh Steelers vs New England Patriots","slate":"Pittsburgh Steelers vs New England Patriots","currency_type":30,"buy_in":2,"payout":5,"opens_at":"2022-11-30 10:00:00","closes_at":"2022-11-30 11:00:00","number_of_entrants":100,"number_of_entries_per_user":10,"number_of_locks":6,"number_of_spins":4,"instant_win_currency":30,"instant_win_pay_out":5,"is_active":1,"is_instant_win":1,"is_regenerate":1,"is_beginner_contest":1,"game_dates":"ipsa","positions":"fuga","games":"hic"}'

```


> Example response (200):

```json
{
    "message": "Fantasy spin created successfully"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "game_id": [
        "Players insufficient for position QB"
    ]
}
```
<div id="execution-results-POSTfantasy-spin-blueprints-store" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTfantasy-spin-blueprints-store"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTfantasy-spin-blueprints-store"></code></pre>
</div>
<div id="execution-error-POSTfantasy-spin-blueprints-store" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTfantasy-spin-blueprints-store"></code></pre>
</div>
<form id="form-POSTfantasy-spin-blueprints-store" data-method="POST" data-path="fantasy-spin-blueprints/store" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTfantasy-spin-blueprints-store', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTfantasy-spin-blueprints-store" onclick="tryItOut('POSTfantasy-spin-blueprints-store');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTfantasy-spin-blueprints-store" onclick="cancelTryOut('POSTfantasy-spin-blueprints-store');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTfantasy-spin-blueprints-store" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>fantasy-spin-blueprints/store</code></b>
</p>
<p>
<label id="auth-POSTfantasy-spin-blueprints-store" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTfantasy-spin-blueprints-store" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="game_id" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Game ID: 1 (NFL), 2 (NBA), 3 (MLB), 4 (NHL).
</p>
<p>
<b><code>name</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="name" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Name of the fantasy spin.
</p>
<p>
<b><code>slate</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="slate" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Name of the fantasy spin.
</p>
<p>
<b><code>currency_type</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="currency_type" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Currency type, 20 (coins), 30 (Cash).
</p>
<p>
<b><code>buy_in</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="buy_in" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Buy-in.
</p>
<p>
<b><code>payout</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="payout" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Payout.
</p>
<p>
<b><code>opens_at</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="opens_at" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Opens at date and time. Date format: YYYY-MM-DD HH:II:SS.
</p>
<p>
<b><code>closes_at</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="closes_at" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Closes at date and time. Date format: YYYY-MM-DD HH:II:SS.
</p>
<p>
<b><code>number_of_entrants</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="number_of_entrants" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Number of entrants.
</p>
<p>
<b><code>number_of_entries_per_user</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="number_of_entries_per_user" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Number of entries per user.
</p>
<p>
<b><code>number_of_locks</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="number_of_locks" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Number of locks.
</p>
<p>
<b><code>number_of_spins</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="number_of_spins" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Number of spins.
</p>
<p>
<b><code>instant_win_currency</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="instant_win_currency" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Instant Win Currency type, 20 (coins), 30 (Cash).
</p>
<p>
<b><code>instant_win_pay_out</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="instant_win_pay_out" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Instant Win Payout.
</p>
<p>
<b><code>is_active</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_active" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
0 (Inactive), 1 (Active).
</p>
<p>
<b><code>is_instant_win</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_instant_win" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
0 (No), 1 (Yes).
</p>
<p>
<b><code>is_regenerate</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_regenerate" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
0 (No), 1 (Yes), 2(Regenerate X Times).
</p>
<p>
<b><code>is_beginner_contest</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_beginner_contest" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
0 (No), 1 (Yes).
</p>
<p>
<b><code>game_dates</code></b>&nbsp;&nbsp;<small>array</small>  &nbsp;
<input type="text" name="game_dates" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body" required  hidden>
<br>
Game dates. Ex: "game_dates": [
      "2022-11-30",
      "2022-12-01"
  ]
</p>
<p>
<b><code>positions</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="positions" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body"  hidden>
<br>
Positions. Ex: "positions": [
      {
          "position": "QB",
          "quantity": 1
      },
      {
          "position": "RB",
          "quantity": 1
      },
      {
          "position": "WR",
          "quantity": 1
      },
      {
          "position": "TE",
          "quantity": 1
      },
      {
          "position": "FLEX",
          "quantity": 1
      },
      {
          "position": "SFLX",
          "quantity": 1
      }
  ]
</p>
<p>
<b><code>games</code></b>&nbsp;&nbsp;<small>array</small>     <i>optional</i> &nbsp;
<input type="text" name="games" data-endpoint="POSTfantasy-spin-blueprints-store" data-component="body"  hidden>
<br>
Games. Ex: "games": [
      "18104",
      "18105",
      "18111",
      "18106",
      "18107"
  ]
</p>

</form>


## Schedules

<small class="badge badge-darkred">requires authentication</small>

Use this end point to fetch all the games for the given sports and game dates

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/schedules" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"game_id":1,"game_dates":"error"}'

```


> Example response (200):

```json
{
    "message": "Schedules",
    "data": {
        "schedules": [
            {
                "schedule_id": 20948,
                "schedule_date_time": "11\/28 Tue @ 07:00 PM",
                "schedule_name": "Devils vs Islanders",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20950,
                "schedule_date_time": "11\/28 Tue @ 07:00 PM",
                "schedule_name": "Maple Leafs vs Panthers",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20949,
                "schedule_date_time": "11\/28 Tue @ 07:30 PM",
                "schedule_name": "Flyers vs Hurricanes",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20951,
                "schedule_date_time": "11\/28 Tue @ 08:00 PM",
                "schedule_name": "Predators vs Penguins",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20952,
                "schedule_date_time": "11\/28 Tue @ 08:00 PM",
                "schedule_name": "Jets vs Stars",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20953,
                "schedule_date_time": "11\/28 Tue @ 08:00 PM",
                "schedule_name": "Wild vs Blues",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20954,
                "schedule_date_time": "11\/28 Tue @ 08:30 PM",
                "schedule_name": "Blackhawks vs Kraken",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20955,
                "schedule_date_time": "11\/28 Tue @ 09:00 PM",
                "schedule_name": "Oilers vs Golden Knights",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20956,
                "schedule_date_time": "11\/28 Tue @ 09:00 PM",
                "schedule_name": "Coyotes vs Lightning",
                "schedule_status": "Scheduled"
            },
            {
                "schedule_id": 20957,
                "schedule_date_time": "11\/28 Tue @ 10:00 PM",
                "schedule_name": "Canucks vs Ducks",
                "schedule_status": "Scheduled"
            }
        ]
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "game_id": [
            "The game id field is required."
        ],
        "game_dates": [
            "The game dates field is required."
        ]
    }
}
```
<div id="execution-results-POSTfantasy-spin-blueprints-schedules" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTfantasy-spin-blueprints-schedules"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTfantasy-spin-blueprints-schedules"></code></pre>
</div>
<div id="execution-error-POSTfantasy-spin-blueprints-schedules" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTfantasy-spin-blueprints-schedules"></code></pre>
</div>
<form id="form-POSTfantasy-spin-blueprints-schedules" data-method="POST" data-path="fantasy-spin-blueprints/schedules" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTfantasy-spin-blueprints-schedules', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTfantasy-spin-blueprints-schedules" onclick="tryItOut('POSTfantasy-spin-blueprints-schedules');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTfantasy-spin-blueprints-schedules" onclick="cancelTryOut('POSTfantasy-spin-blueprints-schedules');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTfantasy-spin-blueprints-schedules" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>fantasy-spin-blueprints/schedules</code></b>
</p>
<p>
<label id="auth-POSTfantasy-spin-blueprints-schedules" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTfantasy-spin-blueprints-schedules" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="game_id" data-endpoint="POSTfantasy-spin-blueprints-schedules" data-component="body" required  hidden>
<br>
Game ID: 1 (NFL), 2 (NBA), 3 (MLB), 4 (NHL).
</p>
<p>
<b><code>game_dates</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="game_dates" data-endpoint="POSTfantasy-spin-blueprints-schedules" data-component="body" required  hidden>
<br>
Game dates. Ex: "game_dates": [
      "2022-11-30",
      "2022-12-01"
  ]
</p>

</form>


## Players

<small class="badge badge-darkred">requires authentication</small>

Use this end point to fetch all the players for the given sports and sports data game ID

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/players" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"game_id":1,"sportsdata_game_ids":"saepe"}'

```


> Example response (200):

```json
{
    "message": "Players",
    "data": {
        "players": [
            {
                "sportsdata_player_id": 30000204,
                "name": "Kyle Palmieri",
                "headshot_high_resolution": "https:\/\/res.cloudinary.com\/dan8wilpz\/image\/upload\/c_fill,h_100,w_100\/headshots\/nhl\/kyle-palmieri-30000204-4523310f.png",
                "position": "C",
                "projection": 2.32,
                "team": "Islanders",
                "opponent": "Devils"
            },
            {
                "sportsdata_player_id": 30000276,
                "name": "Anders Lee",
                "headshot_high_resolution": "https:\/\/res.cloudinary.com\/dan8wilpz\/image\/upload\/c_fill,h_100,w_100\/headshots\/nhl\/anders-lee-30000276-dc00eb1b.png",
                "position": "C",
                "projection": 2.74,
                "team": "Islanders",
                "opponent": "Devils"
            },
            {
                "sportsdata_player_id": 30000285,
                "name": "Cal Clutterbuck",
                "headshot_high_resolution": "https:\/\/res.cloudinary.com\/dan8wilpz\/image\/upload\/c_fill,h_100,w_100\/headshots\/nhl\/cal-clutterbuck-30000285-8e880629.png",
                "position": "W",
                "projection": 0.88,
                "team": "Islanders",
                "opponent": "Devils"
            }
        ]
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "game_id": [
            "The game id field is required."
        ],
        "sportsdata_game_ids": [
            "The sportsdata game ids field is required."
        ]
    }
}
```
<div id="execution-results-POSTfantasy-spin-blueprints-players" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTfantasy-spin-blueprints-players"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTfantasy-spin-blueprints-players"></code></pre>
</div>
<div id="execution-error-POSTfantasy-spin-blueprints-players" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTfantasy-spin-blueprints-players"></code></pre>
</div>
<form id="form-POSTfantasy-spin-blueprints-players" data-method="POST" data-path="fantasy-spin-blueprints/players" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTfantasy-spin-blueprints-players', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTfantasy-spin-blueprints-players" onclick="tryItOut('POSTfantasy-spin-blueprints-players');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTfantasy-spin-blueprints-players" onclick="cancelTryOut('POSTfantasy-spin-blueprints-players');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTfantasy-spin-blueprints-players" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>fantasy-spin-blueprints/players</code></b>
</p>
<p>
<label id="auth-POSTfantasy-spin-blueprints-players" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTfantasy-spin-blueprints-players" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="game_id" data-endpoint="POSTfantasy-spin-blueprints-players" data-component="body" required  hidden>
<br>
Game ID: 1 (NFL), 2 (NBA), 3 (MLB), 4 (NHL).
</p>
<p>
<b><code>sportsdata_game_ids</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="sportsdata_game_ids" data-endpoint="POSTfantasy-spin-blueprints-players" data-component="body" required  hidden>
<br>
Sports Data Game ID. Ex: "sportsdata_game_ids": [
      20948,
      20950
  ]
</p>

</form>


## View

<small class="badge badge-darkred">requires authentication</small>

Use this end point to view a fantasy spin

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Fantasy Spin",
    "data": {
        "only_allow_edit_of_status": 1,
        "fantasy_spin_blueprint": {
            "id": 1,
            "name": "Pittsburgh Steelers vs New England Patriots",
            "slate": "Pittsburgh Steelers vs New England Patriots",
            "currency_type": 20,
            "game_id": 1,
            "buy_in": 25,
            "payout": 100,
            "opens_at": "2023-12-06 00:00:00",
            "closes_at": "2023-12-08 00:00:00",
            "size_of_player_pool": null,
            "number_of_entrants": 100,
            "number_of_entries_per_user": 10,
            "number_of_spins": 6,
            "number_of_locks": 6,
            "instant_win_currency": 20,
            "instant_win_pay_out": 25,
            "positions": [
                {
                    "position": "QB",
                    "quantity": 1
                },
                {
                    "position": "RB",
                    "quantity": 1
                },
                {
                    "position": "WR",
                    "quantity": 1
                },
                {
                    "position": "TE",
                    "quantity": 1
                },
                {
                    "position": "K",
                    "quantity": 1
                },
                {
                    "position": "FLEX",
                    "quantity": 1
                },
                {
                    "position": "SFLX",
                    "quantity": 1
                }
            ],
            "game_dates": [
                "2023-12-07"
            ],
            "is_active": 1,
            "created_at": "2023-12-06T13:32:57.000000Z",
            "updated_at": "2023-12-06T13:32:57.000000Z",
            "created_by": 1,
            "updated_by": 0,
            "total_positions": 7,
            "game": {
                "id": 1,
                "name": "NFL"
            }
        },
        "schedules": [
            {
                "schedule_id": 18541,
                "schedule_date_time": "12\/07 Thu @ 08:15 PM",
                "schedule_name": "Pittsburgh Steelers vs New England Patriots",
                "schedule_status": "Scheduled",
                "is_selected": 1
            }
        ],
        "players": [
            {
                "sportsdata_player_id": 18811,
                "name": "Mitch Trubisky",
                "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/18811.png",
                "sportsdata_game_id": 18541,
                "team": "Pittsburgh Steelers",
                "opponent": "New England Patriots",
                "is_selected": 1,
                "projection": 11.71,
                "core_position": "QB",
                "fantasy_spin_position": "QB",
                "fantasy_spin_position_rank": 1
            },
            {
                "sportsdata_player_id": 18811,
                "name": "Mitch Trubisky",
                "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/18811.png",
                "sportsdata_game_id": 18541,
                "team": "Pittsburgh Steelers",
                "opponent": "New England Patriots",
                "is_selected": 1,
                "projection": 11.71,
                "core_position": "QB",
                "fantasy_spin_position": "QB",
                "fantasy_spin_position_rank": 2
            }
        ]
    }
}
```
> Example response (404):

```json
{
    "message": "Fantasy spin not found!"
}
```
<div id="execution-results-GETfantasy-spin-blueprints--id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-blueprints--id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-blueprints--id-"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-blueprints--id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-blueprints--id-"></code></pre>
</div>
<form id="form-GETfantasy-spin-blueprints--id-" data-method="GET" data-path="fantasy-spin-blueprints/{id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-blueprints--id-', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-blueprints--id-" onclick="tryItOut('GETfantasy-spin-blueprints--id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-blueprints--id-" onclick="cancelTryOut('GETfantasy-spin-blueprints--id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-blueprints--id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-blueprints/{id}</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-blueprints--id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-blueprints--id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="id" data-endpoint="GETfantasy-spin-blueprints--id-" data-component="url" required  hidden>
<br>
Fantasy Spin Id.
</p>
</form>


## Update

<small class="badge badge-darkred">requires authentication</small>

Use this end point to update fantasy spin

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/update/officia" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"game_id":1,"name":"Pittsburgh Steelers vs New England Patriots","slate":"Pittsburgh Steelers vs New England Patriots","currency_type":30,"buy_in":2,"payout":5,"opens_at":"2022-11-30 10:00:00","closes_at":"2022-11-30 11:00:00","number_of_entrants":100,"number_of_entries_per_user":10,"number_of_locks":6,"number_of_spins":4,"instant_win_currency":30,"instant_win_pay_out":5,"is_active":1,"is_instant_win":1,"is_regenerate":1,"is_beginner_contest":1,"game_dates":"ut","positions":"recusandae","games":"voluptates"}'

```


> Example response (200):

```json
{
    "message": "Fantasy spin updated successfully"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "game_id": [
            "The game id field is required."
        ],
        "name": [
            "The name field is required."
        ],
        "slate": [
            "The slate field is required."
        ],
        "currency_type": [
            "The currency type field is required."
        ],
        "buy_in": [
            "The buy in field is required."
        ],
        "payout": [
            "The payout field is required."
        ],
        "opens_at": [
            "The opens at field is required."
        ],
        "closes_at": [
            "The closes at field is required."
        ],
        "number_of_entrants": [
            "The number of entrants field is required."
        ],
        "number_of_entries_per_user": [
            "The number of entries per user field is required."
        ],
        "number_of_locks": [
            "The number of locks field is required."
        ],
        "number_of_spins": [
            "The number of spins field is required."
        ],
        "instant_win_currency": [
            "The instant win currency field is required."
        ],
        "instant_win_pay_out": [
            "The instant win pay out field is required."
        ],
        "positions": [
            "The positions field is required."
        ],
        "game_dates": [
            "The game dates field is required."
        ],
        "games": [
            "The games field is required."
        ],
        "players": [
            "The players field is required."
        ],
        "is_active": [
            "The active\/inactive field is required"
        ]
    }
}
```
> Example response (403):

```json
{
    "message": "Access Forbidden"
}
```
<div id="execution-results-POSTfantasy-spin-blueprints-update--id-" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTfantasy-spin-blueprints-update--id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTfantasy-spin-blueprints-update--id-"></code></pre>
</div>
<div id="execution-error-POSTfantasy-spin-blueprints-update--id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTfantasy-spin-blueprints-update--id-"></code></pre>
</div>
<form id="form-POSTfantasy-spin-blueprints-update--id-" data-method="POST" data-path="fantasy-spin-blueprints/update/{id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTfantasy-spin-blueprints-update--id-', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTfantasy-spin-blueprints-update--id-" onclick="tryItOut('POSTfantasy-spin-blueprints-update--id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTfantasy-spin-blueprints-update--id-" onclick="cancelTryOut('POSTfantasy-spin-blueprints-update--id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTfantasy-spin-blueprints-update--id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>fantasy-spin-blueprints/update/{id}</code></b>
</p>
<p>
<label id="auth-POSTfantasy-spin-blueprints-update--id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>id</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="id" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="url" required  hidden>
<br>

</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="game_id" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Game ID: 1 (NFL), 2 (NBA), 3 (MLB), 4 (NHL).
</p>
<p>
<b><code>name</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="name" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Name of the fantasy spin.
</p>
<p>
<b><code>slate</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="slate" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Name of the fantasy spin.
</p>
<p>
<b><code>currency_type</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="currency_type" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Currency type, 20 (coins), 30 (Cash).
</p>
<p>
<b><code>buy_in</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="buy_in" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Buy-in.
</p>
<p>
<b><code>payout</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="payout" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Payout.
</p>
<p>
<b><code>opens_at</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="opens_at" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Opens at date and time. Date format: YYYY-MM-DD HH:II:SS.
</p>
<p>
<b><code>closes_at</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="closes_at" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Closes at date and time. Date format: YYYY-MM-DD HH:II:SS.
</p>
<p>
<b><code>number_of_entrants</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="number_of_entrants" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Number of entrants.
</p>
<p>
<b><code>number_of_entries_per_user</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="number_of_entries_per_user" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Number of entries per user.
</p>
<p>
<b><code>number_of_locks</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="number_of_locks" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Number of locks.
</p>
<p>
<b><code>number_of_spins</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="number_of_spins" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Number of spins.
</p>
<p>
<b><code>instant_win_currency</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="instant_win_currency" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Instant Win Currency type, 20 (coins), 30 (Cash).
</p>
<p>
<b><code>instant_win_pay_out</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="instant_win_pay_out" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Instant Win Payout.
</p>
<p>
<b><code>is_active</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_active" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body" required  hidden>
<br>
0 (Inactive), 1 (Active).
</p>
<p>
<b><code>is_instant_win</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_instant_win" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body" required  hidden>
<br>
0 (No), 1 (Yes).
</p>
<p>
<b><code>is_regenerate</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_regenerate" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body" required  hidden>
<br>
0 (No), 1 (Yes), 2(Regenerate X Times).
</p>
<p>
<b><code>is_beginner_contest</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_beginner_contest" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body" required  hidden>
<br>
0 (No), 1 (Yes).
</p>
<p>
<b><code>game_dates</code></b>&nbsp;&nbsp;<small>array</small>     <i>optional</i> &nbsp;
<input type="text" name="game_dates" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Game dates. Ex: "game_dates": [
      "2022-11-30",
      "2022-12-01"
  ]
</p>
<p>
<b><code>positions</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="positions" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Positions. Ex: "positions": [
      {
          "position": "QB",
          "quantity": 1
      },
      {
          "position": "RB",
          "quantity": 1
      },
      {
          "position": "WR",
          "quantity": 1
      },
      {
          "position": "TE",
          "quantity": 1
      },
      {
          "position": "FLEX",
          "quantity": 1
      },
      {
          "position": "SFLX",
          "quantity": 1
      }
  ]
</p>
<p>
<b><code>games</code></b>&nbsp;&nbsp;<small>array</small>     <i>optional</i> &nbsp;
<input type="text" name="games" data-endpoint="POSTfantasy-spin-blueprints-update--id-" data-component="body"  hidden>
<br>
Games. Ex: "games": [
      "18104",
      "18105",
      "18111",
      "18106",
      "18107"
  ]
</p>

</form>


## Open Constests (Admin)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get open fantasy spin contests (Admin)

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/14/open-contests?sort_field=inventore&sort_method=et" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Fantasy spin contests",
    "data": {
        "fantasy_spin_contests": {
            "current_page": 1,
            "data": [
                {
                    "name": "Cleveland Browns vs Chicago Bears",
                    "number_of_locks": 7,
                    "number_of_spins": 6,
                    "game_name": "NFL",
                    "fantasy_spin_contest_id": 2,
                    "start_date_time": "December 13, 2023 at 06:26 AM",
                    "end_date_time": "December 13, 2023 at 06:26 AM",
                    "total_entries": "10\/5",
                    "total_buy_in": 0,
                    "currency_type": "coins"
                },
                {
                    "name": "Cleveland Browns vs Chicago Bears",
                    "number_of_locks": 7,
                    "number_of_spins": 6,
                    "game_name": "NFL",
                    "fantasy_spin_contest_id": 1,
                    "start_date_time": "December 13, 2023 at 12:22 PM",
                    "end_date_time": "December 13, 2023 at 06:26 AM",
                    "total_entries": "7\/5",
                    "total_buy_in": 0,
                    "currency_type": "coins"
                }
            ],
            "first_page_url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1?sort_field=total_entries&sort_method=desc&page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1?sort_field=total_entries&sort_method=desc&page=1",
            "links": [
                {
                    "url": null,
                    "label": "pagination.previous",
                    "active": false
                },
                {
                    "url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1?sort_field=total_entries&sort_method=desc&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "pagination.next",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1",
            "per_page": 10,
            "prev_page_url": null,
            "to": 2,
            "total": 2
        }
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "sort_field": [
            "The selected sort field is invalid."
        ]
    }
}
```
<div id="execution-results-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests"></code></pre>
</div>
<form id="form-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" data-method="GET" data-path="fantasy-spin-blueprints/{fantasy_spin_blueprint_id}/open-contests" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" onclick="tryItOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" onclick="cancelTryOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-blueprints/{fantasy_spin_blueprint_id}/open-contests</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>fantasy_spin_blueprint_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_blueprint_id" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" data-component="url" required  hidden>
<br>
Fantasy Spin Blueprint ID. Ex: 1
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>sort_field</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_field" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" data-component="query"  hidden>
<br>
Sort Field (start_date_time, end_date_time, total_entries, total_buy_in). Ex: total_entries
</p>
<p>
<b><code>sort_method</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_method" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--open-contests" data-component="query"  hidden>
<br>
Sort Method (asc, desc). Ex: desc
</p>
</form>


## Settled Constests (Admin)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get settled fantasy spin contests (Admin)

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/20/settled-contests?sort_field=officiis&sort_method=consequatur" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Fantasy spin contests",
    "data": {
        "fantasy_spin_contests": {
            "current_page": 1,
            "data": [
                {
                    "name": "Cleveland Browns vs Chicago Bears",
                    "number_of_locks": 7,
                    "number_of_spins": 6,
                    "game_name": "NFL",
                    "fantasy_spin_contest_id": 2,
                    "start_date_time": "December 13, 2023 at 06:26 AM",
                    "end_date_time": "December 13, 2023 at 06:26 AM",
                    "total_entries": "10\/5",
                    "total_buy_in": 0,
                    "currency_type": "coins"
                },
                {
                    "name": "Cleveland Browns vs Chicago Bears",
                    "number_of_locks": 7,
                    "number_of_spins": 6,
                    "game_name": "NFL",
                    "fantasy_spin_contest_id": 1,
                    "start_date_time": "December 13, 2023 at 12:22 PM",
                    "end_date_time": "December 13, 2023 at 06:26 AM",
                    "total_entries": "7\/5",
                    "total_buy_in": 0,
                    "currency_type": "coins"
                }
            ],
            "first_page_url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1?sort_field=total_entries&sort_method=desc&page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1?sort_field=total_entries&sort_method=desc&page=1",
            "links": [
                {
                    "url": null,
                    "label": "pagination.previous",
                    "active": false
                },
                {
                    "url": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1?sort_field=total_entries&sort_method=desc&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "pagination.next",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "http:\/\/127.0.0.1:8000\/fantasy-spin-blueprints\/contests\/1",
            "per_page": 10,
            "prev_page_url": null,
            "to": 2,
            "total": 2
        }
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "sort_field": [
            "The selected sort field is invalid."
        ]
    }
}
```
<div id="execution-results-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests"></code></pre>
</div>
<form id="form-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" data-method="GET" data-path="fantasy-spin-blueprints/{fantasy_spin_blueprint_id}/settled-contests" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" onclick="tryItOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" onclick="cancelTryOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-blueprints/{fantasy_spin_blueprint_id}/settled-contests</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>fantasy_spin_blueprint_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_blueprint_id" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" data-component="url" required  hidden>
<br>
Fantasy Spin Blueprint ID. Ex: 1
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>sort_field</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_field" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" data-component="query"  hidden>
<br>
Sort Field (start_date_time, end_date_time, total_entries, total_buy_in). Ex: total_entries
</p>
<p>
<b><code>sort_method</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_method" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--settled-contests" data-component="query"  hidden>
<br>
Sort Method (asc, desc). Ex: desc
</p>
</form>


## Constest Players (Admin)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get fantasy spin contest players (Admin)

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-blueprints/6/contests/4/players" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Fantasy Spin Contest Entry Players",
    "data": {
        "user_wise_fantasy_spins": [
            {
                "fantasy_spin_contest_entry_id": 1,
                "is_completed": 1,
                "user_id": 1,
                "username": "admin",
                "projection_score": 71.22,
                "result_score": null,
                "bet_id": 43,
                "bet_wager": 0,
                "bet_currency_type": 20,
                "bet_win": 100,
                "bet_status": 10,
                "bet_result": 10,
                "positions": [
                    {
                        "fantasy_spin_contest_entry_player_id": 1,
                        "fantasy_spin_position": "QB",
                        "player": {
                            "sportsdata_player_id": 23230,
                            "name": "Dorian Thompson-Robinson",
                            "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/23230.png",
                            "projection": 1.73,
                            "result": 0,
                            "is_locked": 1,
                            "locked_at": "06:21 AM",
                            "lock_type": "Manual"
                        }
                    },
                    {
                        "fantasy_spin_contest_entry_player_id": 2,
                        "fantasy_spin_position": "RB",
                        "player": {
                            "sportsdata_player_id": 18944,
                            "name": "Kareem Hunt",
                            "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/18944.png",
                            "projection": 7.06,
                            "result": 0,
                            "is_locked": 1,
                            "locked_at": "06:21 AM",
                            "lock_type": "Lineup"
                        }
                    },
                    {
                        "fantasy_spin_contest_entry_player_id": 3,
                        "fantasy_spin_position": "WR",
                        "player": {
                            "sportsdata_player_id": 24348,
                            "name": "Cedric Tillman",
                            "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/24348.png",
                            "projection": 4.7,
                            "result": 0,
                            "is_locked": 1,
                            "locked_at": "06:21 AM",
                            "lock_type": "Lineup"
                        }
                    },
                    {
                        "fantasy_spin_contest_entry_player_id": 4,
                        "fantasy_spin_position": "TE",
                        "player": {
                            "sportsdata_player_id": 19491,
                            "name": "Robert Tonyan",
                            "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/19491.png",
                            "projection": 2.46,
                            "result": 0,
                            "is_locked": 1,
                            "locked_at": "06:21 AM",
                            "lock_type": "Lineup"
                        }
                    },
                    {
                        "fantasy_spin_contest_entry_player_id": 5,
                        "fantasy_spin_position": "D\/K",
                        "player": {
                            "sportsdata_player_id": 16301,
                            "name": "Cairo Santos",
                            "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/16301.png",
                            "projection": 6.9,
                            "result": 0,
                            "is_locked": 1,
                            "locked_at": "06:21 AM",
                            "lock_type": "Lineup"
                        }
                    },
                    {
                        "fantasy_spin_contest_entry_player_id": 6,
                        "fantasy_spin_position": "FLEX",
                        "player": {
                            "sportsdata_player_id": 14865,
                            "name": "Marquise Goodwin",
                            "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/14865.png",
                            "projection": 1.67,
                            "result": 0,
                            "is_locked": 1,
                            "locked_at": "06:21 AM",
                            "lock_type": "Lineup"
                        }
                    },
                    {
                        "fantasy_spin_contest_entry_player_id": 7,
                        "fantasy_spin_position": "SFLX",
                        "player": {
                            "sportsdata_player_id": 23218,
                            "name": "Pierre Strong Jr.",
                            "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/23218.png",
                            "projection": 1.52,
                            "result": 0,
                            "is_locked": 1,
                            "locked_at": "06:21 AM",
                            "lock_type": "Lineup"
                        }
                    }
                ]
            }
        ]
    }
}
```
<div id="execution-results-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players"></code></pre>
</div>
<form id="form-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" data-method="GET" data-path="fantasy-spin-blueprints/{fantasy_spin_blueprint_id}/contests/{fantasy_spin_contest_id}/players" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" onclick="tryItOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" onclick="cancelTryOut('GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-blueprints/{fantasy_spin_blueprint_id}/contests/{fantasy_spin_contest_id}/players</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>fantasy_spin_blueprint_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_blueprint_id" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" data-component="url" required  hidden>
<br>
Fantasy Spin Blueprint ID. Ex: 1
</p>
<p>
<b><code>fantasy_spin_contest_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_id" data-endpoint="GETfantasy-spin-blueprints--fantasy_spin_blueprint_id--contests--fantasy_spin_contest_id--players" data-component="url" required  hidden>
<br>
Fantasy Spin Contest ID. Ex: 1
</p>
</form>


## Get All Open Contest (Admin)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get all open contest (Admin)

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/featured-contest" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Fantasy Spin Contest Entry Players",
      "data": {
         "fantasy_spin_featured_contests" : [
             {
                 "game_id":1,
                 "id":2,
                 "name": "NFL SUNDAY 1To1",
                 "bold_text_of_contest": "SUNDAY",
             }
         ],
         "fantasy_spin_blueprints" : [
             {
                 "game_id":1,
                 "id":2,
                 "name": "NFL SUNDAY 1To1",
                 "bold_text_of_contest": "SUNDAY",
             }
         ]
      }
  }
```
<div id="execution-results-GETfeatured-contest" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfeatured-contest"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfeatured-contest"></code></pre>
</div>
<div id="execution-error-GETfeatured-contest" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfeatured-contest"></code></pre>
</div>
<form id="form-GETfeatured-contest" data-method="GET" data-path="featured-contest" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfeatured-contest', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfeatured-contest" onclick="tryItOut('GETfeatured-contest');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfeatured-contest" onclick="cancelTryOut('GETfeatured-contest');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfeatured-contest" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>featured-contest</code></b>
</p>
<p>
<label id="auth-GETfeatured-contest" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfeatured-contest" data-component="header"></label>
</p>
</form>


## Lobby

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get lobby list for fantasy spin contest

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-contests/lobby?game_id=18" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Lobby fantasy spin contests.",
    "data": {
        "fantasy_spin_contests": [
            {
                "fantasy_spin_contest_id": 29,
                "fantasy_spin_blueprint_id": 21,
                "name": "NBA 01\/25 Thu",
                "closes_at_utc": "2024-01-26 00:00:00",
                "spins": 10,
                "locks": 6,
                "my_entries": 1,
                "current_entries": 1,
                "max_entries": 100,
                "currency_type": 20,
                "entry": 100,
                "prize_pool": 200,
                "first_pays": 200
            }
        ]
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "game_id": [
            "The selected game id is invalid."
        ]
    }
}
```
<div id="execution-results-GETfantasy-spin-contests-lobby" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-contests-lobby"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-contests-lobby"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-contests-lobby" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-contests-lobby"></code></pre>
</div>
<form id="form-GETfantasy-spin-contests-lobby" data-method="GET" data-path="fantasy-spin-contests/lobby" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-contests-lobby', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-contests-lobby" onclick="tryItOut('GETfantasy-spin-contests-lobby');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-contests-lobby" onclick="cancelTryOut('GETfantasy-spin-contests-lobby');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-contests-lobby" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-contests/lobby</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-contests-lobby" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-contests-lobby" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="game_id" data-endpoint="GETfantasy-spin-contests-lobby" data-component="query" required  hidden>
<br>
The game ID. Ex: 1
</p>
</form>


## View Fantasy Spin Contest (v2)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to view a fantasy spin contest

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/v2/fantasy-spin-contest-details/5" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Fantasy spin contest details",
    "data": {
        "fantasy_spin_contest": {
            "fantasy_spin_contest_id": 55,
            "start_date_time": "2024-02-22 00:36:00",
            "fantasy_spin_blueprint_id": 43,
            "name": "NHL 02\/22 Thu",
            "slate": "02\/22 Thu",
            "currency_type": 20,
            "buy_in": 100,
            "payout": 10000,
            "number_of_entrants": 1000,
            "number_of_spins": 10,
            "number_of_locks": 6,
            "positions": [
                {
                    "title": "Wingers - Includes RW + LW",
                    "position": "W",
                    "quantity": 3
                },
                {
                    "title": "Center",
                    "position": "C",
                    "quantity": 3
                },
                {
                    "title": "Defenders",
                    "position": "D",
                    "quantity": 2
                }
            ],
            "total_positions": 8,
            "size_of_player_pool": 445,
            "instant_win_currency": 20,
            "instant_win_pay_out": 10,
            "is_instant_win": 0,
            "current_entrants": 0,
            "instant_win_players": 4,
            "game_id": 4,
            "game_name": "NHL",
            "game_image": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/icon-icehockey.png"
        },
        "payout_structure": [
            {
                "rank": "1st",
                "payout": 2300
            },
            {
                "rank": "2nd",
                "payout": 1350
            }
        ],
        "players": [
            {
                "fantasy_spin_position": "G",
                "total_players": 22,
                "probability": 4.5,
                "players": [
                    {
                        "fantasy_spin_position": "G",
                        "fantasy_spin_position_rank": 1,
                        "name": "Andrei Vasilevskiy",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/TB-Right.png"
                    },
                    {
                        "fantasy_spin_position": "G",
                        "fantasy_spin_position_rank": 2,
                        "name": "Tristan Jarry",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/PIT-Right.png"
                    }
                ]
            },
            {
                "fantasy_spin_position": "W",
                "total_players": 129,
                "probability": 0.8,
                "players": [
                    {
                        "fantasy_spin_position": "W",
                        "fantasy_spin_position_rank": 1,
                        "name": "David Pastrnak",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/BOS-Right.png"
                    },
                    {
                        "fantasy_spin_position": "W",
                        "fantasy_spin_position_rank": 2,
                        "name": "Mikko Rantanen",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/COL-Right.png"
                    }
                ]
            },
            {
                "fantasy_spin_position": "C",
                "total_players": 117,
                "probability": 0.9,
                "players": [
                    {
                        "fantasy_spin_position": "C",
                        "fantasy_spin_position_rank": 1,
                        "name": "Nathan MacKinnon",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/COL-Right.png"
                    },
                    {
                        "fantasy_spin_position": "C",
                        "fantasy_spin_position_rank": 2,
                        "name": "Auston Matthews",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/TOR-Right.png"
                    }
                ]
            },
            {
                "fantasy_spin_position": "D",
                "total_players": 177,
                "probability": 0.6,
                "players": [
                    {
                        "fantasy_spin_position": "D",
                        "fantasy_spin_position_rank": 1,
                        "name": "Cale Makar",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/COL-Right.png"
                    },
                    {
                        "fantasy_spin_position": "D",
                        "fantasy_spin_position_rank": 2,
                        "name": "Roman Josi",
                        "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/NAS-Right.png"
                    }
                ]
            }
        ],
        "scoring": [
            {
                "prop": "Goal",
                "score": 3
            },
            {
                "prop": "Assist",
                "score": 2
            },
            {
                "prop": "Shot On Goal",
                "score": 0.5
            },
            {
                "prop": "Plus\/Minus",
                "score": 1
            },
            {
                "prop": "Block",
                "score": 0.5
            },
            {
                "prop": "Power Play Goal\/Assist",
                "score": 0.5
            },
            {
                "prop": "Short-Handed Goal\/Assist",
                "score": 0.5
            },
            {
                "prop": "Shootout Goal",
                "score": 0.2
            },
            {
                "prop": "Win",
                "score": 3
            },
            {
                "prop": "Goal Against",
                "score": -1
            },
            {
                "prop": "Save",
                "score": 0.2
            },
            {
                "prop": "Shootout",
                "score": 2
            }
        ],
        "games": [
            {
                "schedule_id": 21519,
                "away_sportsdata_team_id": 28,
                "home_sportsdata_team_id": 36,
                "schedule_date_time": "10:00 PM",
                "schedule_date_time_est": "2024-02-22 22:00:00",
                "schedule_date_time_utc": "2024-02-23 03:00:00",
                "schedule_name": "VAN @ SEA",
                "away_team_image": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/VAN-Right.png",
                "home_team_image": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/SEA-Left.png"
            },
            {
                "schedule_id": 21520,
                "away_sportsdata_team_id": 21,
                "home_sportsdata_team_id": 26,
                "schedule_date_time": "10:30 PM",
                "schedule_date_time_est": "2024-02-22 22:30:00",
                "schedule_date_time_utc": "2024-02-23 03:30:00",
                "schedule_name": "NAS @ LA",
                "away_team_image": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/NAS-Right.png",
                "home_team_image": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nhl\/LA-Left.png"
            }
        ]
    }
}
```
> Example response (200):

```json
{
    "message": "Fantasy spin contest not found"
}
```
<div id="execution-results-GETv2-fantasy-spin-contest-details--id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETv2-fantasy-spin-contest-details--id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETv2-fantasy-spin-contest-details--id-"></code></pre>
</div>
<div id="execution-error-GETv2-fantasy-spin-contest-details--id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETv2-fantasy-spin-contest-details--id-"></code></pre>
</div>
<form id="form-GETv2-fantasy-spin-contest-details--id-" data-method="GET" data-path="v2/fantasy-spin-contest-details/{id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETv2-fantasy-spin-contest-details--id-', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETv2-fantasy-spin-contest-details--id-" onclick="tryItOut('GETv2-fantasy-spin-contest-details--id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETv2-fantasy-spin-contest-details--id-" onclick="cancelTryOut('GETv2-fantasy-spin-contest-details--id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETv2-fantasy-spin-contest-details--id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>v2/fantasy-spin-contest-details/{id}</code></b>
</p>
<p>
<label id="auth-GETv2-fantasy-spin-contest-details--id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETv2-fantasy-spin-contest-details--id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="id" data-endpoint="GETv2-fantasy-spin-contest-details--id-" data-component="url" required  hidden>
<br>
The ID of the fantasy spin contest. Ex: 1
</p>
</form>


## Get Fantasy Spin Contest Players

<small class="badge badge-darkred">requires authentication</small>

Use this endpoint to view players of a specific position in a fantasy spin contest.

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-contest-players/1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"position":"deserunt"}'

```


> Example response (200):

```json
{
    "message": "Fantasy spin contest players",
    "data": {
        "fantasy_spin_position": "WR",
        "total_players": 15,
        "probability": 6.7,
        "players": [
            {
                "fantasy_spin_position": "WR",
                "fantasy_spin_position_rank": 1,
                "name": "Davante Adams",
                "headshot_high_resolution": "http:\/\/example.com\/images\/nfl\/WR1.png"
            },
            {
                "fantasy_spin_position": "WR",
                "fantasy_spin_position_rank": 2,
                "name": "DeAndre Hopkins",
                "headshot_high_resolution": "http:\/\/example.com\/images\/nfl\/WR2.png"
            }
        ]
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "position": [
            "The position field is required."
        ]
    }
}
```
> Example response (200):

```json
{
    "message": "Fantasy spin contest players not found"
}
```
<div id="execution-results-GETfantasy-spin-contest-players--id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-contest-players--id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-contest-players--id-"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-contest-players--id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-contest-players--id-"></code></pre>
</div>
<form id="form-GETfantasy-spin-contest-players--id-" data-method="GET" data-path="fantasy-spin-contest-players/{id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-contest-players--id-', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-contest-players--id-" onclick="tryItOut('GETfantasy-spin-contest-players--id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-contest-players--id-" onclick="cancelTryOut('GETfantasy-spin-contest-players--id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-contest-players--id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-contest-players/{id}</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-contest-players--id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-contest-players--id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="id" data-endpoint="GETfantasy-spin-contest-players--id-" data-component="url" required  hidden>
<br>
The ID of the fantasy spin contest. Ex: 1
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>position</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="position" data-endpoint="GETfantasy-spin-contest-players--id-" data-component="body" required  hidden>
<br>
The position of the players. Ex: WR
</p>

</form>


## Confirm entry

<small class="badge badge-darkred">requires authentication</small>

Use this end point to confirm entry in fantasy spin contest

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/fantasy-spin-contests/confirm-entry" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"fantasy_spin_contest_id":1,"is_excessive_contest_warning_confirmed":1}'

```


> Example response (200):

```json
{
    "message": "Fantasy spin entry confirmed",
    "data": {
        "fantasy_spin_teams": [
            {
                "name": "New England Patriots",
                "logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/b\/b9\/New_England_Patriots_logo.svg",
                "primary_color": "002244",
                "secondary_color": "C60C30"
            },
            {
                "name": "Pittsburgh Steelers",
                "logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/commons\/d\/de\/Pittsburgh_Steelers_logo.svg",
                "primary_color": "000000",
                "secondary_color": "FFB612"
            }
        ],
        "fantasy_spin_contest_entry": {
            "fantasy_spin_contest_entry_id": 23,
            "fantasy_spin_contest_id": 1,
            "game_id": 1,
            "fantasy_spin_blueprint_id": 1,
            "number_of_locks": 7,
            "number_of_spins": 6,
            "locks_available": 7,
            "spins_available": 6,
            "ratings": null,
            "projection_score": null
        },
        "fantasy_spin_contest_entry_players": [
            {
                "fantasy_spin_contest_entry_player_id": 148,
                "fantasy_spin_position": "QB",
                "fantasy_spin_position_rank": null,
                "sportsdata_player_id": null,
                "name": null,
                "short_name": null,
                "headshot_high_resolution": null,
                "team": null,
                "team_logo_url": null,
                "team_primary_color": null,
                "team_secondary_color": null,
                "opponent_key": null,
                "projection": null,
                "is_locked": 0
            },
            {
                "fantasy_spin_contest_entry_player_id": 153,
                "fantasy_spin_position": "FLEX",
                "fantasy_spin_position_rank": null,
                "sportsdata_player_id": null,
                "name": null,
                "short_name": null,
                "headshot_high_resolution": null,
                "team": null,
                "team_logo_url": null,
                "team_primary_color": null,
                "team_secondary_color": null,
                "opponent_key": null,
                "projection": null,
                "is_locked": 0
            },
            {
                "fantasy_spin_contest_entry_player_id": 154,
                "fantasy_spin_position": "SFLX",
                "fantasy_spin_position_rank": null,
                "sportsdata_player_id": null,
                "name": null,
                "short_name": null,
                "headshot_high_resolution": null,
                "team": null,
                "team_logo_url": null,
                "team_primary_color": null,
                "team_secondary_color": null,
                "opponent_key": null,
                "projection": null,
                "is_locked": 0
            }
        ]
    }
}
```
> Example response (422, Deposit Required):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Deposit Required",
        "message": "You need to add funds to your account to enter this draft.",
        "cta": "Add Funds",
        "color": "Green",
        "cta_type": "Wallet",
        "fantasy_spin_contest_id": null
    }
}
```
> Example response (422, Not Enough coins):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Not Enough coins",
        "message": "You need more coins to enter this FantasySpin contest. Completing challenges are a great way to earn coins quickly!",
        "cta": "Okay",
        "color": "Green",
        "cta_type": "Okay",
        "fantasy_spin_contest_id": null
    }
}
```
> Example response (422, Reached Max Entries):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Reached Max Entries",
        "message": "You have reached the max number of entries for this contest.",
        "cta": "Okay",
        "color": "Blue",
        "cta_type": "Okay",
        "fantasy_spin_contest_id": null
    }
}
```
> Example response (400, Age Restrictions Apply):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Age Restrictions Apply",
        "message": "You must be 21 or older to enter cash contests in Massachusetts",
        "cta": "Return",
        "color": "Blue",
        "cta_type": "Lobby"
    }
}
```
> Example response (400, Self Exclusion Applies):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Self Exclusion Applies",
        "message": "You are unable to take this action because of self exclusion restrictions placed on this account.",
        "cta": "Return",
        "color": "Blue",
        "cta_type": "Lobby"
    }
}
```
> Example response (400, Timeout Applies):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Timeout Applies",
        "message": "You are unable to take this action because of timeout restrictions placed on your account.",
        "cta": "Return",
        "color": "Blue",
        "cta_type": "Lobby"
    }
}
```
> Example response (202, Confirmation):

```json
{
    "message": "Confirmation",
    "error_box": {
        "heading": "Heads Up",
        "message": "You have entered $20 into cash.",
        "cta": "Continue",
        "color": "Blue",
        "cta_type": "Continue"
    }
}
```
<div id="execution-results-POSTfantasy-spin-contests-confirm-entry" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTfantasy-spin-contests-confirm-entry"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTfantasy-spin-contests-confirm-entry"></code></pre>
</div>
<div id="execution-error-POSTfantasy-spin-contests-confirm-entry" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTfantasy-spin-contests-confirm-entry"></code></pre>
</div>
<form id="form-POSTfantasy-spin-contests-confirm-entry" data-method="POST" data-path="fantasy-spin-contests/confirm-entry" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTfantasy-spin-contests-confirm-entry', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTfantasy-spin-contests-confirm-entry" onclick="tryItOut('POSTfantasy-spin-contests-confirm-entry');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTfantasy-spin-contests-confirm-entry" onclick="cancelTryOut('POSTfantasy-spin-contests-confirm-entry');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTfantasy-spin-contests-confirm-entry" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>fantasy-spin-contests/confirm-entry</code></b>
</p>
<p>
<label id="auth-POSTfantasy-spin-contests-confirm-entry" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTfantasy-spin-contests-confirm-entry" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_id" data-endpoint="POSTfantasy-spin-contests-confirm-entry" data-component="body" required  hidden>
<br>
Fantasy Spin Contest ID.
</p>
<p>
<b><code>is_excessive_contest_warning_confirmed</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_excessive_contest_warning_confirmed" data-endpoint="POSTfantasy-spin-contests-confirm-entry" data-component="body"  hidden>
<br>
Excessive contest warning confirmation flag.
</p>

</form>


## Spin (v2)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to spin in fantasy spin contest

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/fantasy-spin-contests/spin" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"fantasy_spin_contest_entry_id":1}'

```


> Example response (200):

```json
{
    "message": "Fantasy spin successfull!",
    "data": {
        "fantasy_spin_contest_entry": {
            "fantasy_spin_contest_entry_id": 3,
            "fantasy_spin_contest_id": 1,
            "game_id": 1,
            "fantasy_spin_blueprint_id": 1,
            "number_of_locks": 7,
            "number_of_spins": 6,
            "locks_available": 2,
            "spins_available": 0,
            "ratings": null,
            "projection_score": 106.35
        },
        "fantasy_spin_contest_entry_players": [
            {
                "fantasy_spin_contest_entry_player_id": 8,
                "fantasy_spin_position": "QB",
                "fantasy_spin_position_rank": 1,
                "sportsdata_player_id": 22492,
                "name": "Justin Fields",
                "short_name": "J. Fields",
                "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/22492.png",
                "team": "Chicago Bears",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/1\/15\/Chicago_Bears_logo_primary.svg",
                "team_primary_color": "0B162A",
                "team_secondary_color": "E64100",
                "opponent_key": "CLE",
                "projection": 18.85,
                "is_locked": 1
            },
            {
                "fantasy_spin_contest_entry_player_id": 14,
                "fantasy_spin_position": "SFLX",
                "fantasy_spin_position_rank": 8,
                "sportsdata_player_id": 18876,
                "name": "David Njoku",
                "short_name": "D. Njoku",
                "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/18876.png",
                "team": "Cleveland Browns",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/d\/d9\/Cleveland_Browns_logo.svg",
                "team_primary_color": "311D00",
                "team_secondary_color": "FF3300",
                "opponent_key": "CHI",
                "projection": 9.37,
                "is_locked": 1
            }
        ]
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "fantasy_spin_contest_entry_id": [
            "You have no more spins for this contest."
        ]
    }
}
```
<div id="execution-results-POSTv2-fantasy-spin-contests-spin" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-fantasy-spin-contests-spin"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-fantasy-spin-contests-spin"></code></pre>
</div>
<div id="execution-error-POSTv2-fantasy-spin-contests-spin" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-fantasy-spin-contests-spin"></code></pre>
</div>
<form id="form-POSTv2-fantasy-spin-contests-spin" data-method="POST" data-path="v2/fantasy-spin-contests/spin" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-fantasy-spin-contests-spin', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTv2-fantasy-spin-contests-spin" onclick="tryItOut('POSTv2-fantasy-spin-contests-spin');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-fantasy-spin-contests-spin" onclick="cancelTryOut('POSTv2-fantasy-spin-contests-spin');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-fantasy-spin-contests-spin" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/fantasy-spin-contests/spin</code></b>
</p>
<p>
<label id="auth-POSTv2-fantasy-spin-contests-spin" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTv2-fantasy-spin-contests-spin" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_entry_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_id" data-endpoint="POSTv2-fantasy-spin-contests-spin" data-component="body" required  hidden>
<br>
Fantasy Spin Contest Entry ID.
</p>

</form>


## Lock Player (v2)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to lock a player in fantasy spin contest

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/fantasy-spin-contests/lock-player" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"fantasy_spin_contest_entry_id":1,"fantasy_spin_contest_entry_player_id":1,"closes_at":"2024-08-30 18:40:00","number_of_locks":6,"locks_available":5,"sportsdata_player_id":6232,"fantasy_spin_position":"P"}'

```


> Example response (200):

```json
{
    "message": "Player locked successfully!"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "fantasy_spin_contest_entry_player_id": [
            "Locks for this fantasy spin are exhausted"
        ]
    }
}
```
<div id="execution-results-POSTv2-fantasy-spin-contests-lock-player" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-fantasy-spin-contests-lock-player"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-fantasy-spin-contests-lock-player"></code></pre>
</div>
<div id="execution-error-POSTv2-fantasy-spin-contests-lock-player" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-fantasy-spin-contests-lock-player"></code></pre>
</div>
<form id="form-POSTv2-fantasy-spin-contests-lock-player" data-method="POST" data-path="v2/fantasy-spin-contests/lock-player" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-fantasy-spin-contests-lock-player', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTv2-fantasy-spin-contests-lock-player" onclick="tryItOut('POSTv2-fantasy-spin-contests-lock-player');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-fantasy-spin-contests-lock-player" onclick="cancelTryOut('POSTv2-fantasy-spin-contests-lock-player');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-fantasy-spin-contests-lock-player" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/fantasy-spin-contests/lock-player</code></b>
</p>
<p>
<label id="auth-POSTv2-fantasy-spin-contests-lock-player" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_entry_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_id" data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="body" required  hidden>
<br>
Fantasy Spin Contest Entry ID.
</p>
<p>
<b><code>fantasy_spin_contest_entry_player_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_player_id" data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="body" required  hidden>
<br>
Fantasy Spin Contest Entry Player ID.
</p>
<p>
<b><code>closes_at</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="closes_at" data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="body" required  hidden>
<br>
Closes at.
</p>
<p>
<b><code>number_of_locks</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="number_of_locks" data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="body" required  hidden>
<br>
Total number of locks.
</p>
<p>
<b><code>locks_available</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="locks_available" data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="body" required  hidden>
<br>
Locks available.
</p>
<p>
<b><code>sportsdata_player_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="sportsdata_player_id" data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="body" required  hidden>
<br>
SportsData Player ID.
</p>
<p>
<b><code>fantasy_spin_position</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="fantasy_spin_position" data-endpoint="POSTv2-fantasy-spin-contests-lock-player" data-component="body" required  hidden>
<br>
Position.
</p>

</form>


## Un-Lock Player (v2)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to un-lock a player in fantasy spin contest

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/fantasy-spin-contests/unlock-player" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"fantasy_spin_contest_entry_id":1,"fantasy_spin_contest_entry_player_id":1,"closes_at":"2024-08-30 18:40:00","number_of_locks":6,"locks_available":5,"sportsdata_player_id":6232,"fantasy_spin_position":"P"}'

```


> Example response (200):

```json
{
    "message": "Player un-locked successfully!"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "fantasy_spin_contest_entry_player_id": [
            "Locks for this fantasy spin are exhausted"
        ]
    }
}
```
<div id="execution-results-POSTv2-fantasy-spin-contests-unlock-player" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-fantasy-spin-contests-unlock-player"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-fantasy-spin-contests-unlock-player"></code></pre>
</div>
<div id="execution-error-POSTv2-fantasy-spin-contests-unlock-player" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-fantasy-spin-contests-unlock-player"></code></pre>
</div>
<form id="form-POSTv2-fantasy-spin-contests-unlock-player" data-method="POST" data-path="v2/fantasy-spin-contests/unlock-player" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-fantasy-spin-contests-unlock-player', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTv2-fantasy-spin-contests-unlock-player" onclick="tryItOut('POSTv2-fantasy-spin-contests-unlock-player');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-fantasy-spin-contests-unlock-player" onclick="cancelTryOut('POSTv2-fantasy-spin-contests-unlock-player');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-fantasy-spin-contests-unlock-player" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/fantasy-spin-contests/unlock-player</code></b>
</p>
<p>
<label id="auth-POSTv2-fantasy-spin-contests-unlock-player" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_entry_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_id" data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="body" required  hidden>
<br>
Fantasy Spin Contest Entry ID.
</p>
<p>
<b><code>fantasy_spin_contest_entry_player_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_player_id" data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="body" required  hidden>
<br>
Fantasy Spin Contest Entry Player ID.
</p>
<p>
<b><code>closes_at</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="closes_at" data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="body" required  hidden>
<br>
Closes at.
</p>
<p>
<b><code>number_of_locks</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="number_of_locks" data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="body" required  hidden>
<br>
Total number of locks.
</p>
<p>
<b><code>locks_available</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="locks_available" data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="body" required  hidden>
<br>
Locks available.
</p>
<p>
<b><code>sportsdata_player_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="sportsdata_player_id" data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="body" required  hidden>
<br>
SportsData Player ID.
</p>
<p>
<b><code>fantasy_spin_position</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="fantasy_spin_position" data-endpoint="POSTv2-fantasy-spin-contests-unlock-player" data-component="body" required  hidden>
<br>
Position.
</p>

</form>


## Lock Lineup (v2)

<small class="badge badge-darkred">requires authentication</small>

Use this end point to lock a lineup in fantasy spin contest

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/fantasy-spin-contests/lock-lineup" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"fantasy_spin_contest_entry_id":1,"closes_at":"2024-08-30 18:40:00"}'

```


> Example response (200):

```json
{
    "message": "Lineup locked successfully!"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "fantasy_spin_contest_entry_id": [
            "Lineup is already locked."
        ]
    }
}
```
<div id="execution-results-POSTv2-fantasy-spin-contests-lock-lineup" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-fantasy-spin-contests-lock-lineup"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-fantasy-spin-contests-lock-lineup"></code></pre>
</div>
<div id="execution-error-POSTv2-fantasy-spin-contests-lock-lineup" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-fantasy-spin-contests-lock-lineup"></code></pre>
</div>
<form id="form-POSTv2-fantasy-spin-contests-lock-lineup" data-method="POST" data-path="v2/fantasy-spin-contests/lock-lineup" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-fantasy-spin-contests-lock-lineup', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTv2-fantasy-spin-contests-lock-lineup" onclick="tryItOut('POSTv2-fantasy-spin-contests-lock-lineup');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-fantasy-spin-contests-lock-lineup" onclick="cancelTryOut('POSTv2-fantasy-spin-contests-lock-lineup');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-fantasy-spin-contests-lock-lineup" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/fantasy-spin-contests/lock-lineup</code></b>
</p>
<p>
<label id="auth-POSTv2-fantasy-spin-contests-lock-lineup" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTv2-fantasy-spin-contests-lock-lineup" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_entry_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_id" data-endpoint="POSTv2-fantasy-spin-contests-lock-lineup" data-component="body" required  hidden>
<br>
Fantasy Spin Contest Entry ID.
</p>
<p>
<b><code>closes_at</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="closes_at" data-endpoint="POSTv2-fantasy-spin-contests-lock-lineup" data-component="body" required  hidden>
<br>
Closes at.
</p>

</form>


## Show Entry Details

<small class="badge badge-darkred">requires authentication</small>

Use this end point to show fantasy spin entry details (Current state for an entry)

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-contests/show-entry/1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Fantasy Spin Contest Entry Details!",
    "data": {
        "fantasy_spin_teams": [
            {
                "name": "New England Patriots",
                "logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/b\/b9\/New_England_Patriots_logo.svg",
                "primary_color": "002244",
                "secondary_color": "C60C30"
            },
            {
                "name": "Pittsburgh Steelers",
                "logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/commons\/d\/de\/Pittsburgh_Steelers_logo.svg",
                "primary_color": "000000",
                "secondary_color": "FFB612"
            }
        ],
        "fantasy_spin_contest_entry": {
            "fantasy_spin_contest_entry_id": 2,
            "fantasy_spin_contest_id": 1,
            "game_id": 1,
            "fantasy_spin_blueprint_id": 1,
            "number_of_locks": 7,
            "number_of_spins": 6,
            "locks_available": 2,
            "spins_available": 1,
            "ratings": null,
            "projection_score": 47.89,
            "is_completed": 1
        },
        "fantasy_spin_contest_entry_players": [
            {
                "fantasy_spin_contest_entry_player_id": 1,
                "fantasy_spin_position": "QB",
                "fantasy_spin_position_rank": 3,
                "sportsdata_player_id": 23230,
                "name": "Dorian Thompson-Robinson",
                "short_name": "D. Thompson-Robinson",
                "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/23230.png",
                "team": "Cleveland Browns",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/d\/d9\/Cleveland_Browns_logo.svg",
                "team_primary_color": "311D00",
                "team_secondary_color": "FF3300",
                "opponent_key": "CHI",
                "projection": 1.73,
                "is_locked": 1
            },
            {
                "fantasy_spin_contest_entry_player_id": 7,
                "fantasy_spin_position": "SFLX",
                "fantasy_spin_position_rank": 2,
                "sportsdata_player_id": 19844,
                "name": "DJ Moore",
                "short_name": "D. Moore",
                "headshot_high_resolution": "https:\/\/s3-us-west-2.amazonaws.com\/static.fantasydata.com\/headshots\/nfl\/studio-high-res\/19844.png",
                "team": "Chicago Bears",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/1\/15\/Chicago_Bears_logo_primary.svg",
                "team_primary_color": "0B162A",
                "team_secondary_color": "E64100",
                "opponent_key": "CLE",
                "projection": 15.2,
                "is_locked": 1
            }
        ]
    }
}
```
<div id="execution-results-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-"></code></pre>
</div>
<form id="form-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" data-method="GET" data-path="fantasy-spin-contests/show-entry/{fantasy_spin_contest_entry_id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" onclick="tryItOut('GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" onclick="cancelTryOut('GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-contests/show-entry/{fantasy_spin_contest_entry_id}</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_entry_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_id" data-endpoint="GETfantasy-spin-contests-show-entry--fantasy_spin_contest_entry_id-" data-component="url" required  hidden>
<br>
Fantasy Spin Contest Entry ID.
</p>
</form>


## Leaderboard

<small class="badge badge-darkred">requires authentication</small>

Use this end point to view fantasy spin contest leaderboard

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-contests/leaderboard/maiores?fantasy_spin_contest_id=1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "FantasySpin Leaderboard",
    "data": {
        "summary": [
            {
                "fantasy_spin_blueprint_id": 35,
                "fantasy_spin_contest_id": 46,
                "name": "NBA 02\/12 Mon @ 07:00 PM",
                "my_entries_current": 20,
                "my_entries_max": 25,
                "total_entries_current": 31,
                "total_entries_max": 250,
                "closes_at_utc": "2024-02-13 00:00:00",
                "currency_type": 20,
                "prize_pool": 1000,
                "first_pays": 265,
                "total_entered": 200,
                "won": 522,
                "is_settled": 1
            }
        ],
        "all_entries": {
            "current_page": 1,
            "data": [
                {
                    "fantasy_spin_contest_entry_id": 132,
                    "user_id": 3,
                    "username": "tahasethwala",
                    "projected_payout": 265,
                    "projection_score": 172.5,
                    "payout": 265,
                    "result_score": 192.3,
                    "projected_finish": 1,
                    "result_finish": 1
                },
                {
                    "fantasy_spin_contest_entry_id": 141,
                    "user_id": 104,
                    "username": "abbas",
                    "projected_payout": 68,
                    "projection_score": 153.2,
                    "payout": 155,
                    "result_score": 178.9,
                    "projected_finish": 5,
                    "result_finish": 2
                }
            ],
            "first_page_url": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/fantasy-spin-contests\/leaderboard\/46?page=1",
            "from": 1,
            "last_page": 2,
            "last_page_url": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/fantasy-spin-contests\/leaderboard\/46?page=2",
            "links": [
                {
                    "url": null,
                    "label": "pagination.previous",
                    "active": false
                },
                {
                    "url": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/fantasy-spin-contests\/leaderboard\/46?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/fantasy-spin-contests\/leaderboard\/46?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/fantasy-spin-contests\/leaderboard\/46?page=2",
                    "label": "pagination.next",
                    "active": false
                }
            ],
            "next_page_url": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/fantasy-spin-contests\/leaderboard\/46?page=2",
            "path": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/fantasy-spin-contests\/leaderboard\/46",
            "per_page": 25,
            "prev_page_url": null,
            "to": 25,
            "total": 31
        },
        "my_entries": [
            {
                "fantasy_spin_contest_entry_id": 132,
                "user_id": 3,
                "username": "tahasethwala",
                "projected_payout": 265,
                "projection_score": 172.5,
                "payout": 265,
                "result_score": 192.3,
                "projected_finish": 1,
                "result_finish": 1
            },
            {
                "fantasy_spin_contest_entry_id": 120,
                "user_id": 3,
                "username": "tahasethwala",
                "projected_payout": 155,
                "projection_score": 164.2,
                "payout": 68,
                "result_score": 158.3,
                "projected_finish": 2,
                "result_finish": 5
            }
        ]
    }
}
```
<div id="execution-results-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-"></code></pre>
</div>
<form id="form-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" data-method="GET" data-path="fantasy-spin-contests/leaderboard/{fantasy_spin_contest_id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" onclick="tryItOut('GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" onclick="cancelTryOut('GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-contests/leaderboard/{fantasy_spin_contest_id}</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_id</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="fantasy_spin_contest_id" data-endpoint="GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" data-component="url" required  hidden>
<br>

</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" data-component="url"  hidden>
<br>
Page number.
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_id" data-endpoint="GETfantasy-spin-contests-leaderboard--fantasy_spin_contest_id-" data-component="query" required  hidden>
<br>
Fantasy Spin Contest ID.
</p>
</form>


## Lineup

<small class="badge badge-darkred">requires authentication</small>

Use this end point to view fantasy spin contest entry lineup

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/fantasy-spin-contests/lineup/1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "FantasySpin Lineup",
    "data": {
        "summary": {
            "user_id": 3,
            "username": "tahasethwala",
            "is_settled": 0,
            "currency_type": 20,
            "projection_score": 144.3,
            "result_score": 144.3,
            "projected_payout": 1100,
            "payout": 200,
            "projected_finish": 16,
            "result_finish": 10,
            "current_entry": 129,
            "total_entries": 130
        },
        "lineup": [
            {
                "fantasy_spin_contest_entry_player_id": 1055,
                "sportsdata_player_id": 20000901,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/CHA.png",
                "short_name": "I. Smith",
                "projection": 9.1,
                "result": 0,
                "fantasy_spin_position": "PG",
                "fantasy_spin_position_rank": 3,
                "team_key": "CHA",
                "opponent_key": "TOR",
                "opponent_type": "vs",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/c\/c4\/Charlotte_Hornets_%282014%29.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            },
            {
                "fantasy_spin_contest_entry_player_id": 1056,
                "sportsdata_player_id": 20003039,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/TOR.png",
                "short_name": "G. Dick",
                "projection": 5.8,
                "result": 0,
                "fantasy_spin_position": "SG",
                "fantasy_spin_position_rank": 5,
                "team_key": "TOR",
                "opponent_key": "CHA",
                "opponent_type": "at",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/3\/36\/Toronto_Raptors_logo.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            },
            {
                "fantasy_spin_contest_entry_player_id": 1057,
                "sportsdata_player_id": 20002662,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/TOR.png",
                "short_name": "S. Barnes",
                "projection": 38.6,
                "result": 0,
                "fantasy_spin_position": "SF",
                "fantasy_spin_position_rank": 1,
                "team_key": "TOR",
                "opponent_key": "CHA",
                "opponent_type": "at",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/3\/36\/Toronto_Raptors_logo.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            },
            {
                "fantasy_spin_contest_entry_player_id": 1058,
                "sportsdata_player_id": 20002279,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/CHA.png",
                "short_name": "P. Washington",
                "projection": 25.9,
                "result": 0,
                "fantasy_spin_position": "PF",
                "fantasy_spin_position_rank": 1,
                "team_key": "CHA",
                "opponent_key": "TOR",
                "opponent_type": "vs",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/c\/c4\/Charlotte_Hornets_%282014%29.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            },
            {
                "fantasy_spin_contest_entry_player_id": 1059,
                "sportsdata_player_id": 20002567,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/CHA.png",
                "short_name": "N. Richards",
                "projection": 22.2,
                "result": 0,
                "fantasy_spin_position": "C",
                "fantasy_spin_position_rank": 2,
                "team_key": "CHA",
                "opponent_key": "TOR",
                "opponent_type": "vs",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/c\/c4\/Charlotte_Hornets_%282014%29.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            },
            {
                "fantasy_spin_contest_entry_player_id": 1060,
                "sportsdata_player_id": 20000606,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/TOR.png",
                "short_name": "D. Schröder",
                "projection": 24.9,
                "result": 0,
                "fantasy_spin_position": "G",
                "fantasy_spin_position_rank": 2,
                "team_key": "TOR",
                "opponent_key": "CHA",
                "opponent_type": "at",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/3\/36\/Toronto_Raptors_logo.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            },
            {
                "fantasy_spin_contest_entry_player_id": 1061,
                "sportsdata_player_id": 20000443,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/TOR.png",
                "short_name": "O. Porter Jr.",
                "projection": 4.2,
                "result": 0,
                "fantasy_spin_position": "F",
                "fantasy_spin_position_rank": 12,
                "team_key": "TOR",
                "opponent_key": "CHA",
                "opponent_type": "at",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/3\/36\/Toronto_Raptors_logo.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            },
            {
                "fantasy_spin_contest_entry_player_id": 1062,
                "sportsdata_player_id": 20002294,
                "headshot_high_resolution": "http:\/\/35.154.99.45\/bettorfantasy\/bettor_webapi\/public\/images\/sports\/nba\/CHA.png",
                "short_name": "C. Martin",
                "projection": 13.6,
                "result": 0,
                "fantasy_spin_position": "UTIL",
                "fantasy_spin_position_rank": 13,
                "team_key": "CHA",
                "opponent_key": "TOR",
                "opponent_type": "vs",
                "team_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/c\/c4\/Charlotte_Hornets_%282014%29.svg",
                "schedule_date_time_utc": "2024-02-08 00:00:00"
            }
        ]
    }
}
```
> Example response (404):

```json
{
    "message": "FantasySpin contest entry not found!"
}
```
<div id="execution-results-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-"></code></pre>
</div>
<div id="execution-error-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-"></code></pre>
</div>
<form id="form-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" data-method="GET" data-path="fantasy-spin-contests/lineup/{fantasy_spin_contest_entry_id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" onclick="tryItOut('GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" onclick="cancelTryOut('GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>fantasy-spin-contests/lineup/{fantasy_spin_contest_entry_id}</code></b>
</p>
<p>
<label id="auth-GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>fantasy_spin_contest_entry_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="fantasy_spin_contest_entry_id" data-endpoint="GETfantasy-spin-contests-lineup--fantasy_spin_contest_entry_id-" data-component="url" required  hidden>
<br>
Fantasy Spin Contest Entry ID.
</p>
</form>


## Player news and stats

<small class="badge badge-darkred">requires authentication</small>

Use this end point to view player's news and stats

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/player-news-stats?game_id=1&sportsdata_player_id=20000500" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Player details",
    "data": {
        "news": [
            {
                "news_id": 96137,
                "title": "Khris Middleton Sitting Against Nets",
                "time_ago": "13 hours ago",
                "source": "RotoBaller",
                "content": "Milwaukee Bucks forward Khris Middleton (ankle) has been ruled out for Thursday's contest against the Brooklyn Nets. Following Wednesday's narrow road loss to the first-place Boston Celtics, the Bucks will use Thursday's matchup against an inferior opponent to manage the left ankle that shelved Middleton for over a month of action between February and March. Sunday's showdown with the Oklahoma City Thunder marks the veteran sharpshooter's next chance to take the court. Milwaukee's frontcourt could be undermanned with superstar Giannis Antetokounmpo (hamstring) questionable on Thursday, so the glass-cleaning Bobby Portis Jr. may be in for an expanded role. Across 24 games without Middleton this year, Portis is averaging 16.5 points, 7.5 rebounds, 1.6 assists, and 1.4 three-pointers and faces a Nets team that could be without interior presence Nicolas Claxton (illness)."
            },
            {
                "news_id": 96062,
                "title": "Khris Middleton Not Listed On The Injury Report",
                "time_ago": "2 days ago",
                "source": "RotoBaller",
                "content": "Milwaukee Bucks forward Khris Middleton isn't listed on the team's injury report for Wednesday's matchup with Boston. Middleton tweaked his ankle at the beginning of February, resulting in a multi-week stint on the shelf. However, he returned for Sunday's win over the Phoenix Suns. The 32-year-old played better than expected, amassing 22 points, seven rebounds, and one steal in just 25 minutes. Of course, Giannis Antetokounmpo (hamstring) was ruled out, so Middleton had a chance to get more involved offensively. Nonetheless, with Antetokounmpo questionable versus the Celtics, Middleton could end up taking on a more prominent role on the scoring end. He'll also presumably see a slight bump in minutes."
            }
        ],
        "stats": [
            {
                "sportsdata_game_id": 20573,
                "date": "Mar 24",
                "opponent_type": "vs",
                "opponent_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/5\/5d\/Oklahoma_City_Thunder.svg",
                "phase": "Projection",
                "stats": 27.9
            },
            {
                "sportsdata_game_id": 20550,
                "date": "Mar 21",
                "opponent_type": "vs",
                "opponent_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/commons\/4\/44\/Brooklyn_Nets_newlogo.svg",
                "phase": "Final",
                "stats": 0
            },
            {
                "sportsdata_game_id": 20541,
                "date": "Mar 20",
                "opponent_type": "at",
                "opponent_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/8\/8f\/Boston_Celtics.svg",
                "phase": "Final",
                "stats": 38.2
            },
            {
                "sportsdata_game_id": 20519,
                "date": "Mar 17",
                "opponent_type": "vs",
                "opponent_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/d\/dc\/Phoenix_Suns_logo.svg",
                "phase": "Final",
                "stats": 36.1
            },
            {
                "sportsdata_game_id": 20501,
                "date": "Mar 14",
                "opponent_type": "vs",
                "opponent_logo_url": "https:\/\/upload.wikimedia.org\/wikipedia\/en\/0\/0e\/Philadelphia_76ers_logo.svg",
                "phase": "Final",
                "stats": 0
            }
        ]
    }
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "game_id": [
            "The game id field is required."
        ],
        "sportsdata_player_id": [
            "The sportsdata player id field is required."
        ]
    }
}
```
<div id="execution-results-GETplayer-news-stats" hidden>
    <blockquote>Received response<span id="execution-response-status-GETplayer-news-stats"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETplayer-news-stats"></code></pre>
</div>
<div id="execution-error-GETplayer-news-stats" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETplayer-news-stats"></code></pre>
</div>
<form id="form-GETplayer-news-stats" data-method="GET" data-path="player-news-stats" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETplayer-news-stats', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETplayer-news-stats" onclick="tryItOut('GETplayer-news-stats');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETplayer-news-stats" onclick="cancelTryOut('GETplayer-news-stats');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETplayer-news-stats" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>player-news-stats</code></b>
</p>
<p>
<label id="auth-GETplayer-news-stats" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETplayer-news-stats" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="game_id" data-endpoint="GETplayer-news-stats" data-component="query" required  hidden>
<br>
Game ID (1, 2, 3, 4).
</p>
<p>
<b><code>sportsdata_player_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="sportsdata_player_id" data-endpoint="GETplayer-news-stats" data-component="query" required  hidden>
<br>

</p>
</form>



