doesitarm/helpers/app-store/genres.js
2021-06-11 16:30:53 -05:00

83 lines
2.9 KiB
JavaScript

// Source 1: https://42matters.com/docs/app-market-data/ios/apps/appstore-genres
const genresByID = {
'0': ['Mobile Software Application'],
'6018': ['Book'],
'6000': ['Business'],
'6022': ['Catalogs'],
'6017': ['Education'],
'6016': ['Entertainment'],
'6015': ['Finance'],
'6023': ['Food & Drink'],
'6014': ['Games'],
'7001': ['Games', 'Action'],
'7002': ['Games', 'Adventure'],
'7003': ['Games', 'Arcade'],
'7004': ['Games', 'Board'],
'7005': ['Games', 'Card'],
'7006': ['Games', 'Casino'],
'7007': ['Games', 'Dice'],
'7008': ['Games', 'Educational'],
'7009': ['Games', 'Family'],
'7011': ['Games', 'Music'],
'7012': ['Games', 'Puzzle'],
'7013': ['Games', 'Racing'],
'7014': ['Games', 'Role Playing'],
'7015': ['Games', 'Simulation'],
'7016': ['Games', 'Sports'],
'7017': ['Games', 'Strategy'],
'7018': ['Games', 'Trivia'],
'7019': ['Games', 'Word'],
'6013': ['Health & Fitness'],
'6012': ['Lifestyle'],
'6020': ['Medical'],
'6011': ['Music'],
'6010': ['Navigation'],
'6009': ['News'],
'6021': ['Newsstand'],
'6008': ['Photo & Video'],
'6007': ['Productivity'],
'6006': ['Reference'],
'6024': ['Shopping'],
'6005': ['Social Networking'],
'6004': ['Sports'],
'6025': ['Stickers'],
'6003': ['Travel'],
'6002': ['Utilities'],
'6001': ['Weather'],
'6026': ['Developer Tools'],
'6027': ['Graphics & Design'],
'13001': ['Newsstand', 'News & Politics'],
'13002': ['Newsstand', 'Fashion & Style'],
'13003': ['Newsstand', 'Home & Garden'],
'13004': ['Newsstand', 'Outdoors & Nature'],
'13005': ['Newsstand', 'Sports & Leisure'],
'13006': ['Newsstand', 'Automotive'],
'13007': ['Newsstand', 'Arts & Photography'],
'13008': ['Newsstand', 'Brides & Weddings'],
'13009': ['Newsstand', 'Business & Investing'],
'13010': ['Newsstand', 'Children\'s Magazines'],
'13011': ['Newsstand', 'Computers & Internet'],
'13012': ['Newsstand', 'Cooking, Food & Drink'],
'13013': ['Newsstand', 'Crafts & Hobbies'],
'13014': ['Newsstand', 'Electronics & Audio'],
'13015': ['Newsstand', 'Entertainment'],
'13017': ['Newsstand', 'Health, Mind & Body'],
'13018': ['Newsstand', 'History'],
'13019': ['Newsstand', 'Literary Magazines & Journals'],
'13020': ['Newsstand', 'Men\'s Interest'],
'13021': ['Newsstand', 'Movies & Music'],
'13023': ['Newsstand', 'Parenting & Family'],
'13024': ['Newsstand', 'Pets'],
'13025': ['Newsstand', 'Professional & Trade'],
'13026': ['Newsstand', 'Regional News'],
'13027': ['Newsstand', 'Science'],
'13028': ['Newsstand', 'Teens'],
'13029': ['Newsstand', 'Travel & Regional'],
'13030': ['Newsstand', 'Women\'s Interest'],
}
export const allGenres = Array.from( new Set( Object.values(genresByID).map( genreId => genreId.flat(1) ) ))
export default genresByID