Find Jobs
Hire Freelancers

small python API calls module

€30-250 EUR

已完成
已发布大约 6 年前

€30-250 EUR

货到付款
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 [login to view URL] Which is import requests url = "[login to view URL]" querystring = {"postcode":"5038EA","number":"19"} headers = { 'x-api-key': "TJYq7kMV324WPS0JwhZLz87iXsIc79mQ7gxJgr3x", 'accept': "application/hal+json" } response = [login to view URL]("GET", url, headers=headers, params=querystring) print([login to view URL]) 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":"[login to view URL]"}}}]},"_links":{"self":{"href":"[login to view URL]"}}} 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"
项目 ID: 16295284

关于此项目

8提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
hi, I saw Ur project description and it's simple thing only. i am able to complete this project and am looking forward.
€34 EUR 在1天之内
5.0 (3条评论)
2.8
2.8
8威客以平均价€108 EUR来参与此工作竞价
用户头像
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.
€150 EUR 在3天之内
5.0 (22条评论)
6.6
6.6
用户头像
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 will be base of our long term relationships.....
€150 EUR 在3天之内
4.9 (9条评论)
4.1
4.1
用户头像
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 absent. Best regards.
€155 EUR 在3天之内
5.0 (4条评论)
3.4
3.4
用户头像
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.
€30 EUR 在2天之内
5.0 (2条评论)
1.5
1.5
用户头像
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# programming, Python,PHP,cryptocurrency ,Python, Java, .Net, Software development, Software architecture . I am always happy to work and help you. I have completed a lot of projects with 100% client satisfaction and make them happy. Further discussion will be through chat. Thanks.
€30 EUR 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

NETHERLANDS的国旗
Alphen aan den Rijn, Netherlands
5.0
43
付款方式已验证
会员自6月 7, 2012起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。