Skip to content

aleksandrs-ledovskis/nameday-apis.lv-json-shim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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