An open API service indexing awesome lists of open source software.

https://github.com/devlab-umontp/librairie-java-edt

Librairie Java permettant de récupérer l'emploi du temps des cours de l'IUT de Montpellier.
https://github.com/devlab-umontp/librairie-java-edt

api-java-edt-iut-montpellier edt-iut-montpellier edt-montpellier emploi-du-temps-iut-montpellier iut-montpellier librarie-java-edt-iut-montpellier package-java-iut-montpellier

Last synced: about 2 months ago
JSON representation

Librairie Java permettant de récupérer l'emploi du temps des cours de l'IUT de Montpellier.

Awesome Lists containing this project

README

          

[![Maven Central](https://img.shields.io/maven-central/v/com.github.devlab-umontp/edt-iut-umontp.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.devlab-umontp%22%20AND%20a:%22edt-iut-umontp%22)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=DevLab-umontp_API-JAVA-EDT&metric=alert_status)](https://sonarcloud.io/dashboard?id=DevLab-umontp_API-JAVA-EDT)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=DevLab-umontp_API-JAVA-EDT&metric=coverage)](https://sonarcloud.io/dashboard?id=DevLab-umontp_API-JAVA-EDT)
![GitHub Actions](https://github.com/DevLab-umontp/API-JAVA-EDT/workflows/Java%20CI%20with%20Maven/badge.svg)
[![Javadoc](https://img.shields.io/badge/JavaDoc-Online-green)](https://mathieusoysal.github.io/stats/api-java-edt)
[![Gitmoji.dev](https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square)](https://gitmoji.dev)

# ![](ressources/devicon.png) Librairie Java : EDT IUT Montpellier [![GitHub](https://img.shields.io/github/license/DevLab-umontp/API-JAVA-EDT)](https://github.com/DevLab-umontp/API-JAVA-EDT/blob/master/LICENSE)

### IUT Montpellier-Sète – Département Informatique
* **Colaborateurs:** [étudiants du département informatique](https://iut-montpellier-sete.edu.umontpellier.fr/dut-informatique/)

### Les projets utilisant la librairie
- [Bot Discord EDT](https://github.com/DevLab-umontp/BOT-DISCORD-EDT) : Bot Discord facilitant l'accès à l'empoi du temps de l'IUT de Montpellier

## Comment intégrer la Librairie Java EDT IUT Montpellier dans votre code

### Maven

Si vous avez Maven, ajoutez ce qui suit aux dépendances de votre fichier `pom.xml` :

```xml

com.github.devlab-umontp
edt-iut-umontp
1.3.1

```
>*Voir un exemple de fichier [pom.xml](https://github.com/DevLab-umontp/Librarie-Java-EDT/blob/main/ressources/pom.xml#L20L24) avec la librairie EDT IUT Montpellier*
### Gradle

Si vous utilisez Gradle, ajoutez ce qui suit aux dépendances de votre fichier `build.gradle`:

```
implementation 'com.github.devlab-umontp:edt-iut-umontp:1.3.1'
```

## Exemple de code d'utilisation de la Librairie Java EDT IUT Montpellier

```java
import fr.umontp.edt.*;

class ExempleDeCode {
public static void main(String[] args) {

// Récupérer l'emploi du temps de l'ent
EmploiDuTempsProxy emploiDuTempsProxy = EmploiDuTempsProxy.getInstance();

// Récupérer le planning d'aujourd'hui
Planning planningDate = emploiDuTempsProxy.getPlanningOf(LocalDate.now());

// Récupérer le planning du groupe S3
Planning planningGroupe = emploiDuTempsProxy.getPlanningOf(Groupe.S3);

// Récupérer le planning d'aujourd'hui du groupe S2
Planning planningDateGroupe = emploiDuTempsProxy.getPlanningOf(LocalDate.now(), Groupe.S2);

// Parcourir les cours d'un planning
for (Cours cours : planningGroupe) {
System.out.println(cours.getIntitule());
}

// Actualiser votre emploi du temps local avec celui de l'ent
emploiDuTempsProxy.actualiser();
}
}
```
>*Voir plus d'[exemples de code](ressources/ExempleDeCode.java)*
## Contribution
Les suggestions et contributions sont toujours les bienvenues! Veuillez discuter des modifications plus importantes via un [issue](https://github.com/DevLab-umontp/Librarie-Java-EDT/issues) avant de soumettre une demande.

## Licence

Ce projet est publié sous la licence [Academic Free License 3.0](https://github.com/DevLab-umontp/Librarie-Java-EDT/blob/main/LICENSE)