#!/bin/bash

curl -u motdepasse:secret -H "Accept: application/json" http://dev.tivipro.tv/eulalie2/www2/Univers > api_univers.json
curl -u motdepasse:secret -H "Accept: application/json" http://dev.tivipro.tv/eulalie2/www2/Personnage > api_personnage.json
curl -u motdepasse:secret -H "Accept: application/json" http://dev.tivipro.tv/eulalie2/www2/OccurrenceNarrative > api_occurrence_narrative.json
curl -u motdepasse:secret -H "Accept: application/json" http://dev.tivipro.tv/eulalie2/www2/OccurrencePublication > api_occurrence_publication.json