https://github.com/sc5/hilma-api
https://github.com/sc5/hilma-api
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sc5/hilma-api
- Owner: SC5
- License: mit
- Created: 2016-06-07T09:58:16.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-07T10:29:55.000Z (about 10 years ago)
- Last Synced: 2025-01-03T18:39:07.499Z (over 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hilma API
Hilma API is an API that makes the public tenders available in Hilma (http://www.hankintailmoitukset.fi) available on a REST API (see Usage).
## Setup
Relevant environment variables:
- `PORT`: port used to run the server (default 8080)
## Usage
* `/hilmatenders`: Return tenders in JSON. Example:
{"tenders":[
{
"ID":"2014-004638",
"name":"Consultation request",
"organization":"Company Oyj",
"entrydate":"2014-07-10T00:00:00.000Z",
"tenderdate":"2015-07-30T00:00:00.000Z",
"ttype":"Ennakkoilmoitus",
"url":"http://www.hankintailmoitukset.fi/fi/view/2014-004638/"
},
{ ... }
]}
* CPV codes can be passed via the CPV parameter (multiple codes delimited by semicolon). E.g. '/hilmatenders/?CPV=123456-6%3B45678-1'