FrogTok / AfreecaChatManager

아프리카 채팅 매니저. https://github.com/cha2hyun/afreecatv-chat-crawler 에서 채팅 긁어오는 로직 가져옴.
1 stars 0 forks source link

현재 방송 및 BJ정보 #3

Open FrogTok opened 4 months ago

FrogTok commented 4 months ago

https://api.m.afreecatv.com/station/main/a/getmaindata?bj={bj_id}&station_no={station_no} post로 요청해야함. 리턴값 예시: { "result": 1, "data": { "stationUpdInfo": { "fan_cnt": 39839, "today_visit_cnt": 1073, "total_visit_cnt": 559148, "today_ok_cnt": 435, "today_fav_cnt": 7, "total_ok_cnt": 274141, "total_view_cnt": 5001340 }, "liveBroadInfo": [ { "broad_no": 271574642, "is_secret": "N", "is_adult": "N", "broad_title": "건실하게 살기 ", "broad_memo": "", "broad_start": "2024-06-17 15:20:00", "broad_img": "https://liveimg.afreecatv.com/m/271574642", "user_id": "243000", "user_nick": "천양", "view_cnt": 1417 } ], "fanclubCnt": 4884, "supporterCnt": 261, "subscriptionInfo": { "isShow": true, "subscriptionCnt": 323 }, "stationJoinTime": "2013-08-29", "bIsStationGift": true, "rank": [ { "rank_type": "up", "total_rank": 23, "name": "UP 수", "rank_str": "23위" }, { "rank_type": "game", "total_rank": 24, "name": "게임", "rank_str": "24위" } ] } }