Code Monkey home page Code Monkey logo

api-catastro's Introduction

Catastro API

Library to get cadastre information from the official source (made with awesome SOAP) by the spanish government.

Installation

This project assumes you have composer installed.

Add the library to your project simply executing:

composer require ibonkonesa/catastro-es 

Usage

use IbonKonesa\Catastro\Client

----

$client = new Client();

There are many methods exposed:

getRegions

Returns all spanish regions

getTowns

Returns towns by a given region. You can also query in order to get more accurated results

getStreets

Return streets by a given region and town. You can also query in order to get more accurated results with a street type or by name

checkNumber

Check if a number exists by a given region, town and street. If the number does not exist, an array with near numbers will be returned

getDataByLocation

Returns cadastre information by a given complete address. If there is not a exact match, an array with near cadastral references will be returned

getDataByReference

Returns cadastre information by a given reference. If there is not a exact match, an array with near cadastral references will be returned

Tests

Execute phpunit to test all previous methods

api-catastro's People

Contributors

zapployer avatar

Watchers

 avatar

api-catastro's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.