Skip to content

A simple tool to quickly scrape and format current foreign exchange rates from Google. Provides an optional REST API to more easily integrate with tools such as the Microsoft Excel `QueryTables` function.

License

Notifications You must be signed in to change notification settings

ScriptTiger/forex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Say Thanks!

forex

A simple tool to quickly scrape and format current foreign exchange rates from Google. Provides an optional REST API to more easily integrate with tools such as the Microsoft Excel QueryTables function.

Usage: forex [options...]

Argument Description
[-base] <base> Base currency
[-quote] <quote> Quote currency
-idecimal <separator> Input decimal separator
-ithousands <separator> Input thousands seperator
-odecimal <separator> Output decimal separator
-othousands <separator> Output thousands seperator
-rest <address:port> Start REST API on given socket

This tool scrapes from a standard Google web search, and as such will get flagged as "unusual traffic" if it is used cyclically in rapid succession. The intent of this tool is for personal use only, to simply aid with certain one-off daily tasks, and should not be used in place of non-free Google API access.

If idecimal and ithousands separators are not defined, a dot (".") will be assumed for decimal separators and a comma (",") will be assumed for thousands separators. If odecimal and othousands separators are not defined, a dot (".") will be used for decimal separators and no thousands separator will be used.

If rest API is defined, all other arguments are ignored.

More About ScriptTiger

For more ScriptTiger scripts and goodies, check out ScriptTiger's GitHub Pages website:
https://scripttiger.github.io/

Donate

About

A simple tool to quickly scrape and format current foreign exchange rates from Google. Provides an optional REST API to more easily integrate with tools such as the Microsoft Excel `QueryTables` function.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published