podcast-categories
v2.0.0
Published
An export of all iTunes Podcast Connect categories
Downloads
805
Maintainers
Readme
podcast-categories
Exports and object of Apple Podcasts Connect categories.
Installation
$ npm install podcast-categories
Usage
const podcastCategories = require('podcast-categories')
const get = require('lodash.get')
function isValidCategory(category, subcategory) {
return !!get(podcastCategories, `${category}.${subcategory}`)
}
API
Literally exports an object of all valid Apple podcast categories.
// https://help.apple.com/itc/podcasts_connect/?lang=en#/itc9267a2f12
module.exports = {
'Arts': {
'Design': true,
'Fashion & Beauty': true,
'Food': true,
'Literature': true,
'Performing Arts': true,
'Visual Arts': true
},
'Business': {
'Business News': true,
'Careers': true,
'Investing': true,
'Management & Marketing': true,
'Shopping': true
},
'Comedy': {},
'Education': {
'Educational Technology': true,
'Higher Education': true,
'K-12': true,
'Language Courses': true,
'Training': true
},
'Games & Hobbies': {
'Automotive': true,
'Aviation': true,
'Hobbies': true,
'Other Games': true,
'Video Games': true
},
'Government & Organizations': {
'Local': true,
'National': true,
'Non-Profit': true,
'Regional': true
},
'Health': {
'Alternative Health': true,
'Fitness & Nutrition': true,
'Self-Help': true,
'Sexuality': true
},
'Kids & Family': {},
'Music': {},
'News & Politics': {},
'Religion & Spirituality': {
'Buddhism': true,
'Christianity': true,
'Hinduism': true,
'Islam': true,
'Judaism': true,
'Other': true,
'Spirituality': true
},
'Science & Medicine': {
'Medicine': true,
'Natural Sciences': true,
'Social Sciences': true
},
'Society & Culture': {
'History': true,
'Personal Journals': true,
'Philosophy': true,
'Places & Travel': true
},
'Sports & Recreation': {
'Amateur': true,
'College & High School': true,
'Outdoor': true,
'Professional': true
},
'Technology': {
'Gadgets': true,
'Tech News': true,
'Podcasting': true,
'Software How-To': true
},
'TV & Film': {}
}