# **PPL App APIs**
## **Events**
**- Past Event**
https://{{domain}}/en/api/events/mobile/{{api.version}}/summary
Provides
- Categories for Event types (Millions, WPT, WSOP).
- Countries list.
- Basic info on all Venues.
- Basic info on Current events running.
- Basic info on Upcoming events.
<hr />
**- Current and Upcoming Events**
https://{{domain}}/appapi/events/mobile/{{api.version}}/current-and-upcoming
Provides
- Information for current and upcoming events (only).
<hr />
**- Upcoming**
https://{{domain}}/en/api/events/mobile/{{api.version}}/upcoming/151
Provides info based on event ID
- Basic Event info.
- Promotions.
- Schedules associated with event.
- Venue information.
<hr />
**- Payout Results**
https://{{domain}}/appapi/events/mobile/{{api.version}}/payouts/121
Provides info based on event ID
- List of completed payouts in order of position.
*Example Data*
{
"position": "1",
"positionNumber": "1",
"prize": "€906,770",
"player": "Lukáš Záškodný",
"country": "CZ",
"country_code": "cz",
"flag": "https://mypartypokerlive.com/assets/flags/4x3/cz.png"
},
<hr />
**- Past Event**
https://{{domain}}/en/api/events/mobile/{{api.version}}/past/151
Provides info based on event ID
- Basic Event info.
- Basic info for each Schedule related to event.
<hr />
**- Schedules**
https://{{domain}}/en/api/events/mobile/{{api.version}}/schedules/48
Provides info based on event ID
- Basic Event info.
- List of schedules and data relating to event.
*example data for event*
{
"id": 151,
"title": "WPT Barcelona",
"prizepool": 3000000,
"prizepool_str": "€3M GTD",
"festival_prizepool": 5665000,
"festival_prizepool_str": "€5.6M GTD",
"event_prizepool": 3000000,
"event_prizepool_str": "€3M GTD",
"slug": "wpt-barcelona-2019",
"banner_image": "https://res.cloudinary.com/partypoker-live/image/upload/83f2bfb8e607da19860277f67fcee6f6",
"start_date": "2019-03-03T00:00:00+00:00",
"end_date": "2019-03-17T23:59:00+00:00",
},
{
"schedules": LIST OF SCHEDULES HERE
}
<hr />
## **Schedules**
**- Payouts**
https://{{domain}}/appapi/schedules/mobile/{{api.version}}/payouts/1106
Provides info based on schedule ID
- List of payouts in position order.
*Example data*
{
"payouts": [
{
"position": "1",
"positionNumber": "1",
"prize": "€143,000",
"player": "Oliver Huber",
"country": "DE",
"country_code": "de",
"flag": "https://mypartypokerlive.com/assets/flags/4x3/de.png"
},
}
<hr />
**- Structures**
https://{{domain}}/appapi/schedules/mobile/{{api.version}}/structures/1106
Provides info based on schedule ID
- Title of a DAY which is part of a SCHEDULE. (A schedule can have many days).
- Each days Levels
*Example data*
{
"title": "1A",
"levels": [
{
"type": "Blinds",
"small_blind": 5000,
"big_blind": 10000,
"ante": null,
"button_ante": 5000,
"duration": 40,
"note": null
},
}
<hr />
**- Results**
https://{{domain}}/appapi/schedules/mobile/{{api.version}}/results/1106
Provides info based on schedule ID
- Day Title.
- Live reporting information for each day
- Level Info
- Overall players info.
- Overall event info.
*Live reporting Example data*
{
"title": "Open",
"days": [
{
"id": 404,
"title": "1A",
"live_reports": [
{
"id": 10778,
"excerpt": "<p>The <strong>partypokerLIVE </strong><strong>MILLIONS Germany Open Day 1A </strong>has drawn to a close. A total of 145 players bought in for a shot at building a stack to take through to Day 2 on Monday, but after 12 levels of poker at 40 minutes a piece, only 35 were successful. </p>",
"image": "https://res.cloudinary.com/partypoker-live/image/upload/4f38e989dca501f75ac58a75c56b1a37",
"slug": "renato-nomura-flies-the-flag-for-partypoker-team-online-in-millions-germany-open-day-1a",
"title": "Renato Nomura Flies the Flag for partypoker Team Online in MILLIONS Germany Open Day 1A",
"date": "2018-02-10T23:37:00+00:00"
},
"level_info": {
"level": null,
"blinds": "0/0",
"blinds_short": "0/0",
"ante": "0"
},
"player_info": {
"players_left": 41,
"entries": 145,
"total_chips": 145000000,
"avg_stack": 3536585,
"players_left_across_flights": 303,
"entries_across_flights": 976,
"total_chips_across_flights": 0,
"avg_chips_across_flights": 0
},
"event_info": {
"current_live_entries": null,
"current_online_entries": null,
"current_total_entries": 0
},
"webview_url": null,
"webview_banner": null,
"live_reporting_url": null
},
}