Have a look at fetchcode/package.py , and try to implement the same for Debian packages.
Activity
tushar912 commentedon Feb 19, 2021
@TG1999 I think this can be done by querying the API at https://sources.debian.org/doc/api/. Can I work on it.
TG1999 commentedon Feb 19, 2021
Ping @pombredanne
Merge pull request #49 from nexB/update-system