Librería para transferir información entre API Intercambiador y las fuentes de datos.
Project description
Intercambiador-API-Integrate-Python
Installation
Usage
ai = Apiintercambiador("token", True) # True = sandbox
GET
result = ai.getProperties()
POST
data = [
{
"fuente_origen": "1",
"agency_id": "123",
"propietario": "123",
"status_id": "1",
"status_property_id": "1",
"cadastral_reference": "PYTHONTEST1"
},
{
"fuente_origen": "1",
"agency_id": "123",
"propietario": "123",
"status_id": "1",
"status_property_id": "1",
"cadastral_reference": "PYTHONTEST2"
}
]
result = ai.addProperty(data)
PUT
data = [
{
"_id": "000000000000aaaaaaaaaaaa",
"fuente_origen": "1",
"agency_id": "123",
"propietario": "123",
"status_id": "1",
"status_property_id": "1",
"cadastral_reference": "PYTHONTEST1"
},
{
"_id": "000000000000bbbbbbbbbbbb",
"fuente_origen": "1",
"agency_id": "123",
"propietario": "123",
"status_id": "1",
"status_property_id": "1",
"cadastral_reference": "PYTHONTEST2"
}
]
result = ai.updateProperty(data)
DELETE
data = ["000000000000bbbbbbbbbbbb"]
result = ai.deleteProperty(data)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apiintercambiador-0.0.1.tar.gz.
File metadata
- Download URL: apiintercambiador-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9851a6dd07a3ab94f5b3e2679af7582d343f61e2cb4b1bbd251d8de3101d2321
|
|
| MD5 |
a026be01bf9fa9668e331c1ed8d9ced3
|
|
| BLAKE2b-256 |
a9bcf716eae2d0e8fa6aecb09a3af023de416d827c4b38738b1111f51eee5428
|
File details
Details for the file apiintercambiador-0.0.1-py3-none-any.whl.
File metadata
- Download URL: apiintercambiador-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeaee77b1914226bc268052e3e9904741e8bee7e53983144aeb37dd3294a0af2
|
|
| MD5 |
8b3cddd588d3007c7daee9745bacd70e
|
|
| BLAKE2b-256 |
043a333f915572d243ecdf6911e17af098049ba4097f0aa135bf5bc7673358b3
|