Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 820 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 820 Bytes

Rest API for VTJ name data

Shows data about names registered in Finland

Backend for https://github.com/henri-ihalainen/find-a-name

Data is extracted from https://www.avoindata.fi/data/fi/dataset/none

API

Forenames

Returns VTJ forename data in json format. https://namedata-api.herokuapp.com/forenames

  • URL

    /forenames[?sortBy=:sortBy]

  • Method:

    GET

  • Query params

    sortBy=[string]

  • Success response

    • Code: 200
    • Content: [{"name":"Juhani","total":289326,"femaleTotal":0,"femaleFirstName":0,"femaleOtherNames":0,"maleTotal":289326,"maleFirstName":8311,"maleOtherNames":281015}, ...]