Giter Club home page Giter Club logo

anct's Introduction

🔖 Favorite im@s idols

白菊ほたる   北上麗花   幽谷霧子   杜野凛世   芹沢あさひ

🐾 Stats

 

🔗 Links

im@stodon   Zenn   MailAddress

anct's People

Contributors

arrow2nd avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

anct's Issues

Unable to acquire a character whose work is not yet registered

The series field is set to non-null, but an error occurs and cannot be retrieved correctly because there are characters whose works have not yet been registered in the database.

https://developers.annict.com/docs/graphql-api/beta/reference/objects/character

Query

query {
  searchCharacters(
    names: ["後藤"],
    orderBy: { field: FAVORITE_CHARACTERS_COUNT, direction: DESC },
    first: 5
  ) {
    edges {
      node {
        annictId
        name
        series{
          name
        }
      }
    }
  }
}

Response

{
  "data": {
    "searchCharacters": {
      "edges": [
        {
          "node": {
            "annictId": 41078,
            "name": "後藤ひとり",
            "series": {
              "name": "ぼっち・ざ・ろっく!"
            }
          }
        },
        {
          "node": null
        },
        {
          "node": {
            "annictId": 36039,
            "name": "後藤姫",
            "series": {
              "name": "かくしごと"
            }
          }
        },
        {
          "node": {
            "annictId": 36038,
            "name": "後藤可久士",
            "series": {
              "name": "かくしごと"
            }
          }
        },
        {
          "node": null
        }
      ]
    }
  },
  "errors": [
    {
      "message": "Cannot return null for non-nullable field Character.series"
    },
    {
      "message": "Cannot return null for non-nullable field Character.series"
    }
  ]
}

`config`

  • 認証情報ファイルを開く

`characters <query>`

characters

anct search characters [keyword]

キャラクターを検索して結果を表示します

Example

anct search characters 後藤

NAME        SERIES              WORK ID
----------------------------------------
後藤ひとり    ぼっち・ざ・ろっく!   2074
後藤姫       かくしごと           1103

`review`

title, 各評価はスキップ可能

`--season`

search works 限定のフラグになっているので共通化する

`info` レイアウト実装

sixel で画像出すのおもしろかったので使いたい

作品選択 -> 詳細出力とかでもいいかも

  • タイトル
  • メディア
  • シーズン
  • 視聴ステータス
  • URL
  • 画像
  • 視聴者数
  • 評価数
  • エピソード一覧

`library`

library

anct library [options]

自分のライブラリを表示します

Options

  • -s, --status

Example

anct library

? Watch status
> watching
  wanna watch
  watched
  on hold
  stop watching

ID      TITLE   MEDIA   SEASON   YEAR
----------------------------------------
hogehoge...

`--library`

library コマンドを廃止して共通関数にする

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.