Giter Site home page Giter Site logo

utahraul / idealista-api-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gezeta-id/idealista-api-client

0.0 0.0 0.0 4 KB

This is an example NodeJS client for the idealista.com API, done for a friendly internal competition.

Batchfile 0.90% Shell 0.94% JavaScript 98.16%

idealista-api-client's Introduction

idealista-api-client

This is an example NodeJS client for the idealista.com API, done for a friendly internal competition.

It uses SuperAgent, which does all the hard work :)

DISCLAIMER

This project requires a modern version of node (tested with current 6.6). It may work on older versions by using --harmony

It may not. I haven't tested it with older versions.

Also: You need a real idealista API key to use this. The one included doesn't really work. You can register and request a key here.

USAGE

Run with:

./benchmark.sh

or

benchmark.bat

or

npm run-script benchmark

Benchmark queries are declared in conf/conf.js

MANUAL QUERIES

You can run manual queries by setting filters in the command line. An example is given in npm script-run main. It works as follows:

node src/index.js --locationId=0-EU-ES-28-07 --propertyType=homes --operation=sale

NAMED QUERIES

You can run named queries by setting filters in conf/conf.js and then using the argument namedquery, as:

node src/index.js --namedquery=madrid

STATUS

Not all filters are implemented. This is just a small example to get started.

Also, there aren't really any tests. I know, I know. I care. A lot. I promise. But there aren't tests right now.

idealista-api-client's People

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.