Skip to content

FinnishNationalGallery/APIexample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kansallisgalleria API example

Doing searches

Using JavaScript src/search-example.js:

npm install

export API_KEY="<your api key here>"
node src/search-example.js

Dowloading the full dataset

Using JavaScript src/dataset-example.js:

npm install

export API_KEY="<your api key here>"
node src/dataset-example.js

Using the curl command line tool:

export API_KEY="<your api key here>"
curl -o dataset.json --compress -H "x-api-key: $API_KEY" https://ww.kansallisgalleria.fi/api/v1/objects

Releases

No releases published

Packages

No packages published