DUB packages announce Telegram bot

Denis Feklushkin feklushkin.denis at gmail.com
Sun Apr 22 08:41:36 UTC 2018


On Sunday, 22 April 2018 at 07:59:11 UTC, Seb wrote:
> On Sunday, 22 April 2018 at 07:49:00 UTC, Denis Feklushkin 
> wrote:
>> Hi!
>>
>> I also made a tool which periodically monitors code.dlang.org 
>> for new packages and a notifies its Telegram subscribers.
>>
>> To subscribe just write something to @dlang_announce_bot
>> Also it can be added to groups.
>>
>> Code: https://github.com/denizzzka/paper_plane_bot
>
> Cool!
> BTW any reason why you parse the HTML and not use the JSON 
> index?

As I know, code.dlang.org provides JSON package list without any 
additional info. Thus, it is need to parse every package 
separately by calling https://code.dlang.org/packages/*.json to 
get packages versions, and it is need to do for every registerd 
package.




More information about the Digitalmars-d-announce mailing list