Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 865 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 865 Bytes

APIs.lv namedays JSON shim

This script uses official VVC list to prepare APIs.lv compatible namedays JSON extract. Reason - original API data source is not being updated anymore new API key creation is not possible.

Usage (A)

Go to Releases page and pick link of latest "namedays.json".

Then use in place of http://apis.lv/namedays.json API call.

Usage (B)

Prerequisite - locally downloaded VVC nameday CSV. Check this page for "Latviešu tradicionālo vārdadienu saraksts (CSV)".

$ gem install -g
$ VVC_CSV_FILE_PATH=/tmp/vvc.csv ruby generate_namedays_json.rb > /tmp/output.json

License

BSD-3