{"_id":"@dublin-digital-radio/airtime-pro-api","_rev":"2-ea518b304be43c1f98d5e76186aa93a2","name":"@dublin-digital-radio/airtime-pro-api","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@dublin-digital-radio/airtime-pro-api","version":"1.0.0","description":"Library for interaction with airtime.pro API - https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Dublin-Digital-Radio/airtime-pro-api.git"},"author":{"name":"Dublin Digital Radio"},"license":"ISC","bugs":{"url":"https://github.com/Dublin-Digital-Radio/airtime-pro-api/issues"},"homepage":"https://github.com/Dublin-Digital-Radio/airtime-pro-api#readme","dependencies":{"axios":"1.x","he":"1.x","lodash":"^4.x"},"devDependencies":{"chai":"^4.3.7","eslint":"^8.31.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.1.1","mocha":"^10.2.0","npm-check-updates":"^16.6.2","nyc":"^15.1.0","prettier":"^2.8.2","sinon":"^15.0.1"},"nyc":{"sourceMap":false},"mocha":{"require":"mocha.conf.js"},"prettier":{"printWidth":100,"singleQuote":true,"arrowParens":"avoid"},"directories":{"test":"test"},"gitHead":"ae89cac2b7cd456d6141ac0d384a8055fb8f3e06","_id":"@dublin-digital-radio/airtime-pro-api@1.0.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-XqHo9Le8wc7IYHVzIB8JiKy9SKyD0uSoj7D+ifU0DMMzkZAmgVWKvbe0HUAsRCzmsErKsBgl7VDLkbhkOX/f4Q==","shasum":"873f898065452e8dbfe0d1bb4b69041f0bac1255","tarball":"https://registry.npmjs.org/@dublin-digital-radio/airtime-pro-api/-/airtime-pro-api-1.0.0.tgz","fileCount":17,"unpackedSize":30225,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNBhvq5UqjhGzzlwMuiXq63+2F4Z6cFBPmVpaNDh/MigIgBGqxDmPgaRqJU9X7VzW/zAzTONSYPlB8p3J5eW2lf6Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKYglACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJBRAApG0IqSF6up5ZV8QC+/w+Ttygx/T30Kuc+A5QkcdwLfdqmHZ3\r\nzy2KLsozFM0kBzQQxOG8JGdZ0ikUoCkEDtSnpPQ8oxnxKNjEcphetfpckGj/\r\nSR7KXskxx8KEhWNVRhAOLHEAdUsBTg6vXw90f9MdaBheQKgAKrgImo8tnmgX\r\n7Vj0BU9XeEHlQiOfA1a5I77SnUon8gkoHgu6n5BAJlR+K+4v+q99dCOHkYAo\r\nlX8crW0MMvOTYVysfrVhnnd4fa/3Ua0QUsCnlNdcXT0JWnKZitXN8OHzCQmT\r\n72PuNnNsC5R/3XKM0Cg0z99kZQQUGtgASaflZOvZfe8FnnfGbyRM5F0IoJWk\r\nNCxc6ej31bWbJsOYnpI9gysDX2WUslS/PinS/r9GTZLeCRqKTYB4l7L5VZoy\r\njownYzL76HtA0JIfR/Q+nmw6RlnYZJiTmWtqcdRrPzk6TGmiZndjlVovqGL5\r\nBR6hI0O7bp0tA5UtpU63SJAwGe+6bZGXqql1sRfsrpjIqCmQNetssit1n75F\r\n7fw3vRZaqsurzGIAMVN0DDXSGAeATebKNAYzT9aRzDGsLVo7ll+P3J3cCHV8\r\ns26NOvQHWxYLBAO9Kv7fmqIwFRSLp+c5Uuav42M8bF2Ugu27C1s0pH4g9/oH\r\n1vxIpm1qzsNpJjsNsWLrG0C+zpgqXVUYzq4=\r\n=arU9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ddr-dev","email":"info@dublindigitalradio.com"},"maintainers":[{"name":"ddr-dev","email":"info@dublindigitalradio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/airtime-pro-api_1.0.0_1680443429191_0.3371234786276216"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dublin-digital-radio/airtime-pro-api","version":"1.0.1","description":"Library for interaction with airtime.pro API - https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API","main":"src/index.js","scripts":{"test":"NODE_ENV=test nyc --reporter=html mocha \".//test/*.spec.js\""},"repository":{"type":"git","url":"git+https://github.com/Dublin-Digital-Radio/airtime-pro-api.git"},"author":{"name":"Dublin Digital Radio"},"license":"ISC","bugs":{"url":"https://github.com/Dublin-Digital-Radio/airtime-pro-api/issues"},"homepage":"https://github.com/Dublin-Digital-Radio/airtime-pro-api#readme","dependencies":{"axios":"1.x","he":"1.x","lodash":"^4.x"},"devDependencies":{"chai":"^4.3.7","eslint":"^8.31.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.1.1","mocha":"^10.2.0","npm-check-updates":"^16.6.2","nyc":"^15.1.0","prettier":"^2.8.2","sinon":"^15.0.1"},"nyc":{"sourceMap":false},"mocha":{"require":"mocha.conf.js"},"prettier":{"printWidth":100,"singleQuote":true,"arrowParens":"avoid"},"directories":{"test":"test"},"gitHead":"119fdc69f50b864aae45ae8767d3bec5189ee173","_id":"@dublin-digital-radio/airtime-pro-api@1.0.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-bQkq2oVObJhLayQJtv5/U6bXnNdnJj4l+Ue16d+z+RMAkXQIKvzezwuTMe2K6pXuXjTrcv1CNckrvGuDfxTJpQ==","shasum":"98af6b3bd777abf2d04ecc28f93fdbaf2c2eabe0","tarball":"https://registry.npmjs.org/@dublin-digital-radio/airtime-pro-api/-/airtime-pro-api-1.0.1.tgz","fileCount":16,"unpackedSize":29596,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/HBTrHCTRcEkzpAiJYRGhyIidLsRD6ELsCl8DF6bZRwIhAK/bXwY6J/FCh1oW8K4eCvkzHWLg5UU2iyDcuz9ExHqN"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKZKjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUjg/7BwCV3mzSSXZZM2p3d112b69eOAo0KdSBoQCaqbHm9B/NgfY2\r\nBJegyxGihNqx81/PSB/dXCCeCbFh7bY/i6BB10V/6D9FXeFi/MJzdFcvaBn2\r\nkHJmjrPhsFjyKmvPX0gt43oHt32OZ2UmpJRswBK1j5K5qJ21NuCKAg50KiE/\r\nMCJwuc3NXr+MWEXMnoBbEscopLcmS3dXrzoyPyg0I4hKSKlJA7lzp7GF7IV1\r\n5tXpMjTL/hCCztX/r9PmNw3tjWXf1GyF9fEzU+7xn3eSAqSZdFS3/vU9OZoK\r\nlKiSSxDkBWFGCy+OYaRg7OheA6vymhFUXVdwbN0yFgUw+Nyls+J/cjnlA0Ge\r\nf1ZfTEttHwxj9gHalzphmcTqKr1YogsgM85LLBMcUmUBTHOFRvU7c3J2wxbr\r\nRTbpMqryVoK/30coTgUIcTZMmdTPszeJPxrg+YOytht/pcklxKEl/25mYHhL\r\nK+c34Ah6EYcj5PWruo+slB3UnGwlT+jKR0QNo+3G+PMKS9rYmnK0gZkHnz6u\r\nVyTNII6aKQaSXJfuCRn/6LkuTmSIT2ia5BblAb0JprK/j8vUS5dyJJwwc++m\r\n1KRoLx1uh4ImAuDqwG+lWvDwF25056o9oZt1U2uOSI7HItmwoYNINr5iev/0\r\n+V54eO5+HCPhjB6i0d8QjNjMxU9tyunCZK0=\r\n=iVsT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ddr-dev","email":"info@dublindigitalradio.com"},"maintainers":[{"name":"ddr-dev","email":"info@dublindigitalradio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/airtime-pro-api_1.0.1_1680446114780_0.5071156811609661"},"_hasShrinkwrap":false},"1.0.2":{"name":"@dublin-digital-radio/airtime-pro-api","version":"1.0.2","description":"Library for interaction with airtime.pro API - https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API","main":"src/index.js","scripts":{"test":"NODE_ENV=test nyc --reporter=html mocha \".//test/*.spec.js\""},"repository":{"type":"git","url":"git+https://github.com/Dublin-Digital-Radio/airtime-pro-api.git"},"author":{"name":"Dublin Digital Radio"},"license":"ISC","bugs":{"url":"https://github.com/Dublin-Digital-Radio/airtime-pro-api/issues"},"homepage":"https://github.com/Dublin-Digital-Radio/airtime-pro-api#readme","dependencies":{"axios":"1.x","he":"1.x","lodash":"^4.x"},"devDependencies":{"chai":"^4.3.7","eslint":"^8.31.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.1.1","mocha":"^10.2.0","npm-check-updates":"^16.6.2","nyc":"^15.1.0","prettier":"^2.8.2","sinon":"^15.0.1"},"nyc":{"sourceMap":false},"mocha":{"require":"mocha.conf.js"},"prettier":{"printWidth":100,"singleQuote":true,"arrowParens":"avoid"},"directories":{"test":"test"},"types":"./src/index.d.ts","gitHead":"8ce3a449ae29cd7e29c2092165e6c93565956f31","_id":"@dublin-digital-radio/airtime-pro-api@1.0.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-m0OmODwLNoPTeDL2Xy8eMEq3AOTGtyzcfBYkaawWHbBF4uQeRFsJzz25F2JmRggYLA94Hnqd8y0tzXHMM17/lQ==","shasum":"b3cb134399f964090e14fc6c654645a010031988","tarball":"https://registry.npmjs.org/@dublin-digital-radio/airtime-pro-api/-/airtime-pro-api-1.0.2.tgz","fileCount":17,"unpackedSize":30095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk8MsS2kHnbf8BNC381D/OF5kD6QHD8+xm5oW4AVCVeAIgMTezKGgX4QnDG5hahx5A1E2wE8q3l7wwd914BQ3uXTk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKZZtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplohAAiziGPZXaBaJsVyWsAGdnpYdV9hAJTBCNO+JQfLaNRinalFXC\r\n7sUYr6GCOdavic8yYIrQRKra3h5cAFsQvlAsn1eWpQZlF3jjw+swAwXiIIIV\r\nNJw+o+qEilAqljISj5p2F4ovOMJC/Egy6qkAXQVTqhv1kSrFEpMpnxMUOSGB\r\njORGbPBMYzHtZy+BhdtsW7KqFKD7hAytjrbYUxN9HbWLUD0QyecSqf0h0sYs\r\nI9rwCexldAYF54RHEs6umrIXrM5AhUQ8bVehQT+z2waEqfLeRWxEkkUnjEsT\r\nbM+Fkj9HDM7yrKC2Oidhg9WRpTLnMUmuik7Lw7ayM3fjf/W2av3lYomo5bd/\r\nibCcXFVCrOID8LBumu5M89ujFXnSzpY5NZblgO3xm10fhnaifWL9az7myOVT\r\neCdTvhPo8sgrsrznpbe2WBZUl/lXubC/dhJM9ZxYOTNbRm7tj+mDvrBD4qSb\r\nL7up6YoSLJTKr/sm5oER2eep4Xb5A0dm+JwCHao2BFrj6sF3ZDBAx1SWiO2Y\r\n6sQzNfqMlg/zGZh/6ltQNeRixFllLJP5dphaRMJ23Bg6FiHXHbxnHwaE0bPz\r\nxowOMq5MxEavLg2qOCuN4lvvmppDCi8cG4YnXRUjVU2hRF207CsQW50mijLv\r\nRwsaOo/hgsOf0CNfHWlQ1vmEBNicEsMdzXQ=\r\n=qh3w\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ddr-dev","email":"info@dublindigitalradio.com"},"maintainers":[{"name":"ddr-dev","email":"info@dublindigitalradio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/airtime-pro-api_1.0.2_1680447085058_0.00036690957760709964"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-02T13:50:29.133Z","1.0.0":"2023-04-02T13:50:29.383Z","modified":"2023-04-02T14:51:25.344Z","1.0.1":"2023-04-02T14:35:14.995Z","1.0.2":"2023-04-02T14:51:25.220Z"},"maintainers":[{"name":"ddr-dev","email":"info@dublindigitalradio.com"}],"description":"Library for interaction with airtime.pro API - https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API","homepage":"https://github.com/Dublin-Digital-Radio/airtime-pro-api#readme","repository":{"type":"git","url":"git+https://github.com/Dublin-Digital-Radio/airtime-pro-api.git"},"author":{"name":"Dublin Digital Radio"},"bugs":{"url":"https://github.com/Dublin-Digital-Radio/airtime-pro-api/issues"},"license":"ISC","readme":"# Overview\nThis wraps queries to the [Airtime Pro API](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API)\n\nThis is currently *beta quality*.\n\n# Example\n\n```js\nconst airtime = require('airtime-pro-api');\nconst a = airtime.init({ stationName: 'sourcefabric' });\n\na.stationMetadata().then(x => console.log(x))\n\n{\n  AIRTIME_API_VERSION: '1.1',\n  name: 'Sourcefabric 90.8 FM',\n  tags: '',\n  logo: 'http://sourcefabric.airtime.pro:80/api/station-logo',\n  description: 'Proudly powered by Airtime Pro!',\n  timezone: 'Europe/London',\n  locale: 'en_CA',\n  stream_data: {\n    s1: {\n      url: 'https://sourcefabric.out.airtime.pro/sourcefabric_a',\n      codec: 'mp3',\n      bitrate: 192,\n      mobile: '0'\n    },\n    s2: {\n      url: 'https://sourcefabric.out.airtime.pro/sourcefabric_b',\n      codec: 'mp3',\n      bitrate: 128,\n      mobile: '0'\n    }\n  }\n}\n```\n\n# Functions\n\n## liveInfoV2:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Clive_info_v2%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - timezone (string) - optional\n  - days (number) - optional\n  - shows (number) - optional\n\n## liveInfo:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Clive_info%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - type (string) - optional\n  - limit (number) - optional\n\n## weekInfo:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Cweek_info%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - timezone (string) - optional\n\n## stationMetadata:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Cstation_metadata%E2%80%9D)\n\n\n## stationLogo:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Cstation_logo%E2%80%9D)\n\n\n## shows:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Cshows%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - showID (number) - optional\n\n## showLogo:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Cshow_logo%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - showID (number) - required\n\n## itemHistoryFeed:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Citem_history_feed%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - start (string) - optional\n  - end (string) - optional\n  - timezone (string) - optional\n  - showID (number) - optional\n\n## showTracks:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Cshow_tracks%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - showID (number) - required\n\n## showSchedules:\n[Airtime documentation](https://help.sourcefabric.org/hc/en-us/articles/115000382243-Airtime-Pro-API#%E2%80%9Cshow_schedules%E2%80%9D)\n\nThis function takes a single parameter - an object containing the following:\n  - showID (number) - required\n","readmeFilename":"README.md"}