{"id":19839022,"url":"https://github.com/litarvan/pronote-api-client-java","last_synced_at":"2025-05-01T18:31:49.540Z","repository":{"id":78843460,"uuid":"228235028","full_name":"Litarvan/pronote-api-client-java","owner":"Litarvan","description":"Client Pronote-API en Java","archived":false,"fork":false,"pushed_at":"2019-12-15T19:06:14.000Z","size":74,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T16:53:38.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Litarvan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-15T18:59:03.000Z","updated_at":"2024-05-07T16:49:50.000Z","dependencies_parsed_at":"2023-03-12T05:58:58.974Z","dependency_job_id":null,"html_url":"https://github.com/Litarvan/pronote-api-client-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fpronote-api-client-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fpronote-api-client-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fpronote-api-client-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fpronote-api-client-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Litarvan","download_url":"https://codeload.github.com/Litarvan/pronote-api-client-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251924814,"owners_count":21666039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:19:57.899Z","updated_at":"2025-05-01T18:31:49.534Z","avatar_url":"https://github.com/Litarvan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pronote API Java client\n\nUn client pour [l'API Pronote](https://github.com/Litarvan/pronote-api) en Java\n\n## Import\n\n### Gradle\n\n```groovy\nrepositories {\n    maven {\n        url 'https://litarvan.github.io/maven'\n    }\n}\n\ndependencies {\n    implementation 'fr.litarvan:pronote-api:1.0.0'\n}\n```\n\n### Maven\n\n```xml \n\u003cdependency\u003e\n    \u003cgroupId\u003efr.litarvan\u003c/groupId\u003e\n    \u003cartifactId\u003epronote-api\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n\n```\n\n## Utilisation\n\nLa requête login est optionnelle, si elle n'est pas faite, la requête fetch la fera au passage.\n\nUne erreur RequestException peut être lâchée par les deux fonctions en cas d'erreur de connexion ou de lecture.\nSi une erreur autre que \"Mauvais identifiants\" est renvoyée, merci d'ouvrir une issue sur l'API Pronote.\n\n```java\nPronoteAPI api = new PronoteAPI(\"http://127.0.0.1:21727/\");\n\ntry {\n    api.login(new LoginRequest(\"username\", \"password\", \"pronote url\", \"cas\");\n} catch (RequestException e) {\n    ... // Mauvais identifiants\n}\n\nFetchResponse response = api.fetch(new FetchResponse(\"username\", \"password\", \"pronote url\", \"cas\");\nSystem.out.println(String.format(\"Welcome %s !\", response.getName()));\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitarvan%2Fpronote-api-client-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitarvan%2Fpronote-api-client-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitarvan%2Fpronote-api-client-java/lists"}