Git Product home page Git Product logo

agqr-program-guide's People

Contributors

sun-yryr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

agqr-program-guide's Issues

検索API

理由:公式の検索は記事の検索になっているので、番組のみは検索しづらい
想定:期間・ワード・番組種別などで絞り込む形

なんかDBがイカれてる

ソースコードの方はまだ確認していない。
基本的に create_at + 7日 = start_datetime になるはずだけど、そうなっていない番組データが存在していた

whereが狂ってるかも

CI/CDの構築

現状手動でバージョンを入力している

やりたいこと

  • PRの自動テスト
  • Releaseの生成とデプロイの自動化

特定の日時の番組情報を取得できるエンドポイントの追加

背景

X (Twitter) での問い合わせ

先週から日付が変わった金曜日に限り「Error code 522」で番組情報(ヨルナイト以降)が取得出来ないタイミングがあります。

このエラーについては Application, Nginx に到達していないため対処が難しい。現状リトライ等で対応してもらうしかないと考えている。
リトライをするにあたって録音成功時に番組名を取得しているユースケースにおいては、 now の仕様上次の番組情報を取得してしまう問題が発生することが予期される。

対策

日時指定で番組情報を取得できるエンドポイントを実装する。確実に該当の時間の番組情報が欲しい場合に叩けるようにする。

エンドポイント案

  • /api/v1/programs?time=yyyy-MM-ddThh:mm
    • → Array[Program] (timeが指定された時は常に要素数は1)
    • 後々 from, to とか追加した時にわかりづらくなりそう
  • /api/v1/programs/:unixtime
    • → Program
    • unixtime のタイムゾーンは未定
    • 一意に決まるのでこれもありな気はしている
  • /api/v1/programs?unixtime=
    • → Array[Program]
    • 確かにこれでもいいのか

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.