{"id":21314482,"url":"https://github.com/polyconseil/tefps-clients","last_synced_at":"2025-03-15T21:15:45.629Z","repository":{"id":50114683,"uuid":"107151739","full_name":"Polyconseil/tefps-clients","owner":"Polyconseil","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-15T23:47:56.000Z","size":41,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-01-22T10:16:57.256Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Polyconseil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-16T16:09:08.000Z","updated_at":"2021-11-09T11:26:33.000Z","dependencies_parsed_at":"2022-09-23T16:21:42.123Z","dependency_job_id":null,"html_url":"https://github.com/Polyconseil/tefps-clients","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Ftefps-clients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Ftefps-clients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Ftefps-clients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Ftefps-clients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polyconseil","download_url":"https://codeload.github.com/Polyconseil/tefps-clients/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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-21T18:13:14.140Z","updated_at":"2025-03-15T21:15:45.600Z","avatar_url":"https://github.com/Polyconseil.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tefps Clients\n\n## Available clients\n\n- Java7 TefpsTvClient\n- Java7 TefpsSubscriberClient\n- Java7 TefpsPricingClient\n\n### Java7 All clients - Installation\n\nAdd maven dependency to your pom.xml\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003efr.polyconseil.smartcity\u003c/groupId\u003e\n    \u003cartifactId\u003etefps-clients\u003c/artifactId\u003e\n    \u003cversion\u003e1.4.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n### Java7 TefpsTvClient - Usage\n\n```java\nimport fr.polyconseil.smartcity.tefpsclient.tv.TefpsTvClient;\nimport fr.polyconseil.smartcity.tefpsclients.auth.OAuth2HttpClient;\nimport fr.polyconseil.smartcity.tefpsclient.dto.tv.ParkingRightDTO;\n\n//...\n// Instantiate client\nTefpsTvClient client = new TefpsTvClient(new OAuth2HttpClient(\n        \"http://tefps-directory-host:port\",\n        \"clientId\",\n        \"clientSecret\"),\n        \"http://tefps-tv-host:port\"\n);\n\n// Fetch Parking Right Sample\nParkingRightDTO parkingRight = client.fetchTv(\"cityId\", \"tvId\");\n\n// Delete Parking Right Sample\nParkingRightDTO parkingRight = client.deleteTv(\"cityId\", \"tvId\");\n```\n\n\n### Java7 TefpsSubscriberClient - Usage\n\n```java\nimport fr.polyconseil.smartcity.tefpsclient.subscriber.TefpsSubscriberClient;\nimport fr.polyconseil.smartcity.tefpsclients.auth.OAuth2HttpClient;\nimport fr.polyconseil.smartcity.tefpsclient.dto.subscriber.LightSubscriberDTO;\n\n//...\n// Instantiate client\nTefpsSubscriberClient client = new TefpsSubscriberClient(new OAuth2HttpClient(\n        \"http://tefps-directory-host:port\",\n        \"clientId\",\n        \"clientSecret\"),\n        \"http://tefps-subscription-host:port\"\n);\n\n// Fetch Subscriber Sample\nLightSubscriberDTO subscriber = client.fetchSubscriber(\"cityId\", \"subscriberId\");\n```\n\n### Java7 TefpsPricingClient - Usage\n\n```java\nimport fr.polyconseil.smartcity.tefpsclient.pricing.TefpsPricingClient;\nimport fr.polyconseil.smartcity.tefpsclients.auth.OAuth2HttpClient;\nimport fr.polyconseil.smartcity.tefpsclient.dto.pricing.FnmsParkingDetailResultV1DTO ;\n\n//...\n// Instantiate client\nTefpsPricingClient client = new TefpsPricingClient(new OAuth2HttpClient(\n        \"http://tefps-directory-host:port\",\n        \"clientId\",\n        \"clientSecret\"),\n        \"http://tefps-pricing-host:port\"\n);\n\nFnmsParkingDetailResultV1DTO result = client.fetchParkingDetail(\"cityId\", \"AA-123-AA\", \"FR\", null);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Ftefps-clients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolyconseil%2Ftefps-clients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Ftefps-clients/lists"}