Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct Link passing parameters in the URL #130

Open
Roque112 opened this issue Nov 22, 2022 · 2 comments
Open

Direct Link passing parameters in the URL #130

Roque112 opened this issue Nov 22, 2022 · 2 comments

Comments

@Roque112
Copy link

Is it possible to open the app https://app.dvf.etalab.gouv.fr/ with a direct link bypassing the scroll menu ?

The URL

https://app.dvf.etalab.gouv.fr/?p1=v1&p2=v2&p3=v3&p4=v4&p5=v5

with the needed parameters (p1,p2,p3,p4,p5)

p1 : Département
p2 : Commune
p3 : Section cadastrale
p4 : Parcelle cadastrale
p5 : Date de la mutation (already preloaded in a default value)

Thank you

@ghost
Copy link

ghost commented Mar 29, 2023

Here's a repo which may help you regarding your request : https://github.com/Pierreyvon/API_DVF

@MetroConductor
Copy link

MetroConductor commented Oct 17, 2023

I propose solving this client-side, by using hashbang URLs. It would also be possible to use virtual client-side routing using the browser history API, but I think this would be confusing to the end user. The implementation I've come up with supports both /#!/180701-230630/75101/AU/0004 and /#!/75101000AU0004, but I'd love to have feedback on either the URL structure or the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants