Skip to content

GraphQL API for pocket48 (Official app for SNH48 Group)

License

Notifications You must be signed in to change notification settings

MikuZZZ/pocket48-graphql

Repository files navigation

Pocket48-GraphQL

用GraphQL获取SNH48 GROUP成员信息,支持嵌套复杂查询。 Get information of SNH48 Group with GraphQL.

问题/建议请发issue或者联系[email protected]

测试链接 GraphiQL interface

How to use

获取BEJ名字缩写是dyx的同期中在G队前成员的名字和最近的5个直播回放:

{
  groups(name: "BEJ") {
    members(name: "dyx") {
      current {
        real_name
        period {
          members(team: "G") {
            former {
              real_name
              nick_name
              lives(count: 5) {
                title
                startTime
                streamPath
              }
            }
          }
        }
      }
    }
  }
}

Running on your own machine

Production

npm install
npm run build
npm start

Development

npm install
npm run dev # Using nodemon for reloading on save

Reference

About

GraphQL API for pocket48 (Official app for SNH48 Group)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published