News for hackers. Stuff that matters.
Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by mseebach on Friday October 14, 2011 @10:36AM (#3111305)
As nice as this is, there's a fly in the ointment. Google (from where the exchange rates are harvested) Terms & Conditions:

> 5.3 You agree not to access (or attempt to access) any of the Services by any means other than through the interface that is provided by Google, unless you have been specifically allowed to do so in a separate agreement with Google. You specifically agree not to access (or attempt to access) any of the Services through any automated means (including use of scripts or web crawlers) and shall ensure that you comply with the instructions set out in any robots.txt file present on the Services.

> 5.5 Unless you have been specifically permitted to do so in a separate agreement with Google, you agree that you will not reproduce, duplicate, copy, sell, trade or resell the Services for any purpose.

Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by josscrowcroft on Friday October 14, 2011 @10:40AM (#3111331)
Good catch, thanks for that - though this only concerns the open source exchange rates API, not money.js - which can use any fx rate data you give it (including paid services, not that I plan to offer one.)

edit: That said - and even though we're semi off-topic - I contest that the google calculator API has no restrictions with being accessed by scripts or crawlers.

Note that their T&Cs under section 5.3 specify compliance with any 'robots.txt' file on the domains. In http://www.google.com/robots.txt, there is no mention of the /ig/calculator subdomain being prohibited to robots.

Also, under 5.5, the service isn't actually being duplicated, copied or resold.

Any thoughts on that?

Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by mseebach on Friday October 14, 2011 @11:51AM (#3111633)
The website says "The ‘API’ is powered by a simple nodeJS scraper" so I got the impression that you were screen scraping the search page. Consuming an API is typically not considered scraping.

It's not obvious (and IANAL) whether an undocumented API is "provided", but the bigger stink IMO is your re-licensing of the data. The data is unquestionably copyright Google, license unknown. I'd get rid of the license-tag: You're giving the world a license to re-distribute some data that may very well not be yours to distribute in the first place.

Finally, providing data for download in a neatly packaged format would qualify as duplicating and copying in my reading.

Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by chc on Friday October 14, 2011 @04:20PM (#3112761)
Data cannot be copyrighted. Only creative works (defined loosely enough to include Michael Bay films) are covered by copyright law.
Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by mseebach on Friday October 14, 2011 @12:03PM (#3111686)
FWIW, http://www.google.co.uk/intl/en/help/currency_disclaimer.htm... must be assumed to cover access through the API as well.

> Foreign currency rates provided by Citibank N.A. are displayed under licence.

Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by josscrowcroft on Friday October 14, 2011 @12:07PM (#3111700)
That's fair. I pointed out somewhere in the docs that I'm open to people contributing improvements to the legals, including the license and disclaimer. For me, the important thing is that the data is available, for free and on-demand. I don't much care what license it's under, but I know that many people do.
Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by vladocar on Friday October 14, 2011 @11:51AM (#3111635)
Yes, I was talking about https://raw.github.com/currencybot/open-exchange-rates/maste... + &callback=something

Great news :) Thanks

Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by politician on Friday October 14, 2011 @11:18AM (#3111488)
And, technically, aren't you accessing the Services through the interface provided by Google when you access their public API?
Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by josscrowcroft on Friday October 14, 2011 @11:40AM (#3111589)
Yes! Having said that, I'm not taking any chances - I don't expect to hear from them, but will attempt to get an answer from Google as to whether this is ok.

I'm rewriting the scraper right now to use a different service with a more friendly TOS pending further investigation - can't afford a legal battle over this!

Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by qxb on Friday October 14, 2011 @12:32PM (#3111813)
You might find this article, "Considerations on Exchange Rate Data Providers", useful: http://www.currencysystem.com/kb/13-143

It's from the website of the Cloanto system and has some ideas on publicly available FX feeds.

Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by vladocar on Friday October 14, 2011 @11:33AM (#3111553)
Cool project! Any plans for JSONP support?
Re:Money.js is a tiny (1kb) JavaScript currency conversion l... by josscrowcroft on Friday October 14, 2011 @11:42AM (#3111594)
I assume you're talking about the open source exchange rates API - will soon have JSONP support via the openexchangerates.org proxy, for sure - so like normal, you'll be able to go `callback=lolwut` or whatever you need.