/ptt-alertor

:loudspeaker: Ptt 文章通知機器人!Notify Ptt Article in Realtime

Primary LanguageGoApache License 2.0Apache-2.0

Ptt-Alertor

Build Status codecov Go Report Card Code Climate StackShare License

API

Board

  • GET /boards

  • GET /boards/[board name]/articles

  • GET /boards/[board name]/articles/[article code]

Keyword

  • GET /keyword/boards

Author

  • GET /author/boards

PushSum

  • GET /pushsum/boards

Articles

  • GET /articles

User (Auth)

  • GET /users

  • GET /users/[account]

  • POST /users

{
    "profile":{
        "account": "sample",
        "email":"sample@mail.com"
    },
    "subscribes":[
        {
            "board":"gossiping",
            "keywords":["問卦","爆卦","公告"]
        },
        {
            "board":"lol",
            "keywords":["閒聊"]
        }
    ]
}
  • PUT /users/[account]
{
    "profile":{
        "account": "sample",
        "email":"sample@mail.com"
    },
    "subscribes":[]
}

Credits

Real Life

Rose Li, Aries Huang, Scott Kao, Amy Li

Ptt

DMM, oas, bestpika, Zero0910, lucky0509, wbreeze, chang0206, lindo0130, hungys, gyman7788, tooilxui, myamyakoko, whkuo, papago89, timeline, Kamikiri

Facebook

Mr.clu, Woqeker