ogic.fred.client.fred-client-webstart-application.1.0.7-RELEASE.source-code.GetTagsExample.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client-webstart-application Show documentation
Show all versions of fred-client-webstart-application Show documentation
This application demonstrates how to use the FRED Client and
allows the developer to write custom queries via the FRED Client API.
/* This example, which is written in Groovy script, sends a request to the
following URI:
*
* https://api.stlouisfed.org/fred/tags/series?tag_names=slovenia;food;oecd
*
* Note that the api key has been set for you.
*/
import com.coherentlogic.fred.client.core.domain.Tags
return queryBuilder
.tags ()
.doGet(Tags.class)