-
-
Save dgonzo/2893306 to your computer and use it in GitHub Desktop.
Federal Reserve FRED Java API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cPropertyURIProperty | |
public static final java.lang.String cPropertyURIProperty | |
System.getProperty(cPropertyURIProperty) returns the URI of the property file. Define this on the java command line. For example, if your properties file is fred.properties then the command line should be | |
java -Dcom.uniservsolutions.stlouisfed.fred.properties="fred" | |
It is also necessary that the classpath contains the directory fred.properties is in. | |
The properties it's looking for are these: | |
# FRED API parameters | |
fredAPIKey=<api_key> | |
fredURL=http://api.stlouisfed.org/fred/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment