{"id":19432418,"url":"https://github.com/guyijie1211/justlive-api","last_synced_at":"2025-04-06T16:14:54.828Z","repository":{"id":40540310,"uuid":"370244965","full_name":"guyijie1211/JustLive-Api","owner":"guyijie1211","description":"一个整合国内多个直播平台内容的网站（后端）","archived":false,"fork":false,"pushed_at":"2024-07-26T06:22:10.000Z","size":392,"stargazers_count":215,"open_issues_count":8,"forks_count":72,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T14:11:21.207Z","etag":null,"topics":["java","live","livestream","spring-boot","streaming"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guyijie1211.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-24T06:03:41.000Z","updated_at":"2025-02-23T05:32:51.000Z","dependencies_parsed_at":"2024-11-10T14:39:00.013Z","dependency_job_id":"a31e1b66-c2a6-406b-bfc0-de2eb196b944","html_url":"https://github.com/guyijie1211/JustLive-Api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyijie1211%2FJustLive-Api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyijie1211%2FJustLive-Api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyijie1211%2FJustLive-Api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyijie1211%2FJustLive-Api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guyijie1211","download_url":"https://codeload.github.com/guyijie1211/JustLive-Api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247509238,"owners_count":20950232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","live","livestream","spring-boot","streaming"],"created_at":"2024-11-10T14:35:47.987Z","updated_at":"2025-04-06T16:14:54.809Z","avatar_url":"https://github.com/guyijie1211.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JustLive\n\n直播聚合（后端项目）\n\nAndroid项目 [JustLive-Android](https://github.com/guyijie1211/JustLive-Android)\n\n前端Web项目    [JustLive-Web](https://github.com/guyijie1211/JustLive-Web)\n\n网站页面    [live.yj1211.work](live.yj1211.work)\n\n数据库结构    [mixlive.sql](https://github.com/guyijie1211/MixLive/blob/master/mixlive.sql)\n\n## 部署方式\n- 修改 配置文件(src/main/resources/application-github.properties) 中的数据库信息\n- 运行 src/main/java/work/yj1211/live/LiveApplication.java 启动\n\n## 直播支持\n\n虎牙、斗鱼、BILIBILI直播、网易cc（cc暂无清晰度切换）、企鹅电竞\n\n直播源获取参考\t[wbt5/real-url](https://github.com/wbt5/real-url)\n\n## 接口说明\n（仅供参考，接口已经更新过多次，实际代码可能和以下说明不符）\n\n直播相关接口都采用 HTTP GET 方法请求\n\n|          请求地址           |                       参数                       |                           接口说明                           |\n| :-------------------------: | :----------------------------------------------: | :----------------------------------------------------------: |\n|        /getRecommend        |                int page, int size                | 根据分页信息获取**所有支持直播平台**的推荐直播间（根据观看人数降序排序） |\n|   /getRecommendByPlatform   |       String platform, int page, int size        | 根据分页信息获取**指定直播平台**的推荐直播间（根据观看人数降序排序） |\n| /getRecommendByPlatformArea | String platform, String area, int page, int size |      获取指定直播平台下特定分区（area）的推荐直播间信息      |\n|   /getRecommendByAreaAll    |      String areaType, String area, int page      |   获取特定分区下所有直播平台的直播间信息（一页10个直播间）   |\n|         /getRealUrl         |          String platform, String roomId          | 获取指定平台直播间的真实直播推流地址 |\n|        /getRoomInfo         |    String uid, String platform, String roomId    | 获取指定平台直播间的房间信息（uid用来确定改用户是否已关注次直播间） |\n|         /getRoomsOn         |                    String uid                    |                 获取用户所有关注的直播间信息                 |\n|        /refreshArea         |                        无                        |                 更新缓存中所有平台的分区信息                 |\n|          /getAreas          |                 String platform                  |                   获取指定平台下的分区信息                   |\n|        /getAllAreas         |                        无                        |                    获取所有平台的分区信息                    |\n|           /search           | String platform, String keyWords, String isLive  | 搜索指定平台的主播（keyWords：搜索关键词，isLive：搜索正在直播的主播） |\n\n## 调用方式\n\n支持通过Http和Https请求调用，Http请求请发送至8013端口，Https请求请发送至8014端口。\n\n调用时请在uri中加上/api/live\n\nHttps请求调用示例：\n\n![image-20210524170329627](https://typora-pic-yj.oss-cn-shanghai.aliyuncs.com/img/image-20210524170329627.png)\n\n调用成功时，返回信息中code为200。\n\n调用失败时，返回code为400。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyijie1211%2Fjustlive-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguyijie1211%2Fjustlive-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyijie1211%2Fjustlive-api/lists"}