norwegianblue icon indicating copy to clipboard operation
norwegianblue copied to clipboard

Support endoflife.date API v1

Open hugovk opened this issue 1 year ago • 0 comments

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

  • https://github.com/endoflife-date/endoflife.date/pull/2080

The deploy preview API endpoint is:

  • https://deploy-preview-2080--endoflife-date.netlify.app/api/v1/

Work in progress

I have a rough WIP branch at:

  • https://github.com/hugovk/norwegianblue/tree/api-v1

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

  • [ ] Fix eol all
  • [ ] Fix tests
  • [ ] Remove debug output

hugovk avatar Jun 25 '23 15:06 hugovk