Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blissfest should not use hardcoded config #35

Open
h3mmy opened this issue Feb 4, 2024 · 1 comment
Open

blissfest should not use hardcoded config #35

h3mmy opened this issue Feb 4, 2024 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@h3mmy
Copy link
Owner

h3mmy commented Feb 4, 2024

Ideally we should be using the official website as a source, or document the configuration a bit better.

@h3mmy h3mmy added bug Something isn't working documentation Improvements or additions to documentation labels Feb 4, 2024
@h3mmy
Copy link
Owner Author

h3mmy commented Feb 4, 2024

I wish blissfest had an API.

The ticketing system is showclix which does have an API

From showclix.com/api/listings/blissfest2024/9297272/info

{
  "insurance": null,
  "gatewaySettings": {
    "type": 14,
    "key": "pk_live_51HSRhxG1UTLgOA2Xl57sRzvmKbeSbHMzj6qlClvlcqGj4aVxR8Miiipg0yx3CO4iln62xvoDFzqU1vXANSc9ZiIN00hWBkz7w3",
    "location": null,
    "country": null,
    "locale": null
  },
  "event": {
    "attributes": {
      "events": {
        "9297272": {
          "event": {
            "event_id": 9297272,
            "name": "Blissfest Folk & Roots Festival",
            "description": "<table id=\"m_6104703305725847623m_1685937731798856179emailFieldsTable\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"5\"><tbody id=\"m_6104703305725847623m_1685937731798856179emailFieldsTableBody\"><tr id=\"m_6104703305725847623m_1685937731798856179row_195\"><td id=\"m_6104703305725847623m_1685937731798856179value_195\" width=\"70%\"><p>The Annual Blissfest Music Festival is a celebration of music, culture, art, and community featuring a world of diverse and innovative folk, world and roots music, and dance at the Festival Farm in picturesque rural northern Michigan.</p></td></tr></tbody></table>",
            "category": "Festival",
            "start": "2024-07-12 09:00:00",
            "end": "2024-07-14 23:55:00",
            "image": null,
            "isOnsale": true,
            "isCanceled": false,
            "isPaused": false,
            "hasCoupons": true,
            "hasPresale": false,
            "hasPlAccess": true,
            "hasReserveCoupon": false,
            "onsaleDate": null,
            "isRecurring": false,
            "isPackage": false,
            "tos_url": "http://www.showclix.com/terms-of-service",
            "do_not_sell_url": "https://www.showclix.com/legal/do-not-sell",
            "contact_url": "https://support.showclix.com/s/",
            "privacy_url": "https://www.showclix.com/privacy-policy",
            "custom_get_seat_message": "",
            "defaultJsLocale": "en-US",
            "defaultServerLocale": "en_US",
            "series_child_event_additional_info": null
          },
          "products": [
            {
              "product_id": "17234",
              "eventId": "9297272",
              "name": "Parking Pass",
              "description": "1 per vehicle required, limit 2 vehicles per site",
              "images": null,
              "is_deliverable": true,
              "price": {"currency": "USD", "symbol": "$", "amount": 1000},
              "shipping_cost": {
                "currency": "USD",
                "symbol": "$",
                "amount": 0
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 100
              },
              "transaction_limit": "10",
              "single_configuration": true,
              "configurations": [
                {
                  "optionName": "",
                  "product_configuration_id": "35264",
                  "product_option_value_id": "35254",
                  "description": null,
                  "display_name": "",
                  "limit": "10"
                }
              ],
              "purchasable_without_tickets": true,
              "position": 0
            },
            {
              "product_id": "17237",
              "eventId": "9297272",
              "name": "Taste of Bliss (Print @ Home)",
              "description": "21+ Includes 4 Drink Tickets\r\n**Does not Include Festival Admission**",
              "images": null,
              "is_deliverable": false,
              "price": {"currency": "USD", "symbol": "$", "amount": 2500},
              "shipping_cost": {
                "currency": "USD",
                "symbol": "$",
                "amount": 0
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 100
              },
              "transaction_limit": "10",
              "single_configuration": true,
              "configurations": [
                {
                  "optionName": "",
                  "product_configuration_id": "35269",
                  "product_option_value_id": "35259",
                  "description": null,
                  "display_name": "",
                  "limit": "10"
                }
              ],
              "purchasable_without_tickets": true,
              "position": 1
            }
          ],
          "bundles": [],
          "venue": {
            "venue_id": "64139",
            "name": "Blissfest Festival Farm",
            "description": "",
            "address": {
              "address_line_1": "3695 Division Road",
              "city": "Harbor Springs",
              "region": "MI",
              "postal_code": "49740",
              "country": "US",
              "timezone": "America/New_York"
            }
          },
          "seller_id": "29334",
          "seller_organization": "Blissfest",
          "event_id": "9297272",
          "reserved_seating": {
            "usesSeatsio": false,
            "publicKey": "1c8511e2-b4f7-4987-ac1c-06fbe01138e0",
            "eventId": "9297272",
            "useServerSideBestAvailable": false,
            "hideBestAvailable": false,
            "onlyShowBestAvailable": false,
            "incrementBy": 1,
            "defaultPriceLevelName": null,
            "hidePremierePriceDiscount": false,
            "isPyos": false,
            "allowOrphanSeats": true,
            "orphanSeatMessage": "Please do not leave single spaces between seats.",
            "usesLabels": false
          },
          "price_levels": [
            {
              "price_level_id": "41693105",
              "parent_id": null,
              "eventId": "9297272",
              "name": "Adult Weekend (18+)",
              "description": "",
              "pwyw": false,
              "price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 20500
              },
              "min_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 20500
              },
              "max_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 20500
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 300
              },
              "minimum_purchase_limit": 0,
              "transaction_limit": "12",
              "increment_by": 1,
              "position": "2",
              "seating_chart_category_key": null,
              "is_seated": false
            },
            {
              "price_level_id": "41693106",
              "parent_id": null,
              "eventId": "9297272",
              "name": "Saturday Adult (No Camping)",
              "description": "",
              "pwyw": false,
              "price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 10000
              },
              "min_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 10000
              },
              "max_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 10000
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 300
              },
              "minimum_purchase_limit": 1,
              "transaction_limit": "10",
              "increment_by": 1,
              "position": "6",
              "seating_chart_category_key": null,
              "is_seated": false
            },
            {
              "price_level_id": "41693107",
              "parent_id": null,
              "eventId": "9297272",
              "name": "Sunday Adult (No Camping)",
              "description": "",
              "pwyw": false,
              "price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 5000
              },
              "min_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 5000
              },
              "max_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 5000
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 300
              },
              "minimum_purchase_limit": 0,
              "transaction_limit": "10",
              "increment_by": 1,
              "position": "8",
              "seating_chart_category_key": null,
              "is_seated": false
            },
            {
              "price_level_id": "41693108",
              "parent_id": null,
              "eventId": "9297272",
              "name": "Teen Weekend (13-17)",
              "description": "",
              "pwyw": false,
              "price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 8500
              },
              "min_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 8500
              },
              "max_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 8500
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 300
              },
              "minimum_purchase_limit": 0,
              "transaction_limit": "10",
              "increment_by": 1,
              "position": "4",
              "seating_chart_category_key": null,
              "is_seated": false
            },
            {
              "price_level_id": "41693109",
              "parent_id": null,
              "eventId": "9297272",
              "name": "Teen Saturday Ticket (13-17 yrs)",
              "description": "",
              "pwyw": false,
              "price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 5000
              },
              "min_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 5000
              },
              "max_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 5000
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 300
              },
              "minimum_purchase_limit": 0,
              "transaction_limit": "10",
              "increment_by": 1,
              "position": "7",
              "seating_chart_category_key": null,
              "is_seated": false
            },
            {
              "price_level_id": "41693110",
              "parent_id": null,
              "eventId": "9297272",
              "name": "Child (12 & Under)",
              "description": "",
              "pwyw": false,
              "price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 0
              },
              "min_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 0
              },
              "max_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 0
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 0
              },
              "minimum_purchase_limit": 0,
              "transaction_limit": "12",
              "increment_by": 1,
              "position": "5",
              "seating_chart_category_key": null,
              "is_seated": false
            },
            {
              "price_level_id": "41693113",
              "parent_id": null,
              "eventId": "9297272",
              "name": "Teen Sunday Ticket (13-17 yrs)",
              "description": "",
              "pwyw": false,
              "price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 2500
              },
              "min_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 2500
              },
              "max_price": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 2500
              },
              "service_fee": {
                "currency": "USD",
                "currency_symbol": "$",
                "price": 200
              },
              "minimum_purchase_limit": 0,
              "transaction_limit": "10",
              "increment_by": 1,
              "position": "9",
              "seating_chart_category_key": null,
              "is_seated": false
            }
          ],
          "section_price_levels": [],
          "section_fee_map": [],
          "listing_settings_id": null,
          "slug": "",
          "config": []
        }
      },
      "partner": {
        "partner_id": "1",
        "name": "ShowClix",
        "slug": "showclix",
        "tos_url": "http://www.showclix.com/terms-of-service",
        "home_url": "http://www.showclix.com",
        "privacy_url": "https://www.showclix.com/privacy-policy",
        "contact_url": "https://support.showclix.com/s/",
        "copyright": "ShowClix",
        "copyright_year": "2024",
        "copyright_behalf": ""
      },
      "contactInfo": [],
      "currencyConfig": {
        "symbol": "$",
        "thousandsSeparator": ",",
        "decimalPoint": ".",
        "decimalPlaces": 2,
        "prefixCurrency": true
      },
      "settings": {
        "chargeDeliveryFeeOnFree": true,
        "collectAddressesOnFree": true
      },
      "listingSoldOut": false,
      "listingId": "7307",
      "shouldFetchUpsells": false
    }
  },
  "maintenance": {"maintenanceMode": false},
  "customerCare": false,
  "alternateGateways": [
    {
      "type": null,
      "key": null,
      "location": null,
      "country": null,
      "locale": null
    }
  ],
  "errors": []
}

@h3mmy h3mmy changed the title blissfest date is still using config for 2023 blissfest should not use hardcoded config Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
Status: Todo
Development

No branches or pull requests

1 participant