sopia-bot / SOPIA

Live streaming all in one program for https://spooncast.net
https://sopia.dev
Creative Commons Zero v1.0 Universal
20 stars 8 forks source link

Live Socket Structor #59

Open raravel opened 1 month ago

raravel commented 1 month ago
{
    "event": "live_present_like",
    "live_id": 37474912,
    "data": {
        "user": {
            "id": 7423666,
            "nickname": "개발자 윤군",
            "profile_url": "http://kr-cdn.spooncast.net/profiles/V/34z2bVTDkgAXG/cf914af7-1024-430c-85a9-3c6b81c06360.jpg",
            "gender": 0,
            "tag": "raravel",
            "country": "kr",
            "date_joined": "2022-02-15T15:06:27.320233Z",
            "is_dj": false,
            "is_fixedmng": false,
            "is_like": false,
            "is_staff": false,
            "is_vip": false,
            "present": 150,
            "regular_score": -1,
            "subscribed_to_dj": false,
            "vip_grade": null,
            "is_high_temperature": false,
            "favorite_temperature": 51,
            "user_plan_level": null
        }
    },
    "items": [],
    "use_items": [],
    "update_component": {
        "like": {
            "value": null,
            "combo": 1,
            "amount": 10,
            "sticker": "sticker_kr_fire10like"
        },
        "listener": null,
        "total_listener": null,
        "spoon": null,
        "close_air_time": null,
        "message": null
    }
}
raravel commented 1 month ago
{
    "event": "live_present",
    "live_id": 37474912,
    "data": {
        "live": {
            "author": {
                "id": 2627887,
                "nickname": "에다 ℯ𝒹𝒶",
                "profile_url": "http://cdn.spooncast.net/profiles/C/oV8WGCe0npDb/021d248d-76d3-44f9-81b3-d86f3f6a5af7.jpg",
                "gender": 0,
                "tag": "eda",
                "country": "kr",
                "date_joined": "2018-08-31T15:38:28.34147Z",
                "follower_count": 68541,
                "following_count": 3,
                "follow_status": 0,
                "is_staff": false,
                "is_vip": false,
                "top_impressions": [
                    2,
                    8
                ]
            },
            "broadcast_extension_count": 0,
            "categories": [
                "music"
            ],
            "close_air_time": "2024-08-03T17:45:36.868501Z",
            "closed": null,
            "created": "2024-08-03T13:45:33.868501Z",
            "donation": 1,
            "engine_name": "sori",
            "hashtags": [
                {
                    "id": 1,
                    "name": "소통"
                },
                {
                    "id": 280,
                    "name": "랩"
                },
                {
                    "id": 301,
                    "name": "프리스타일랩"
                },
                {
                    "id": 52,
                    "name": "노래"
                }
            ],
            "id": 37474912,
            "img_url": "http://kr-cdn.spooncast.net/live_presets/2627887/19cacdeb-3042-4174-9e31-82dc81dafeff.jpg",
            "is_adult": false,
            "is_beginner": false,
            "is_call": false,
            "is_editors": true,
            "is_freeze": false,
            "is_join_now": false,
            "is_like": false,
            "is_live_call": false,
            "is_mute": false,
            "is_save": true,
            "is_vip": false,
            "manager_ids": [
                61073,
                5455105,
                5667102,
                9103712
            ],
            "msg_interval": 0,
            "room_token": null,
            "protocol": "heimdallr2",
            "stream_name": "zctXWBIW",
            "sv": "wala",
            "tags": [
                "랩",
                "프리스타일랩",
                "소통",
                "노래"
            ],
            "tier": {
                "name": "Orange_Choice",
                "title": "Orange_Choice"
            },
            "title": "[랩노래] 육회",
            "type": 0,
            "url": "https://kr-hana-live.spooncast.net/cast/zctXWBIW/playlist.m3u8",
            "url_hls": "https://kr-hana-live.spooncast.net/cast/zctXWBIW/playlist.m3u8",
            "welcome_message": "노래책 📓\nhttps://docs.google.com/spreadsheets/d/1ZI4qC1-iIWVqREHq3wrhYyWRS-EJHDQe",
            "top_fans": [
                {
                    "user": {
                        "id": 5667102,
                        "nickname": "담다디담 ℯ𝒹𝒶",
                        "profile_url": "http://kr-cdn.spooncast.net/profiles/l/34BbwlhDJek8r/d7710d16-b7d5-41b1-8d54-3c4306710128.jpg",
                        "gender": 1,
                        "tag": "eughoria",
                        "country": "kr",
                        "date_joined": "2020-04-07T14:38:43.808791Z",
                        "is_dj": false,
                        "is_fixedmng": true,
                        "is_like": false,
                        "is_staff": false,
                        "is_vip": false,
                        "present": 551046,
                        "regular_score": -1,
                        "subscribed_to_dj": true,
                        "vip_grade": null,
                        "is_high_temperature": true,
                        "favorite_temperature": 86,
                        "user_plan_level": null
                    }
                },
                {
                    "user": {
                        "id": 61073,
                        "nickname": "뷰 ℯ𝒹𝒶",
                        "profile_url": "http://kr-cdn.spooncast.net/profiles/l/kJAlFlZmlWQ/15d90d5d-3ce8-4993-9370-a0de80b74375.jpg",
                        "gender": 1,
                        "tag": "ckck0106",
                        "country": "kr",
                        "date_joined": "2016-07-31T11:13:23.679952Z",
                        "is_dj": false,
                        "is_fixedmng": true,
                        "is_like": true,
                        "is_staff": false,
                        "is_vip": false,
                        "present": 375746,
                        "regular_score": -1,
                        "subscribed_to_dj": false,
                        "vip_grade": null,
                        "is_high_temperature": true,
                        "favorite_temperature": 88,
                        "user_plan_level": null
                    }
                },
                {
                    "user": {
                        "id": 8887064,
                        "nickname": "포포포포 ℯ𝒹𝒶",
                        "profile_url": "http://kr-cdn.spooncast.net/profiles/e/oAWKOeiqroa6g/28770474-4d13-46cb-b552-cca6c088dc92.jpg",
                        "gender": 1,
                        "tag": "p_ov",
                        "country": "kr",
                        "date_joined": "2023-11-19T12:21:24.699251Z",
                        "is_dj": false,
                        "is_fixedmng": false,
                        "is_like": true,
                        "is_staff": false,
                        "is_vip": false,
                        "present": 289459,
                        "regular_score": -1,
                        "subscribed_to_dj": true,
                        "vip_grade": null,
                        "is_high_temperature": true,
                        "favorite_temperature": 89,
                        "user_plan_level": null
                    }
                }
            ],
            "spoon_aim": [
                {
                    "title": "육회항아리",
                    "count": 5003
                }
            ],
            "system": null,
            "status": 1,
            "close_status": 0,
            "like_count": 229,
            "member_count": 21,
            "total_member_count": 52,
            "total_spoon_count": 3451,
            "login_count": 21,
            "total_login_count": 52,
            "is_virtual": false,
            "allow_donations": [
                "LUCKYBOX",
                "QUIZ"
            ],
            "is_boosting_rank": false
        },
        "author": {
            "id": 61073,
            "nickname": "뷰 ℯ𝒹𝒶",
            "profile_url": "http://kr-cdn.spooncast.net/profiles/l/kJAlFlZmlWQ/15d90d5d-3ce8-4993-9370-a0de80b74375.jpg",
            "gender": 1,
            "tag": "ckck0106",
            "country": "kr",
            "date_joined": "2016-07-31T11:13:23.679952Z",
            "is_dj": false,
            "is_fixedmng": true,
            "is_like": true,
            "is_staff": false,
            "is_vip": false,
            "present": 375746,
            "regular_score": -1,
            "subscribed_to_dj": false,
            "vip_grade": null,
            "is_high_temperature": true,
            "favorite_temperature": 88,
            "user_plan_level": null
        },
        "item_template_id": 0,
        "amount": 1,
        "combo": 1,
        "sticker": "sticker_kr_mangosoda2",
        "sticker_type": 1,
        "donation_msg": "",
        "donation_audio": "",
        "subscriber_badge_color_code": null
    }
}
raravel commented 3 weeks ago
{
    "event": "live_like",
    "live_id": 37568281,
    "data": {
        "author": {
            "id": 4324890,
            "nickname": "소피아",
            "profile_url": "http://kr-cdn.spooncast.net/profiles/K/02b80KsnDeglP/ddc54e9a-4d13-497c-b6c8-0dd25ab80967.jpg",
            "gender": 0,
            "tag": "a.i_sopia",
            "country": "kr",
            "date_joined": "2019-06-19T00:47:36.124388Z",
            "is_dj": false,
            "is_fixedmng": false,
            "is_like": false,
            "is_staff": false,
            "is_vip": false,
            "present": 251,
            "regular_score": -1,
            "subscribed_to_dj": false,
            "vip_grade": null,
            "is_high_temperature": null,
            "favorite_temperature": null,
            "user_plan_level": null
        },
        "live": {
            "author": {
                "id": 7423666,
                "nickname": "개발자 윤군",
                "profile_url": "http://kr-cdn.spooncast.net/profiles/V/34z2bVTDkgAXG/cf914af7-1024-430c-85a9-3c6b81c06360.jpg",
                "gender": 0,
                "tag": "raravel",
                "country": "kr",
                "date_joined": "2022-02-15T15:06:27.320233Z",
                "follower_count": 66,
                "following_count": 4,
                "follow_status": 0,
                "is_staff": false,
                "is_vip": false,
                "top_impressions": []
            },
            "broadcast_extension_count": 0,
            "categories": [
                "iteconomy"
            ],
            "close_air_time": "2024-08-16T20:46:18.722145Z",
            "closed": null,
            "created": "2024-08-16T16:46:15.722145Z",
            "donation": 0,
            "engine_name": "sing",
            "hashtags": [],
            "id": 37568281,
            "img_url": "http://kr-cdn.spooncast.net/bg/109.png",
            "is_adult": false,
            "is_beginner": false,
            "is_call": false,
            "is_editors": false,
            "is_freeze": false,
            "is_join_now": false,
            "is_like": false,
            "is_live_call": false,
            "is_mute": true,
            "is_save": false,
            "is_vip": false,
            "manager_ids": [
                6022683
            ],
            "msg_interval": 0,
            "room_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlJJRGNxdm80bHRnb2RrOXUxMjZramMwLTkxNDgwNjA2NDcyNzMwODU1NDUiLCJsaXZlaWQiOiIzNzU2ODI4MSIsInBsdWdpbiI6ImphbnVzLnBsdWdpbi5saXZlY2FsbCIsIm93IjoiNzQyMzY2NiIsInJtIjoic2Z1IiwibXAiOjksIm1heEludml0ZSI6MjAsImV4cGQiOjE4MDAwLCJub3RpIjp0cnVlLCJibm90aSI6dHJ1ZSwid3NkIjoid3M6Ly9sb2NhbGhvc3Q6MTgzOC93cyIsInYiOiJ2MC41LjEuMzEiLCJzaWQiOiJHeEdRM0QxRSIsImV4cCI6MTcyMzg0NDc3NSwianRpIjoiUklEY3F2bzRsdGdvZGs5dTEyNmtqYzAtOTE0ODA2MDY0NzI3MzA4NTU0NSIsImlhdCI6MTcyMzgyNjc3NSwiaXNzIjoic2luZyJ9.InVepex7iA6JohP6h0W37HusDHZe67T9MHJbDY-V8xg",
            "protocol": "heimdallr2",
            "stream_name": "GxGQ3D1E",
            "sv": "wala",
            "tags": [],
            "tier": null,
            "title": "테테테테스트",
            "type": 0,
            "url": "https://kr-hana-live.spooncast.net/cast/GxGQ3D1E/playlist.m3u8",
            "url_hls": "https://kr-hana-live.spooncast.net/cast/GxGQ3D1E/playlist.m3u8",
            "welcome_message": "",
            "top_fans": [
                {
                    "user": {
                        "id": 4324890,
                        "nickname": "소피아",
                        "profile_url": "http://kr-cdn.spooncast.net/profiles/K/02b80KsnDeglP/ddc54e9a-4d13-497c-b6c8-0dd25ab80967.jpg",
                        "gender": 0,
                        "tag": "a.i_sopia",
                        "country": "kr",
                        "date_joined": "2019-06-19T00:47:36.124388Z",
                        "is_dj": false,
                        "is_fixedmng": false,
                        "is_like": false,
                        "is_staff": false,
                        "is_vip": false,
                        "present": 251,
                        "regular_score": -1,
                        "subscribed_to_dj": false,
                        "vip_grade": null,
                        "is_high_temperature": null,
                        "favorite_temperature": null,
                        "user_plan_level": null
                    }
                }
            ],
            "spoon_aim": [],
            "system": null,
            "status": 1,
            "close_status": 0,
            "like_count": 0,
            "member_count": 2,
            "total_member_count": 4,
            "total_spoon_count": 11,
            "login_count": 2,
            "total_login_count": 4,
            "is_virtual": false,
            "allow_donations": [
                "LUCKYBOX",
                "QUIZ"
            ],
            "is_boosting_rank": false
        }
    },
    "trigger": "none"
}
raravel commented 1 week ago

roulette like present

{
  "event": "use_item",
  "type": "live_rpt",
  "live_id": 37654474,
  "data": {
    "user": {
      "id": 8734841,
      "nickname": "단 봇    ☁️",
      "profile_url": "http://kr-cdn.spooncast.net/profiles/R/RwpQWRUjBl4DG/ac5426ed-cacb-434c-9dc5-b9c50730fb5b.jpg",
      "gender": 2,
      "tag": "4xrzn17",
      "country": "kr",
      "date_joined": "2023-08-13T00:42:11.453703Z",
      "is_dj": false,
      "is_fixedmng": false,
      "is_like": false,
      "is_staff": false,
      "is_vip": false,
      "present": 0,
      "regular_score": -1,
      "subscribed_to_dj": false,
      "vip_grade": null,
      "is_high_temperature": null,
      "favorite_temperature": null,
      "user_plan_level": null
    }
  },
  "items": [],
  "use_items": [
    {
      "item_id": 37,
      "combo": 1,
      "effect": "LIKE",
      "amount": 1,
      "animation_type": "CONTINUOUS",
      "images": [
        {
          "url": "https://static.spooncast.net/kr/item-store/effect/k/d3d2581b-c916-4adc-9f15-383bee192e99_1655796895279241.png"
        },
        {
          "url": "https://static.spooncast.net/kr/item-store/effect/Z/c2a2bba9-9ada-47fc-9d4a-f73e10c2597b_1655796892474009.png"
        },
        {
          "url": "https://static.spooncast.net/kr/item-store/effect/B/f144b35c-0067-478a-a722-9628063c3880_1655796894369014.png"
        },
        {
          "url": "https://static.spooncast.net/kr/item-store/effect/I/b5bb3091-fab6-4e4a-bc4a-d8fee4aa0172_1655796893165697.png"
        }
      ]
    }
  ],
  "update_component": {
    "like": {
      "value": null,
      "combo": 1,
      "amount": 1,
      "sticker": null
    },
    "listener": null,
    "total_listener": null,
    "spoon": null,
    "close_air_time": "2024-08-29T14:46:36Z",
    "message": null
  }
}