hugovk / norwegianblue

CLI to show end-of-life dates for a number of products.
https://endoflife.date
MIT License
74 stars 4 forks source link

Support endoflife.date API v1 #162

Open hugovk opened 1 year ago

hugovk commented 1 year ago

Some notes for migrating to v1 of the endoflife.date API:

The deploy preview API endpoint is:

Work in progress

I have a rough WIP branch at:

It's currently outputting some debug before the table, you can ignore that for now. I can remove it if it's impeding further testing.

My initial aim is to more-or-less mirror the current output with the alpha API.

Install

To install the WIP branch:

python -m pip install git+https://github.com/hugovk/norwegianblue.git@api-v1

Or:

git clone https://github.com/hugovk/norwegianblue
cd norwegianblue
python -m pip install -e .

TODO