Terminé

small python API calls module

Need a script that returns city/street/province from API call through an external service based on postcode and house number.

Example code for a request is on [url removed, login to view]

Which is

import requests

url = "[url removed, login to view]"

querystring = {"postcode":"5038EA","number":"19"}

headers = {

'x-api-key': "TJYq7kMV324WPS0JwhZLz87iXsIc79mQ7gxJgr3x",

'accept': "application/hal+json"

}

response = [url removed, login to view]("GET", url, headers=headers, params=querystring)

print([url removed, login to view])

We connect, feed it a postcode and house number, and receive json in return which contains the fields of interest, such as

{"_embedded":{"addresses":[{"purpose":"kantoorfunctie","postcode":"5038EA","surface":974,"municipality":{"id":"0855","label":"Tilburg"},"city":{"id":"1043","label":"Tilburg"},"letter":null,"geo":{"center":{"rd":{"type":"Point","coordinates":[133867.521,396725.441],"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::28992"}}},"wgs84":{"type":"Point","coordinates":[5.0824628,51.5590797],"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:OGC:1.3:CRS84"}}}}},"nen5825":{"postcode":"5038 EA","street":"STATIONSSTRAAT"},"addition":null,"number":19,"year":1883,"province":{"id":"30","label":"Noord-Brabant"},"id":"0855200000046364","type":"Verblijfsobject","street":"Stationsstraat","_links":{"self":{"href":"[url removed, login to view]"}}}]},"_links":{"self":{"href":"[url removed, login to view]"}}}

We need a function such as

def postcode_get_info(housenumber = 10, postcode = "1964KR")

#stuff

return street, municipality, province

in case we receive multiple id's we return "multiple" instead

in case of no valid output we return "error"

Compétences : Python

en voir plus : small python script, need script load access database, need script mlm binary script, need script lets connect sql server update data, need script music download site, api calls sharepoint helpdesk template, need script ready, convert joomla module php script, tag cloud script need script tag pictures, inc perl module shell script, need script calorie calculator web site, need script, need script people dont cheat ptc site, small python project example, need script directory restaurants

Concernant l'employeur :
( 37 commentaires ) Alphen aan den Rijn, Netherlands

Nº du projet : #16295284

Décerné à:

saravanan081990

hi, I saw Ur project description and it's simple thing only. i am able to complete this project and am looking forward.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% EUR en 1 jour
(0 Commentaires)
0.0

10 freelance font une offre moyenne de €116 pour ce travail

ZealousWang

Hello How are you today? I am read your project description and understand it well. I have good experience with python development. Message me for detail discussion.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(6 Commentaires)
4.8
shingjin

Hello. Checking your post, i am interested in that. As a result-driven person, i can help you and open to work. If you are looking forward the good candidate, pls contact me. Let's built your project successfull Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(13 Commentaires)
4.3
Developer000

I am here freelancer first to discuss the details then i can sure about my price and the deadline. My way of working is not only to complete but also to provide enough understanding to the project owner. So this wi Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(4 Commentaires)
3.4
AzizImani

Hello, I'm a back-end developer with a master degree, I bid for your project because I can do it in the way you want. I already worked here in freelancer, and I'm back, wish that you will my first client after a long a Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(4 Commentaires)
3.4
ysergeyevich

Having experience of python, I can do what you want. Python is my primary programming language. Let us discuss details in chat.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(13 Commentaires)
3.4
RushService

Feel fee to contact me [url removed, login to view] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [url removed, login to view] payment only after the work [url removed, login to view] yo Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(3 Commentaires)
3.0
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(3 Commentaires)
3.1
swanprogrammer

Hello, I am full-time freelancer, I have gone through your project description I can do it. I am python expert with having a good knowledge and experience with python,PHP. I am Master of these skills C, C++, C# progr Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(0 Commentaires)
0.0
BeyoutiF00L

We write and design with our heart, and edit without it. The content and Design plays a very important role in deciding, whether a visitor, will bounce off, or return as a customer.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(0 Commentaires)
0.0