Javascript
JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites.
YQL Open Data Table - dostop.si (2009)
Description: The Yahoo! Query Language lets you query, filter, and join data across any web data source or service on the web. Using our YQL web service, apps run faster with fewer lines of code and a smaller network footprint. YQL uses a SQL-like language because it is a familiar and intuitive method for developers to access data. YQL treats the entire web as a source of table data, enabling developers to select * from Internet.
This YQL open data tables allows you to search through Slovenian college food providers using dostop.si database.
Why should anyone use this data table instead of manually parsing the website?
Because it is:
- Faster (you can take advantage of Yahoo! web-serving infrastructure to fetch, process, and cache the data, reducing your server's exposure and bandwidth costs)
- Easier (it is very easy to specify different search criteria, limit the number of results and choose either XML or JSON for the format of the response)
- SELECT * FROM {table} WHERE city = 'Maribor' AND maxPrice = '2.0' - selects all the data for providers located in Maribor with maximum price of 2 € per meal (voucher)
- SELECT * FROM {table} WHERE delivery = 'true' AND limit = '10' - selects all the data for providers who offer home food delivery
- SELECT provider.title, provider.address, provider.price FROM {table} WHERE city = 'Maribor' AND limit = '10' | sort(field = "provider.price") - selects title, address and price for 10 providers located in Maribor and sorts the returned data by meal price (ascending)
- ...
Source code (github): http://github.com/Kami/yql-tables/tree/master/dostopsi
<< Back to category list