<commit_before><commit_msg>Add notebook to demo functionality<commit_after>{"cells":[{"metadata":{"trusted":true},"cell_type":"code","source":"import deezer","execution_count":1,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"client = deezer.Client()","execution_count":2,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"client.get_album(680407).title","execution_count":3,"outputs":[{"output_type":"execute_result","execution_count":3,"data":{"text/plain":"'Monkey Business'"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"results = client.search('Black eyed peas')","execution_count":5,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"top_result = results[0]\ntop_result","execution_count":8,"outputs":[{"output_type":"execute_result","execution_count":8,"data":{"text/plain":"<Track: I Gotta Feeling>"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"top_result.type","execution_count":9,"outputs":[{"output_type":"execute_result","execution_count":9,"data":{"text/plain":"'track'"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"bep = top_result.artist\nbep","execution_count":12,"outputs":[{"output_type":"execute_result","execution_count":12,"data":{"text/plain":"<Artist: Black Eyed Peas>"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"bep.get_albums()","execution_count":13,"outputs":[{"output_type":"execute_result","execution_count":13,"data":{"text/plain":"[<Album: MASTERS OF THE SUN VOL. 1>,\n <Album: Invasion Of Imma Be Rocking That Body - Megamix E.P.>,\n <Album: The Beginning>,\n <Album: The Beginning (Deluxe)>,\n <Album: The Beginning & The Best Of The E.N.D. (International Mega-Deluxe Version)>,\n <Album: The Time (Dirty Bit)>,\n <Album: THE E.N.D. (THE ENERGY NEVER DIES) (International Version)>,\n <Album: Invasion Of I Gotta Feeling - Megamix E.P.>,\n <Album: THE E.N.D. (THE ENERGY NEVER DIES) (Deluxe Version)>,\n <Album: Invasion Of Meet Me Halfway - Megamix E.P.>,\n <Album: Invasion Of Meet Me Halfway - Megamix E.P. (International Version)>,\n <Album: Renegotiations: The Remixes>,\n <Album: Monkey Business>,\n <Album: Let's Get It Started>,\n <Album: Elephunk>,\n <Album: Bridging The Gap>,\n <Album: Behind The Front>,\n <Album: eXplosion>,\n <Album: Be Nice>,\n <Album: GET IT>,\n <Album: STREET LIVIN'>,\n <Album: #WHERESTHELOVE>,\n <Album: Rock That Body (International Version)>,\n <Album: I Gotta Feeling>,\n <Album: I Gotta Feeling (International Version)>]"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"bep.get_radio()","execution_count":16,"outputs":[{"output_type":"execute_result","execution_count":16,"data":{"text/plain":"[<Track: I Gotta Feeling>,\n <Track: Baianá>,\n <Track: Lay Your Head On Me>,\n <Track: Say My Name>,\n <Track: Hips Don't Lie>,\n <Track: Turn Me On>,\n <Track: RITMO (Bad Boys For Life)>,\n <Track: Lose Control>,\n <Track: Promises>,\n <Track: Where Is The Love?>,\n <Track: Taki Taki>,\n <Track: Instagram>,\n <Track: Tusa>,\n <Track: The Other Side (from Trolls World Tour)>,\n <Track: Titanium (feat. Sia)>,\n <Track: Pump It>,\n <Track: Bad Child>,\n <Track: Trampoline>,\n <Track: React>,\n <Track: Dance Monkey>,\n <Track: CAN'T STOP THE FEELING! (Original Song from DreamWorks Animation's \"TROLLS\")>,\n <Track: Loco Contigo>,\n <Track: Piece Of Your Heart>,\n <Track: Giant>,\n <Track: China>]"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"the_end = top_result.album\nthe_end","execution_count":19,"outputs":[{"output_type":"execute_result","execution_count":19,"data":{"text/plain":"<Album: THE E.N.D. (THE ENERGY NEVER DIES) (Deluxe Version)>"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"the_end.get_tracks()","execution_count":20,"outputs":[{"output_type":"execute_result","execution_count":20,"data":{"text/plain":"[<Track: Boom Boom Pow (Album Version)>,\n <Track: Rock That Body (Album Version)>,\n <Track: Meet Me Halfway (Album Version)>,\n <Track: Imma Be>,\n <Track: I Gotta Feeling>,\n <Track: Alive (Album Version)>,\n <Track: Missing You (Album Version)>,\n <Track: Ring-A-Ling (Album Version)>,\n <Track: Party All The Time (Album Version)>,\n <Track: Out Of My Head (Album Version)>,\n <Track: Electric City (Album Version)>,\n <Track: Showdown (Album Version)>,\n <Track: Now Generation (Album Version)>,\n <Track: One Tribe (Album Version)>,\n <Track: Rockin To The Beat (Album Version)>,\n <Track: Where Ya Wanna Go (New Album Version)>,\n <Track: Simple Little Melody (Album Version)>,\n <Track: Mare (Album Version)>,\n <Track: Don't Bring Me Down (Album Version)>,\n <Track: Pump It Harder (Album Version)>,\n <Track: Let's Get Re-Started (Album Version)>,\n <Track: Shut The Phunk Up (New Album Version)>,\n <Track: That's The Joint (Album Version)>,\n <Track: Another Weekend (Album Version)>,\n <Track: Don't Phunk Around (Album Version)>]"},"metadata":{}}]},{"metadata":{"trusted":true},"cell_type":"code","source":"","execution_count":null,"outputs":[]}],"metadata":{"kernelspec":{"name":"python3","display_name":"Python 3","language":"python"},"language_info":{"name":"python","version":"3.7.6","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat":4,"nbformat_minor":4}
{'fraction_non_alphanumeric': 0.23483187134502925, 'fraction_numerical': 0.008406432748538011, 'mean_word_length': 9.210820895522389, 'pattern_counts': {'":': 130, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7263050', 'n_tokens_mistral': 1938, 'n_tokens_neox': 1764, 'n_words': 403}