# hot-data **Repository Path**: GreenSoftware/hot-data ## Basic Information - **Project Name**: hot-data - **Description**: 抖音热榜、知乎热榜、哔哩哔哩热榜、微博热榜、掘进热榜、百度贴吧热榜、掘进热榜、今日头条热榜、搜狗热榜、网易热榜等十几家免费热榜API - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-06-09 - **Last Updated**: 2025-03-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hot-data #### 介绍 抖音热榜、知乎热榜、哔哩哔哩热榜、微博热榜、掘进热榜、百度贴吧热榜、掘进热榜、今日头条热榜、搜狗热榜、网易热榜等十几家免费热榜API #### 接口申请 http://www.dataguan.com #### 调用方法 到http://www.dataguan.com免费申请,更换apikey和apisecret即可 ```java public static void main(String[] args) { String host = "http://api.dataguan.com"; String path = "/api/center/getXX"; String method = "POST"; Map headers = new HashMap(); headers.put("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); Map querys = new HashMap(); Map bodys = new HashMap(); bodys.put("apiKey", "xxx"); bodys.put("sign", "xxx"); try { HttpResponse response = HttpUtils.doPost(host, path, method, headers, querys, bodys); System.out.println(response.getEntity()); //获取response的body JSONObject jsStr = JSONObject.parseObject(EntityUtils.toString(response.getEntity())); System.out.println(jsStr); } catch (Exception e) { e.printStackTrace(); } } ``` #### 接口文档 http://www.dataguan.com