This page is the technical documentation of our public API endpoint. Please read the documentation usage page before using it.

REST Web Service bindings :

The following operations are supported :

For a formal REST definition, please review the Open API v3 Service Description

base_url = https://www.sentiweb.fr/api/v1/datasets/rest

GET, HEAD{base_url}/incidence
  • Get incidence data for an indicator for a geographic level (all available data).
  • Return type : IncidenceDataset
  • Parameters :
    • indicator : int. id of the disease
    • geo : string. geographic level to get
    • span : string. span time . 'short' provides last ten time points, 'last' only last one (week or year).
GET{base_url}/lastweek
  • Get last week number available (using ISO 8601 week number in a numeric format : YYYYWW)
  • Return type : int
GET{base_url}/lastyear
  • Get last year available
  • Return type : int
GET{base_url}/version
  • Get Dabatase version id
  • Return type : string
GET{base_url}/indicators
  • Get list of available indicators
  • Return type : Indicator[]
GET{base_url}/changelog
  • Changelog of the service
  • Return type : Changelog[]

Complex Types Definitions

IncidenceDataset

Fields :

IncidenceMetadata

Fields :

IncidenceColumnsDescription

Fields :

IncidenceRecord

Fields :

Indicator

Fields :

TimePeriod

Fields :

Changelog

Fields :