hubeau-api
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -8,2 +8,4 @@ export declare const hostname = "hubeau.eaufrance.fr"; | ||
qualiteRivieres: string; | ||
temperature: string; | ||
hydrometrie: string; | ||
}; |
@@ -11,2 +11,4 @@ "use strict"; | ||
qualiteRivieres: '/api/v1/qualite_rivieres/', | ||
temperature: '/api/v1/temperature/', | ||
hydrometrie: '/api/v1/hydrometrie/', | ||
}; |
@@ -11,2 +11,4 @@ "use strict"; | ||
const qualiteRivieres_1 = __importDefault(require("./commandes/qualiteRivieres")); | ||
const temperature_1 = __importDefault(require("./commandes/temperature")); | ||
const hydrometrie_1 = __importDefault(require("./commandes/hydrometrie")); | ||
class HubeauApi { | ||
@@ -19,4 +21,6 @@ constructor() { | ||
this.qualiteRivieres = (0, qualiteRivieres_1.default)(); | ||
this.temperature = (0, temperature_1.default)(); | ||
this.hydrometrie = (0, hydrometrie_1.default)(); | ||
} | ||
} | ||
module.exports = HubeauApi; |
{ | ||
"name": "hubeau-api", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "hubeau api wrapper in javascript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -71,1 +71,19 @@ # HUBEAU API wrapper | ||
Documentation officielle : https://hubeau.eaufrance.fr/page/api-qualite-cours-deau<br/> | ||
### Température des cours d'eau en continu | ||
_chronique_<br/> | ||
_station_<br/> | ||
Exemples hubeau-api-wrapper : [./dist/exemples/temperature.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/dist/exemples/temperature.js)<br/> | ||
Documentation officielle : https://hubeau.eaufrance.fr/page/api-temperature-continu<br/> | ||
### Hydrométrie | ||
_observations_<br/> | ||
_observations élaborées_<br/> | ||
_référentiel sites_<br/> | ||
_référentiel stations_<br/> | ||
Exemples hubeau-api-wrapper : [./dist/exemples/hydrometrie.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/dist/exemples/hydrometrie.js)<br/> | ||
Documentation officielle : https://hubeau.eaufrance.fr/page/api-hydrometrie<br/> |
@@ -8,2 +8,4 @@ export const hostname = 'hubeau.eaufrance.fr'; | ||
qualiteRivieres: '/api/v1/qualite_rivieres/', | ||
temperature: '/api/v1/temperature/', | ||
hydrometrie: '/api/v1/hydrometrie/', | ||
}; |
@@ -6,2 +6,4 @@ import etatPiscicole from './commandes/etatPiscicole'; | ||
import qualiteRivieres from './commandes/qualiteRivieres'; | ||
import temperature from './commandes/temperature'; | ||
import hydrometrie from './commandes/hydrometrie'; | ||
@@ -14,2 +16,4 @@ class HubeauApi { | ||
qualiteRivieres; | ||
temperature; | ||
hydrometrie; | ||
constructor() { | ||
@@ -21,4 +25,6 @@ this.etatPiscicole = etatPiscicole(); | ||
this.qualiteRivieres = qualiteRivieres(); | ||
this.temperature = temperature(); | ||
this.hydrometrie = hydrometrie(); | ||
} | ||
} | ||
module.exports = HubeauApi; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148330
91
2937
89