2.20.0 • Published 3 years ago
sdmx-rest v2.20.0
sdmx-rest4js
This library allows to easily create and execute SDMX REST queries from a JavaScript client application.
In a nutshell, it allows you to:
- Create data, metadata and data availability queries, using the
getDataQuery,getMetadataQuery,getAvailabilityQueryfunctions; - Get instances of SDMX RESTful web services against which queries can be executed, using the
getServicefunction; - Execute a query against a web service and get the matching data or metadata, using the
requestfunction; - Build SDMX RESTful URLs that represent queries to be executed against SDMX RESTful web services, using the
getUrlfunction. This is handy, in case you want to execute the query using, say, jQuery;
The example below shows how a query can be executed against a predefined service using the request function.
var sdmxrest = require('sdmx-rest');
var query = {flow: 'EXR', key: 'A.CHF.EUR.SP00.A'};
sdmxrest.request(query, 'ECB')
.then(function(data) {console.log(data)})
.catch(function(error){console.log("something went wrong: " + error)});For detailed documentation about the API (and more examples), please check the Wiki.
2.19.0
3 years ago
2.20.0
3 years ago
2.18.0
5 years ago
2.17.1
5 years ago
2.17.0
5 years ago
2.16.0
5 years ago
2.15.4
5 years ago
2.15.3
5 years ago
2.15.2
6 years ago
2.15.1
6 years ago
2.15.0
6 years ago
2.14.1
6 years ago
2.14.0
6 years ago
2.13.1
7 years ago
2.13.0
7 years ago
2.12.0
7 years ago
2.11.3
7 years ago
2.11.2
7 years ago
2.11.1
7 years ago
2.11.0
7 years ago
2.10.0
7 years ago
2.9.0
7 years ago
2.8.0
7 years ago
2.7.0
8 years ago
2.6.0
8 years ago
2.5.1
9 years ago
2.5.0
10 years ago
2.4.0
10 years ago
2.3.0
10 years ago
2.2.0
10 years ago
2.1.0
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.1.0
10 years ago
1.0.0
10 years ago