[{"data":1,"prerenderedAt":238},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-introduction":75,"-getting-started-introduction-surround":235},[4,30],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,14,18,22,26],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F3.installation",{"title":19,"path":20,"stem":21},"Use Cases","\u002Fgetting-started\u002Fuse-cases","1.getting-started\u002F4.use-cases",{"title":23,"path":24,"stem":25},"Quality Assurance","\u002Fgetting-started\u002Fquality-assurance","1.getting-started\u002F5.quality-assurance",{"title":27,"path":28,"stem":29},"Migration from v1","\u002Fgetting-started\u002Fmigration","1.getting-started\u002F6.migration",{"title":31,"path":32,"stem":33,"children":34,"page":6},"Api Reference","\u002Fapi-reference","2.api-reference",[35,39,43,47,51,55,59,63,67,71],{"title":36,"path":37,"stem":38},"API Reference","\u002Fapi-reference\u002Foverview","2.api-reference\u002F1.overview",{"title":40,"path":41,"stem":42},"Infos & Options","\u002Fapi-reference\u002Finfos-options","2.api-reference\u002F10.infos-options",{"title":44,"path":45,"stem":46},"Search Module","\u002Fapi-reference\u002Fsearch","2.api-reference\u002F2.search",{"title":48,"path":49,"stem":50},"User Module","\u002Fapi-reference\u002Fuser","2.api-reference\u002F3.user",{"title":52,"path":53,"stem":54},"Album Module","\u002Fapi-reference\u002Falbum","2.api-reference\u002F4.album",{"title":56,"path":57,"stem":58},"Artist Module","\u002Fapi-reference\u002Fartist","2.api-reference\u002F5.artist",{"title":60,"path":61,"stem":62},"Playlist Module","\u002Fapi-reference\u002Fplaylist-track","2.api-reference\u002F6.playlist-track",{"title":64,"path":65,"stem":66},"Charts Module","\u002Fapi-reference\u002Fcharts-editorial","2.api-reference\u002F7.charts-editorial",{"title":68,"path":69,"stem":70},"Genre Module","\u002Fapi-reference\u002Fgenre-radio","2.api-reference\u002F8.genre-radio",{"title":72,"path":73,"stem":74},"Podcast Module","\u002Fapi-reference\u002Fpodcast-episode-comment","2.api-reference\u002F9.podcast-episode-comment",{"id":76,"title":11,"body":77,"description":228,"extension":229,"links":230,"meta":231,"navigation":232,"path":12,"seo":233,"stem":13,"__hash__":234},"docs\u002F1.getting-started\u002F2.introduction.md",{"type":78,"value":79,"toc":215},"minimark",[80,92,97,100,145,149,154,166,170,173,177,188,192,204,208],[81,82,83,84,91],"p",{},"Deezer Public API is a high-level wrapper around the ",[85,86,90],"a",{"href":87,"rel":88},"https:\u002F\u002Fdevelopers.deezer.com\u002Fapi",[89],"nofollow","Deezer Developers API",". It provides a clean, type-safe interface for searching and fetching data about artists, albums, tracks, playlists, users, and more.",[93,94,96],"h2",{"id":95},"why-version-2","Why Version 2?",[81,98,99],{},"Version 2 is a complete rewrite of the library from the ground up, focusing on:",[101,102,103,111,121,127,133,139],"ul",{},[104,105,106,110],"li",{},[107,108,109],"strong",{},"Type Safety",": Moving from plain JavaScript to TypeScript with extensive interface definitions.",[104,112,113,116,117,120],{},[107,114,115],{},"Zero Runtime Dependencies",": The package has ",[107,118,119],{},"0 external dependencies"," at runtime, reducing your attack surface and keeping your project lightweight.",[104,122,123,126],{},[107,124,125],{},"Schema Integrity",": Response types match the real Deezer API structure and are continuously validated against live data.",[104,128,129,132],{},[107,130,131],{},"Native Standards",": Uses the built-in Fetch API, avoiding bloated third-party HTTP clients.",[104,134,135,138],{},[107,136,137],{},"Modern ESM",": Optimized for modern Node.js environments while maintaining CommonJS compatibility.",[104,140,141,144],{},[107,142,143],{},"Improved DX",": Intuitive search builder and native pagination helpers that reduce boilerplate.",[93,146,148],{"id":147},"core-concepts","Core Concepts",[150,151,153],"h3",{"id":152},"the-client","The Client",[81,155,156,157,161,162,165],{},"Everything starts with the ",[158,159,160],"code",{},"DeezerPublicApi"," class. It manages the base URL, rate limiting, and core request logic. You can also provide a custom ",[158,163,164],{},"userAgent"," to identify your application to Deezer.",[150,167,169],{"id":168},"modules","Modules",[81,171,172],{},"API endpoints are grouped into modules (Album, Artist, Search, etc.). This modular approach makes the API easy to explore and use.",[150,174,176],{"id":175},"pagination","Pagination",[81,178,179,180,183,184,187],{},"Unlike the standard API which gives you simple URLs for next\u002Fprev pages, this library wraps them into ",[158,181,182],{},"next()"," and ",[158,185,186],{},"prev()"," methods that you can await directly.",[93,189,191],{"id":190},"real-world-usage","Real-world Usage",[81,193,194,195,200,201,203],{},"See how projects like ",[85,196,199],{"href":197,"rel":198},"https:\u002F\u002Fgithub.com\u002Fnukeop\u002Fnuclear",[89],"Nuclear Music Player"," and thousands of Discord bots use this library in our ",[85,202,19],{"href":20}," guide.",[93,205,207],{"id":206},"public-api-only","Public API Only",[81,209,210,211,214],{},"This library is designed for the ",[107,212,213],{},"Public API",", meaning you can start using it immediately without registering for an API key or handling complex OAuth flows. It focuses on data that is openly available on the Deezer platform.",{"title":216,"searchDepth":217,"depth":217,"links":218},"",2,[219,220,226,227],{"id":95,"depth":217,"text":96},{"id":147,"depth":217,"text":148,"children":221},[222,224,225],{"id":152,"depth":223,"text":153},3,{"id":168,"depth":223,"text":169},{"id":175,"depth":223,"text":176},{"id":190,"depth":217,"text":191},{"id":206,"depth":217,"text":207},"A modern, modular, and type-safe Node.js wrapper for the Deezer Public API.","md",null,{},true,{"title":11,"description":228},"2v_AH31CkVWbVaMIikRtV6Vs-HoU3OqagVnrX31lpjA",[230,236],{"title":15,"path":16,"stem":17,"description":237,"children":-1},"Learn how to get started with the deezer-public-api package.",1775131276025]