All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ogic.fred.client.fred-client-webstart-application.1.0.7-RELEASE.source-code.GetSourcesExample.groovy Maven / Gradle / Ivy

Go to download

This application demonstrates how to use the FRED Client and allows the developer to write custom queries via the FRED Client API.

There is a newer version: 1.0.11-RELEASE
Show newest version
/* This example, which is written in Groovy script, sends a request to the
 * following URI:
 *
 * https://api.stlouisfed.org/fred/release/sources
 *
 * Note that the api key has been set for you.
 */

import com.coherentlogic.fred.client.core.domain.Sources

return queryBuilder
    .release ()
    .sources ()
    .setReleaseId(51L)
    .setRealtimeStart("2010-06-01")
    .setRealtimeEnd("2012-06-18")
    .doGet(Sources.class)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy