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

Adressenregister implementeren #165

Closed
claeyswo opened this issue Mar 28, 2023 · 1 comment
Closed

Adressenregister implementeren #165

claeyswo opened this issue Mar 28, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@claeyswo
Copy link
Member

crabpy_pyramid.add_route(config,
'list_gewesten',
'/adressenregister/gewesten')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L150

crabpy_pyramid.add_route(config,
'get_gewest_by_id',
'/adressenregister/gewesten/{gewest_id}')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L153

crabpy_pyramid.add_route(config,
'list_provincies',
'/adressenregister/gewesten/{gewest_id}/provincies')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L165

crabpy_pyramid.add_route(config,
'get_provincie',
'/adressenregister/provincies/{provincie_id}')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L177

crabpy_pyramid.add_route(config,
'list_deelgemeenten',
'/adressenregister/gewesten/{gewest_id}/deelgemeenten')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L249

crabpy_pyramid.add_route(config,
'list_deelgemeenten_by_gemeente',
'/adressenregister/gemeenten/{gemeente_niscode}/deelgemeenten')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L269

crabpy_pyramid.add_route(config,
'get_deelgemeente_by_id',
'/adressenregister/deelgemeenten/{deelgemeente_id}')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L286

Komen uit static json dus 1-1 over te nemen zoals crab

crabpy_pyramid.add_route(config,
'list_gemeenten_by_provincie',
'/adressenregister/provincies/{provincie_id}/gemeenten')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L191

return {
'niscode': obj.niscode,
'naam': obj.naam
}

crabpy_pyramid.add_route(config,
'list_gemeenten_adressenregister',
'/adressenregister/gewesten/{gewest_id}/gemeenten')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L209

return {
'niscode': obj.niscode,
'naam': obj.naam
}

crabpy_pyramid.add_route(config,
'get_gemeente_adressenregister',
'/adressenregister/gemeenten/{niscode}')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L239

return {
'niscode': obj.niscode,
'naam': obj.naam,
'taal': obj.taal,
'status': obj.status
}

crabpy_pyramid.add_route(config,
'list_straten',
'/adressenregister/gemeenten/{niscode}/straten')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L303

return {
'id': obj.id,
'naam': naam,
'status': obj.status
}

crabpy_pyramid.add_route(config,
'get_straat_by_id',
'/adressenregister/straten/{straat_id}')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L319

return {
'id': obj.id,
'naam': obj.naam,
'status': obj.status
}

crabpy_pyramid.add_route(config,
'list_adressen',
'/adressenregister/straten/{straat_id}/adressen')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/gateway/adressenregister.py#L329

return {
'id': obj.id,
'label': obj.label,
'huisnummer': obj.huisnummer,
'busnummer': obj.busnummer,
'status': obj.status
}

crabpy_pyramid.add_route(
config,
'get_adres_by_straat_and_huisnummer',
'/adressenregister/straten/{straat_id}/huisnummers/{huisnummer}')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/client.py#L164 => gateway method nog te schrijven

return {
'id': obj.id,
'label': obj.label,
'huisnummer': obj.huisnummer,
'busnummer': obj.busnummer,
'status': obj.status
}

crabpy_pyramid.add_route(
config,
'get_adres_by_straat_and_huisnummer_and_busnummer',
'/adressenregister/straten/{straat_id}/huisnummers/{huisnummer}/busnummers/{busnummer}')

https://github.com/OnroerendErfgoed/crabpy/blob/9cfb4867bca1f6d1577c6d8f34a30dbb34bc16bc/crabpy/client.py#L164 => gateway method nog te schrijven

return {
'id': obj.id,
'label': obj.label,
'huisnummer': obj.huisnummer,
'busnummer': obj.busnummer,
'status': obj.status
}

crabpy_pyramid.add_route(config,
'get_adres_by_id',
'/adressenregister/adressen/{adres_id}')

https://github.com/OnroerendErfgoed/crabpy/blob/9ab4abfcdc5a6a4a1f217ce3f246c22682986127/crabpy/client.py#L161 => gateway method nog te schrijven

return {
'id': obj.id,
'label': obj.label,
'huisnummer': obj.huisnummer,
'busnummer': obj.busnummer,
'status': obj.status
}

crabpy_pyramid.add_route(config,
'list_percelen',
'/adressenregister/adressen/{adres_id}/percelen')

https://github.com/OnroerendErfgoed/crabpy/blob/9ab4abfcdc5a6a4a1f217ce3f246c22682986127/crabpy/client.py#L197 => gateway method nog te schrijven

return {
'id': obj.id,
'status': obj.status
}

crabpy_pyramid.add_route(config,
'get_perceel_by_id',
'/adressenregister/percelen/{perceel_id}')

return {
'id': obj.id,
'status': obj.status,
'adressen': [{'id': adres.id}]
}

crabpy_pyramid.add_route(config,
'list_postinfo_by_gemeente',
'/adressenregister/gemeenten/{gemeente_naam}/postinfo')

https://github.com/OnroerendErfgoed/crabpy/blob/9ab4abfcdc5a6a4a1f217ce3f246c22682986127/crabpy/client.py#L105 => gateway method nog te schrijven

return {
'postcode': obj.postcode,
'status': obj.status,
'namen': obj.namen
}

crabpy_pyramid.add_route(config,
'get_postinfo_by_postcode',
'/adressenregister/postinfo/{postcode}')

https://github.com/OnroerendErfgoed/crabpy/blob/9ab4abfcdc5a6a4a1f217ce3f246c22682986127/crabpy/client.py#L102 => gateway method nog te schrijven

return {
'postcode': obj.postcode,
'status': obj.status,
'namen': obj.namen
}

crabpy_pyramid.add_route(config,
'list_landen',
'/crab/landen')
crabpy_pyramid.add_route(config,
'get_land_by_id',
'/crab/landen/{land_id}')

pycountries sutff 1-1 over te nemen

@claeyswo
Copy link
Member Author

include optie voorzien voor adressenregister cfr.

if crab_settings['include']:

@claeyswo claeyswo modified the milestones: Sprint 203, Sprint 204 Mar 30, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 4, 2023
vancamti added a commit that referenced this issue Apr 13, 2023
claeyswo added a commit that referenced this issue Apr 13, 2023
…gister_implementeren

#165 adressen register implementeren
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 6, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
vancamti added a commit that referenced this issue Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants