Simple Python script that connect to a server API and do some changes to objects.
- or -
Post a project like this2212
$$
- Posted:
- Proposals: 5
- Remote
- #1918072
- Awarded
Description
Experience Level: Intermediate
//urgent
Prepare a simple Python script that would connect to a server API and do some basic changes to various objects.
For this you would need:
- basic understanding of Python, HTTP methods, JSON format,
- usually, API documentation should be available - I have attached a simplified version of a real-life doc, containing enough information to carry on with this task.
The task itself is as follows:
- let’s assume we have a number of “Customer” objects, of which one has the following property - “name”: ” Test Customer”; and another one - “name”: “Real Customer”,
- also, there are a number of “Building” objects, each one having the “customer” property pointing to the (id) of various “Customer” type objects
For all Buildings in the database, if they are pointing to a customer called “Test Customer”, change them so they would point to “Real Customer”. All other buildings should remain the same.
It's really basic, I would like a Python Script that does this job, only one request.
Prepare a simple Python script that would connect to a server API and do some basic changes to various objects.
For this you would need:
- basic understanding of Python, HTTP methods, JSON format,
- usually, API documentation should be available - I have attached a simplified version of a real-life doc, containing enough information to carry on with this task.
The task itself is as follows:
- let’s assume we have a number of “Customer” objects, of which one has the following property - “name”: ” Test Customer”; and another one - “name”: “Real Customer”,
- also, there are a number of “Building” objects, each one having the “customer” property pointing to the (id) of various “Customer” type objects
For all Buildings in the database, if they are pointing to a customer called “Test Customer”, change them so they would point to “Real Customer”. All other buildings should remain the same.
It's really basic, I would like a Python Script that does this job, only one request.
Ana G.
100% (3)Projects Completed
3
Freelancers worked with
3
Projects awarded
67%
Last project
25 Sep 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies