npm install @yek-plus/tkgm
const tkgm = require("@yek-plus/tkgm");
tkgm()
.get.arsa({
mahalleNo: 56044,
ada: 9880,
parsel: 1,
})
.then(console.log);
property |
type |
required |
default |
description |
fetch |
function |
false |
node-fetch package |
request fetch function |
property |
type |
required |
default |
description |
const response = [
{
text: String,
id: Number,
},
];
tkgm().get.ilce({ ilNo: 57 });
property |
type |
required |
default |
description |
ilNo |
number |
true |
null |
İdari Yapı il Numarası |
const response = [
{
text: String,
id: Number,
},
];
tkgm().get.mahalle({ ilceNo: 56044 });
property |
type |
required |
default |
description |
ilceNo |
number |
true |
null |
İdari Yapı ilce Numarası |
const response = [
{
text: String,
id: Number,
},
];
tkgm().get.arsa({ mahalleNo: 56044, ada: 9880, parsel: 1 });
property |
type |
required |
default |
description |
mahalleNo |
number |
true |
null |
İdari Yapı mahalle Numarası |
ada |
number |
true |
null |
Arsa ada Numarası |
parsel |
number |
true |
null |
Arsa parsel Numarası |
const response = {
type: String,
geometry: {
coordinates: [[[Number, Number]]],
type: String,
},
properties: {
ilceAd: String,
mevkii: String,
ilId: Number,
durum: String,
parselId: Number,
zeminKmdurum: String,
zeminId: Number,
parselNo: String,
nitelik: String,
mahalleAd: String,
gittigiParselListe: String,
gittigiParselSebep: String,
alan: String,
adaNo: String,
ilceId: Number,
ilAd: String,
mahalleId: Number,
pafta: String,
},
};