Using the X1 JavaScript API
Include the X1 JavaScript API file in your X1 app via the <script> tag:
<script src="https://cdn.thor.comcast.com/sdk/money-badger.min.js"></script>
Once you have included the X1 JavaScript API in your X1 app, it can be accessed in your code via the variable $badger.
Load $badger early
$badger should be the first script loaded in your app's main file. Loading $badger late, or in component files, can result in race conditions and other unintended errors.
Upon approval of your application you will have access to the X1 Javascript API. Your Comcast partner manager will be able to support you with any issues or requesting additional access.