C# Class Xaye.Fred.Fred

Show file Open project: cuda/Xaye.Fred Class Usage Examples

Public Methods

Method Description
ClearCache ( ) : void

Clears the series and category caches.

CstTime ( ) : System.DateTime

Gets the current time as a DateTime with a Central Standard Time timezone (St. Louis).

Fred ( string key, HttpClient httpClient, bool cacheSeries = true ) : System

Creates a Fred object with the given developer key.

Fred ( string key, WebClient webClient, bool cacheSeries = true ) : System

Creates a Fred object with the given developer key.

Fred ( string key, bool cacheSeries = true ) : System

Creates a Fred object with the given developer key.

GetCategory ( int id ) : Category

Get a category. Corresponds to http://api.stlouisfed.org/fred/category

GetCategoryAsync ( int id ) : Task

Get a category. Corresponds to http://api.stlouisfed.org/fred/category

GetCategoryChildern ( int categoryId ) : IEnumerable

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children

GetCategoryChildern ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children

GetCategoryChildernAsync ( int categoryId ) : Task>

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children

GetCategoryChildernAsync ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children

GetCategoryRelated ( int categoryId ) : IEnumerable

Get the related categories for a category using system defaults. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related

GetCategoryRelated ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable

Get the related categories for a category. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related

GetCategoryRelatedAsync ( int categoryId ) : Task>

Get the related categories for a category using system defaults. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related

GetCategoryRelatedAsync ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>

Get the related categories for a category. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related

GetCategorySeries ( int categoryId ) : IEnumerable

Get the series in a category using system defaults. Corresponds to http://api.stlouisfed.org/fred/category/series

GetCategorySeries ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : IEnumerable

Get the series in a category. Corresponds to http://api.stlouisfed.org/fred/category/series

GetCategorySeriesAsync ( int categoryId ) : Task>

Get the series in a category using system defaults. Corresponds to http://api.stlouisfed.org/fred/category/series

GetCategorySeriesAsync ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : Task>

Get the series in a category. Corresponds to http://api.stlouisfed.org/fred/category/series

GetRelease ( int releaseId ) : Release

Get a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetRelease ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Release

Get a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleaseAsync ( int releaseId ) : Task

Get a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleaseAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Task

Get a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleaseDates ( int releaseId ) : IEnumerable

Get release dates for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/dates

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleaseDates ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : IEnumerable

Get release dates for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/dates

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleaseDatesAsync ( int releaseId ) : Task>

Get release dates for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/dates

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleaseDatesAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : Task>

Get release dates for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/dates

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleaseSeries ( int releaseId ) : IEnumerable

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series

GetReleaseSeries ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : IEnumerable

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series

GetReleaseSeriesAsync ( int releaseId ) : Task>

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series

GetReleaseSeriesAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : Task>

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series

GetReleaseSources ( int releaseId ) : IEnumerable

Get the sources for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/sources

GetReleaseSources ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable

Get the sources for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/sources

GetReleaseSourcesAsync ( int releaseId ) : Task>

Get the sources for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/sources

GetReleaseSourcesAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>

Get the sources for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/sources

GetReleases ( ) : IEnumerable

Get all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases

GetReleases ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : IEnumerable

Get all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases

GetReleasesAsync ( ) : Task>

Get all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases

GetReleasesAsync ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Task>

Get all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases

GetReleasesDates ( ) : IEnumerable

Get release dates for all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases/dates

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleasesDates ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : IEnumerable

Get release dates for all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases/dates

GetReleasesDatesAsync ( ) : Task>

Get release dates for all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases/dates

Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.

GetReleasesDatesAsync ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : Task>

Get release dates for all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases/dates

GetSeries ( string seriesId ) : Series

Get an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series

GetSeries ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Series

Get an economic data series. Corresponds to http://api.stlouisfed.org/fred/series

GetSeriesAsync ( string seriesId ) : Task

Get an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series

GetSeriesAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task

Get an economic data series. Corresponds to http://api.stlouisfed.org/fred/series

GetSeriesCategories ( string seriesId ) : IEnumerable

Get the categories for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/categories

GetSeriesCategories ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable

Get the categories for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/categories

GetSeriesCategoriesAsync ( string seriesId ) : Task>

Get the categories for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/categories

GetSeriesCategoriesAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>

Get the categories for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/categories

GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservations ( string seriesId, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable

Get the observations or data values for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsAsync ( string seriesId, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsFile ( string seriesId, System.IO.FileType fileType, string filename ) : void

Get the observations or data values for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsFile ( string seriesId, System.IO.FileType fileType, string filename, System.DateTime observationStart, System.DateTime observationEnd ) : void

Get the observations or data values for an economic data series using system defaults except for the date range. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsFile ( string seriesId, System.IO.FileType fileType, string filename, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : void

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsStreamAsync ( string seriesId, System.IO.FileType fileType, Stream stream ) : System.Threading.Tasks.Task

Get the observations or data values for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsStreamAsync ( string seriesId, System.IO.FileType fileType, Stream stream, System.DateTime observationStart, System.DateTime observationEnd ) : System.Threading.Tasks.Task

Get the observations or data values for an economic data series using system defaults except for the date range. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesObservationsStreamAsync ( string seriesId, System.IO.FileType fileType, Stream stream, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : System.Threading.Tasks.Task

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations

GetSeriesRelease ( string seriesId ) : Release

Get the release for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/release

GetSeriesRelease ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Release

Get the release for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/release

GetSeriesReleaseAsync ( string seriesId ) : Task

Get the release for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/release

GetSeriesReleaseAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task

Get the release for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/release

GetSeriesSearch ( string searchText, System.DateTime realtimeStart, System.DateTime realtimeEnd, SearchType type = SearchType.FullText, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SearchRank, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : IEnumerable

Get economic data series that match keywords. Corresponds to http://api.stlouisfed.org/fred/series/search

GetSeriesSearch ( string searchText, SearchType type = SearchType.FullText ) : IEnumerable

Get economic data series that match keywords using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/search

GetSeriesSearchAsync ( string searchText, System.DateTime realtimeStart, System.DateTime realtimeEnd, SearchType type = SearchType.FullText, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SearchRank, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : Task>

Get economic data series that match keywords. Corresponds to http://api.stlouisfed.org/fred/series/search

GetSeriesSearchAsync ( string searchText, SearchType type = SearchType.FullText ) : Task>

Get economic data series that match keywords using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/search

GetSeriesUpdates ( ) : IEnumerable

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/updates

GetSeriesUpdates ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100, int offset, Series filter = Series.UpdateFilterBy.All ) : IEnumerable

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server. Corresponds to http://api.stlouisfed.org/fred/series/updates

GetSeriesUpdatesAsync ( ) : Task>

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/updates

GetSeriesUpdatesAsync ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100, int offset, Series filter = Series.UpdateFilterBy.All ) : Task>

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server. Corresponds to http://api.stlouisfed.org/fred/series/updates

GetSeriesVintageDates ( string seriesId ) : IEnumerable

Get the dates in history when a series' data values were revised or new data values were released using system defaults. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates

GetSeriesVintageDates ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 10000, int offset, SortOrder order = SortOrder.Ascending ) : IEnumerable

Get the dates in history when a series' data values were revised or new data values were released. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates

GetSeriesVintageDatesAsync ( string seriesId ) : Task>

Get the dates in history when a series' data values were revised or new data values were released using system defaults. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates

GetSeriesVintageDatesAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 10000, int offset, SortOrder order = SortOrder.Ascending ) : Task>

Get the dates in history when a series' data values were revised or new data values were released. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates

GetSource ( int sourceId ) : Source

Get a source of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/source

GetSource ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Source

Get a source of economic data. Corresponds to http://api.stlouisfed.org/fred/source

GetSourceAsync ( int sourceId ) : Task

Get a source of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/source

GetSourceAsync ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task

Get a source of economic data. Corresponds to http://api.stlouisfed.org/fred/source

GetSourceReleases ( int sourceId ) : IEnumerable

Get the releases for a source using system defaults. Corresponds to http://api.stlouisfed.org/fred/source/releases

GetSourceReleases ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : IEnumerable

Get the releases for a source. Corresponds to http://api.stlouisfed.org/fred/source/releases

GetSourceReleasesAsync ( int sourceId ) : Task>

Get the releases for a source using system defaults. Corresponds to http://api.stlouisfed.org/fred/source/releases

GetSourceReleasesAsync ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Task>

Get the releases for a source. Corresponds to http://api.stlouisfed.org/fred/source/releases

GetSources ( ) : IEnumerable

Get all sources of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/sources

GetSources ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Source orderBy = Source.OrderBy.SourceId, SortOrder order = SortOrder.Ascending ) : IEnumerable

Get all sources of economic data. Corresponds to http://api.stlouisfed.org/fred/sources

GetSources ( ) : Task>

Get all sources of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/sources

GetSources ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Source orderBy = Source.OrderBy.SourceId, SortOrder order = SortOrder.Ascending ) : Task>

Get all sources of economic data. Corresponds to http://api.stlouisfed.org/fred/sources

Private Methods

Method Description
CreateCategories ( string url ) : IEnumerable
CreateCategories ( string url ) : Task>
CreateCategoriesAsync ( string url ) : Task>
CreateCategory ( System.Xml.Linq.XElement element ) : Category
CreateException ( WebException exp ) : Xaye.Fred.FredExecption
CreateRelease ( System.Xml.Linq.XElement element ) : Release
CreateReleases ( string url ) : IEnumerable
CreateReleases ( string url ) : Task>
CreateReleasesAsync ( string url ) : Task>
CreateSeries ( string url ) : IEnumerable
CreateSeries ( System.Xml.Linq.XElement element ) : Series
CreateSeries ( string url ) : Task>
CreateSeriesAsync ( string url ) : Task>
CreateSource ( System.Xml.Linq.XElement element ) : Source
CreateSources ( string url ) : IEnumerable
CreateSources ( string url ) : Task>
CreateSourcesAsync ( string url ) : Task>
GetExtension ( string filename ) : string
GetRoot ( string url ) : Task
GetRoot ( string url ) : System.Xml.Linq.XElement

Method Details

ClearCache() public method

Clears the series and category caches.
public ClearCache ( ) : void
return void

CstTime() public static method

Gets the current time as a DateTime with a Central Standard Time timezone (St. Louis).
public static CstTime ( ) : System.DateTime
return System.DateTime

Fred() public method

Creates a Fred object with the given developer key.
public Fred ( string key, HttpClient httpClient, bool cacheSeries = true ) : System
key string The FRED developer key.
httpClient HttpClient The HttpClient to use. This is helpful if you need add proxy settings.
cacheSeries bool Should this Fred object cache series as it downloads them.
return System

Fred() public method

Creates a Fred object with the given developer key.
public Fred ( string key, WebClient webClient, bool cacheSeries = true ) : System
key string The FRED developer key.
webClient System.Net.WebClient The WebClient to use. This is helpful if you need add proxy settings.
cacheSeries bool Should this Fred object cache series as it downloads them.
return System

Fred() public method

Creates a Fred object with the given developer key.
public Fred ( string key, bool cacheSeries = true ) : System
key string The FRED developer key.
cacheSeries bool Should this Fred object cache series as it downloads them.
return System

GetCategory() public method

Get a category. Corresponds to http://api.stlouisfed.org/fred/category
public GetCategory ( int id ) : Category
id int The id for a category.
return Category

GetCategoryAsync() public method

Get a category. Corresponds to http://api.stlouisfed.org/fred/category
public GetCategoryAsync ( int id ) : Task
id int The id for a category.
return Task

GetCategoryChildern() public method

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children
public GetCategoryChildern ( int categoryId ) : IEnumerable
categoryId int The id for a category.
return IEnumerable

GetCategoryChildern() public method

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children
public GetCategoryChildern ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable
categoryId int The id for a category.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return IEnumerable

GetCategoryChildernAsync() public method

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children
public GetCategoryChildernAsync ( int categoryId ) : Task>
categoryId int The id for a category.
return Task>

GetCategoryChildernAsync() public method

Get the child categories for a specified parent category. Corresponds to http://api.stlouisfed.org/fred/category/children
public GetCategoryChildernAsync ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>
categoryId int The id for a category.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Task>

GetCategoryRelated() public method

Get the related categories for a category using system defaults. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related
public GetCategoryRelated ( int categoryId ) : IEnumerable
categoryId int The id for a category.
return IEnumerable

GetCategoryRelated() public method

Get the related categories for a category. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related
public GetCategoryRelated ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable
categoryId int The id for a category.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return IEnumerable

GetCategoryRelatedAsync() public method

Get the related categories for a category using system defaults. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related
public GetCategoryRelatedAsync ( int categoryId ) : Task>
categoryId int The id for a category.
return Task>

GetCategoryRelatedAsync() public method

Get the related categories for a category. A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories. Corresponds to http://api.stlouisfed.org/fred/category/related
public GetCategoryRelatedAsync ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>
categoryId int The id for a category.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Task>

GetCategorySeries() public method

Get the series in a category using system defaults. Corresponds to http://api.stlouisfed.org/fred/category/series
public GetCategorySeries ( int categoryId ) : IEnumerable
categoryId int The id for a category.
return IEnumerable

GetCategorySeries() public method

Get the series in a category. Corresponds to http://api.stlouisfed.org/fred/category/series
public GetCategorySeries ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : IEnumerable
categoryId int The id for a category.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Series Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
filter Series The attribute to filter results by.
filterValue string The value of the filter_variable attribute to filter results by.
return IEnumerable

GetCategorySeriesAsync() public method

Get the series in a category using system defaults. Corresponds to http://api.stlouisfed.org/fred/category/series
public GetCategorySeriesAsync ( int categoryId ) : Task>
categoryId int The id for a category.
return Task>

GetCategorySeriesAsync() public method

Get the series in a category. Corresponds to http://api.stlouisfed.org/fred/category/series
public GetCategorySeriesAsync ( int categoryId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : Task>
categoryId int The id for a category.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Series Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
filter Series The attribute to filter results by.
filterValue string The value of the filter_variable attribute to filter results by.
return Task>

GetRelease() public method

Get a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetRelease ( int releaseId ) : Release
releaseId int The ID of the release to retrieve.
return Release

GetRelease() public method

Get a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetRelease ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Release
releaseId int The ID of the release to retrieve.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, defaults to 1000.
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return Release

GetReleaseAsync() public method

Get a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleaseAsync ( int releaseId ) : Task
releaseId int The ID of the release to retrieve.
return Task

GetReleaseAsync() public method

Get a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleaseAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Task
releaseId int The ID of the release to retrieve.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, defaults to 1000.
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return Task

GetReleaseDates() public method

Get release dates for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/dates
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleaseDates ( int releaseId ) : IEnumerable
releaseId int The id for a release.
return IEnumerable

GetReleaseDates() public method

Get release dates for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/dates
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleaseDates ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : IEnumerable
releaseId int The id for a release.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. Integer between 1 and 10000, optional, default: 10000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending release date order.
includeReleaseWithNoData bool Determines whether release dates with no data available are returned. The defalut value 'false' excludes release dates that do not have data.
return IEnumerable

GetReleaseDatesAsync() public method

Get release dates for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/dates
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleaseDatesAsync ( int releaseId ) : Task>
releaseId int The id for a release.
return Task>

GetReleaseDatesAsync() public method

Get release dates for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/dates
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleaseDatesAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : Task>
releaseId int The id for a release.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. Integer between 1 and 10000, optional, default: 10000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending release date order.
includeReleaseWithNoData bool Determines whether release dates with no data available are returned. The defalut value 'false' excludes release dates that do not have data.
return Task>

GetReleaseSeries() public method

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series
public GetReleaseSeries ( int releaseId ) : IEnumerable
releaseId int The id for a release.
return IEnumerable

GetReleaseSeries() public method

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series
public GetReleaseSeries ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : IEnumerable
releaseId int The id for a release.
realtimeStart System.DateTime The start of the real-time period
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Series Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
filter Series The attribute to filter results by.
filterValue string The value of the filter_variable attribute to filter results by.
return IEnumerable

GetReleaseSeriesAsync() public method

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series
public GetReleaseSeriesAsync ( int releaseId ) : Task>
releaseId int The id for a release.
return Task>

GetReleaseSeriesAsync() public method

Get the series on a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/series
public GetReleaseSeriesAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SeriesId, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : Task>
releaseId int The id for a release.
realtimeStart System.DateTime The start of the real-time period
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Series Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
filter Series The attribute to filter results by.
filterValue string The value of the filter_variable attribute to filter results by.
return Task>

GetReleaseSources() public method

Get the sources for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/sources
public GetReleaseSources ( int releaseId ) : IEnumerable
releaseId int The id for a release.
return IEnumerable

GetReleaseSources() public method

Get the sources for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/sources
public GetReleaseSources ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable
releaseId int The id for a release.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return IEnumerable

GetReleaseSourcesAsync() public method

Get the sources for a release of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/release/sources
public GetReleaseSourcesAsync ( int releaseId ) : Task>
releaseId int The id for a release.
return Task>

GetReleaseSourcesAsync() public method

Get the sources for a release of economic data. Corresponds to http://api.stlouisfed.org/fred/release/sources
public GetReleaseSourcesAsync ( int releaseId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>
releaseId int The id for a release.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Task>

GetReleases() public method

Get all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases
public GetReleases ( ) : IEnumerable
return IEnumerable

GetReleases() public method

Get all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases
public GetReleases ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : IEnumerable
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, defaults to 1000.
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return IEnumerable

GetReleasesAsync() public method

Get all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases
public GetReleasesAsync ( ) : Task>
return Task>

GetReleasesAsync() public method

Get all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases
public GetReleasesAsync ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Task>
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, defaults to 1000.
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return Task>

GetReleasesDates() public method

Get release dates for all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases/dates
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleasesDates ( ) : IEnumerable
return IEnumerable

GetReleasesDates() public method

Get release dates for all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases/dates
public GetReleasesDates ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : IEnumerable
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending release date order.
includeReleaseWithNoData bool Determines whether release dates with no data available are returned. The default value 'false' excludes release dates that do not have data.
return IEnumerable

GetReleasesDatesAsync() public method

Get release dates for all releases of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/releases/dates
Note that release dates are published by data sources and do not necessarily represent when data will be available on the FRED or ALFRED websites.
public GetReleasesDatesAsync ( ) : Task>
return Task>

GetReleasesDatesAsync() public method

Get release dates for all releases of economic data. Corresponds to http://api.stlouisfed.org/fred/releases/dates
public GetReleasesDatesAsync ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending, bool includeReleaseWithNoData = false ) : Task>
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending release date order.
includeReleaseWithNoData bool Determines whether release dates with no data available are returned. The default value 'false' excludes release dates that do not have data.
return Task>

GetSeries() public method

Get an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series
public GetSeries ( string seriesId ) : Series
seriesId string The id for a series.
return Series

GetSeries() public method

Get an economic data series. Corresponds to http://api.stlouisfed.org/fred/series
public GetSeries ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Series
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Series

GetSeriesAsync() public method

Get an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series
public GetSeriesAsync ( string seriesId ) : Task
seriesId string The id for a series.
return Task

GetSeriesAsync() public method

Get an economic data series. Corresponds to http://api.stlouisfed.org/fred/series
public GetSeriesAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Task

GetSeriesCategories() public method

Get the categories for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/categories
public GetSeriesCategories ( string seriesId ) : IEnumerable
seriesId string The id for a series.
return IEnumerable

GetSeriesCategories() public method

Get the categories for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/categories
public GetSeriesCategories ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : IEnumerable
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return IEnumerable

GetSeriesCategoriesAsync() public method

Get the categories for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/categories
public GetSeriesCategoriesAsync ( string seriesId ) : Task>
seriesId string The id for a series.
return Task>

GetSeriesCategoriesAsync() public method

Get the categories for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/categories
public GetSeriesCategoriesAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task>
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Task>

GetSeriesObservations() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
vintageDates IEnumerable A comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24). /// Vintage dates are used to download data as it existed on these specified dates in history. Vintage dates can be /// specified instead of a real-time period using realtime_start and realtime_end. /// /// Sometimes it may be useful to enter a vintage date that is not a date when the data values were revised. /// For instance you may want to know the latest available revisions on 2001-09-11 (World Trade Center and /// Pentagon attacks) or as of a Federal Open Market Committee (FOMC) meeting date. Entering a vintage date is /// also useful to compare series on different releases with different release dates.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return IEnumerable

GetSeriesObservations() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return IEnumerable

GetSeriesObservations() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
vintageDates IEnumerable A comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24). /// Vintage dates are used to download data as it existed on these specified dates in history. Vintage dates can be /// specified instead of a real-time period using realtime_start and realtime_end. /// /// Sometimes it may be useful to enter a vintage date that is not a date when the data values were revised. /// For instance you may want to know the latest available revisions on 2001-09-11 (World Trade Center and /// Pentagon attacks) or as of a Federal Open Market Committee (FOMC) meeting date. Entering a vintage date is /// also useful to compare series on different releases with different release dates.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return IEnumerable

GetSeriesObservations() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservations ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return IEnumerable

GetSeriesObservations() public method

Get the observations or data values for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservations ( string seriesId, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : IEnumerable
seriesId string The id for a series.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return IEnumerable

GetSeriesObservationsAsync() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
vintageDates IEnumerable A comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24). /// Vintage dates are used to download data as it existed on these specified dates in history. Vintage dates can be /// specified instead of a real-time period using realtime_start and realtime_end. /// /// Sometimes it may be useful to enter a vintage date that is not a date when the data values were revised. /// For instance you may want to know the latest available revisions on 2001-09-11 (World Trade Center and /// Pentagon attacks) or as of a Federal Open Market Committee (FOMC) meeting date. Entering a vintage date is /// also useful to compare series on different releases with different release dates.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return Task>

GetSeriesObservationsAsync() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return Task>

GetSeriesObservationsAsync() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
vintageDates IEnumerable A comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24). /// Vintage dates are used to download data as it existed on these specified dates in history. Vintage dates can be /// specified instead of a real-time period using realtime_start and realtime_end. /// /// Sometimes it may be useful to enter a vintage date that is not a date when the data values were revised. /// For instance you may want to know the latest available revisions on 2001-09-11 (World Trade Center and /// Pentagon attacks) or as of a Federal Open Market Committee (FOMC) meeting date. Entering a vintage date is /// also useful to compare series on different releases with different release dates.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return Task>

GetSeriesObservationsAsync() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsAsync ( string seriesId, System.DateTime observationStart, System.DateTime observationEnd, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>
seriesId string The id for a series.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return Task>

GetSeriesObservationsAsync() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsAsync ( string seriesId, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : Task>
seriesId string The id for a series.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return Task>

GetSeriesObservationsFile() public method

Get the observations or data values for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsFile ( string seriesId, System.IO.FileType fileType, string filename ) : void
seriesId string The id for a series.
fileType System.IO.FileType The type of file to send.
filename string The where to save the file.
return void

GetSeriesObservationsFile() public method

Get the observations or data values for an economic data series using system defaults except for the date range. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsFile ( string seriesId, System.IO.FileType fileType, string filename, System.DateTime observationStart, System.DateTime observationEnd ) : void
seriesId string The id for a series.
fileType System.IO.FileType The type of file to send.
filename string The where to save the file.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
return void

GetSeriesObservationsFile() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsFile ( string seriesId, System.IO.FileType fileType, string filename, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : void
seriesId string The id for a series.
fileType System.IO.FileType The type of file to send.
filename string The where to save the file.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
vintageDates IEnumerable A comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24). /// Vintage dates are used to download data as it existed on these specified dates in history. Vintage dates can be /// specified instead of a real-time period using realtime_start and realtime_end. /// /// Sometimes it may be useful to enter a vintage date that is not a date when the data values were revised. /// For instance you may want to know the latest available revisions on 2001-09-11 (World Trade Center and /// Pentagon attacks) or as of a Federal Open Market Committee (FOMC) meeting date. Entering a vintage date is /// also useful to compare series on different releases with different release dates.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return void

GetSeriesObservationsStreamAsync() public method

Get the observations or data values for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsStreamAsync ( string seriesId, System.IO.FileType fileType, Stream stream ) : System.Threading.Tasks.Task
seriesId string The id for a series.
fileType System.IO.FileType The type of file to send.
stream Stream The stream to save the file to.
return System.Threading.Tasks.Task

GetSeriesObservationsStreamAsync() public method

Get the observations or data values for an economic data series using system defaults except for the date range. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsStreamAsync ( string seriesId, System.IO.FileType fileType, Stream stream, System.DateTime observationStart, System.DateTime observationEnd ) : System.Threading.Tasks.Task
seriesId string The id for a series.
fileType System.IO.FileType The type of file to send.
stream Stream The stream to save the file to.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
return System.Threading.Tasks.Task

GetSeriesObservationsStreamAsync() public method

Get the observations or data values for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/observations
public GetSeriesObservationsStreamAsync ( string seriesId, System.IO.FileType fileType, Stream stream, System.DateTime observationStart, System.DateTime observationEnd, System.DateTime realtimeStart, System.DateTime realtimeEnd, IEnumerable vintageDates, int limit = 100000, int offset, SortOrder order = SortOrder.Ascending, Transformation transformation = Transformation.None, Frequency frequency = Frequency.None, AggregationMethod method = AggregationMethod.Average, OutputType outputType = OutputType.RealTime ) : System.Threading.Tasks.Task
seriesId string The id for a series.
fileType System.IO.FileType The type of file to send.
stream Stream The stream to write the file to.
observationStart System.DateTime The start of the observation period.
observationEnd System.DateTime The end of the observation period.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
vintageDates IEnumerable A comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24). /// Vintage dates are used to download data as it existed on these specified dates in history. Vintage dates can be /// specified instead of a real-time period using realtime_start and realtime_end. /// /// Sometimes it may be useful to enter a vintage date that is not a date when the data values were revised. /// For instance you may want to know the latest available revisions on 2001-09-11 (World Trade Center and /// Pentagon attacks) or as of a Federal Open Market Committee (FOMC) meeting date. Entering a vintage date is /// also useful to compare series on different releases with different release dates.
limit int The maximum number of results to return. An integer between 1 and 100000, optional, default: 100000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending observation_date order.
transformation Transformation Type of data value transformation.
frequency Frequency An optional parameter that indicates a lower frequency to aggregate values to. /// The FRED frequency aggregation feature converts higher frequency data series into lower frequency data series /// (e.g. converts a monthly data series into an annual data series). In FRED, the highest frequency data is daily, /// and the lowest frequency data is annual. There are 3 aggregation methods available- average, sum, and end of period.
method AggregationMethod A key that indicates the aggregation method used for frequency aggregation.
outputType OutputType Output type: /// 1. Observations by Real-Time Period /// 2. Observations by Vintage Date, All Observations /// 3. Observations by Vintage Date, New and Revised Observations Only /// 4. Observations, Initial Release Only ///
return System.Threading.Tasks.Task

GetSeriesRelease() public method

Get the release for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/release
public GetSeriesRelease ( string seriesId ) : Release
seriesId string The id for a series.
return Release

GetSeriesRelease() public method

Get the release for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/release
public GetSeriesRelease ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Release
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Release

GetSeriesReleaseAsync() public method

Get the release for an economic data series using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/release
public GetSeriesReleaseAsync ( string seriesId ) : Task
seriesId string The id for a series.
return Task

GetSeriesReleaseAsync() public method

Get the release for an economic data series. Corresponds to http://api.stlouisfed.org/fred/series/release
public GetSeriesReleaseAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Task

GetSeriesSearch() public method

Get economic data series that match keywords. Corresponds to http://api.stlouisfed.org/fred/series/search
public GetSeriesSearch ( string searchText, System.DateTime realtimeStart, System.DateTime realtimeEnd, SearchType type = SearchType.FullText, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SearchRank, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : IEnumerable
searchText string The words to match against economic data series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
type SearchType Determines the type of search to perform. /// 'full_text' searches series attributes title, units, frequency, and notes by parsing words into stems. /// This makes it possible for searches like 'Industry' to match series containing related words such as 'Industries'. /// Of course, you can search for multiple words like 'money' and 'stock'. Remember to url encode spaces (e.g. 'money%20stock'). /// 'series_id' performs a substring search on series IDs. Searching for 'ex' will find series containing 'ex' anywhere in /// a series ID. '*' can be used to anchor searches and match 0 or more of any character. Searching for 'ex*' will /// find series containing 'ex' at the beginning of a series ID. Searching for '*ex' will find series containing /// 'ex' at the end of a series ID. It's also possible to put an '*' in the middle of a string. 'm*sl' finds any /// series starting with 'm' and ending with 'sl'. /// optional, default: full_text.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Series Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
filter Series The attribute to filter results by.
filterValue string The value of the filter_variable attribute to filter results by.
return IEnumerable

GetSeriesSearch() public method

Get economic data series that match keywords using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/search
public GetSeriesSearch ( string searchText, SearchType type = SearchType.FullText ) : IEnumerable
searchText string The words to match against economic data series.
type SearchType Determines the type of search to perform. /// 'full_text' searches series attributes title, units, frequency, and notes by parsing words into stems. /// This makes it possible for searches like 'Industry' to match series containing related words such as 'Industries'. /// Of course, you can search for multiple words like 'money' and 'stock'. Remember to url encode spaces (e.g. 'money%20stock'). /// 'series_id' performs a substring search on series IDs. Searching for 'ex' will find series containing 'ex' anywhere in /// a series ID. '*' can be used to anchor searches and match 0 or more of any character. Searching for 'ex*' will /// find series containing 'ex' at the beginning of a series ID. Searching for '*ex' will find series containing /// 'ex' at the end of a series ID. It's also possible to put an '*' in the middle of a string. 'm*sl' finds any /// series starting with 'm' and ending with 'sl'. /// optional, default: full_text.
return IEnumerable

GetSeriesSearchAsync() public method

Get economic data series that match keywords. Corresponds to http://api.stlouisfed.org/fred/series/search
public GetSeriesSearchAsync ( string searchText, System.DateTime realtimeStart, System.DateTime realtimeEnd, SearchType type = SearchType.FullText, int limit = 1000, int offset, Series orderBy = Series.OrderBy.SearchRank, SortOrder order = SortOrder.Ascending, Series filter = Series.FilterBy.None, string filterValue = "" ) : Task>
searchText string The words to match against economic data series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
type SearchType Determines the type of search to perform. /// 'full_text' searches series attributes title, units, frequency, and notes by parsing words into stems. /// This makes it possible for searches like 'Industry' to match series containing related words such as 'Industries'. /// Of course, you can search for multiple words like 'money' and 'stock'. Remember to url encode spaces (e.g. 'money%20stock'). /// 'series_id' performs a substring search on series IDs. Searching for 'ex' will find series containing 'ex' anywhere in /// a series ID. '*' can be used to anchor searches and match 0 or more of any character. Searching for 'ex*' will /// find series containing 'ex' at the beginning of a series ID. Searching for '*ex' will find series containing /// 'ex' at the end of a series ID. It's also possible to put an '*' in the middle of a string. 'm*sl' finds any /// series starting with 'm' and ending with 'sl'. /// optional, default: full_text.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Series Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
filter Series The attribute to filter results by.
filterValue string The value of the filter_variable attribute to filter results by.
return Task>

GetSeriesSearchAsync() public method

Get economic data series that match keywords using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/search
public GetSeriesSearchAsync ( string searchText, SearchType type = SearchType.FullText ) : Task>
searchText string The words to match against economic data series.
type SearchType Determines the type of search to perform. /// 'full_text' searches series attributes title, units, frequency, and notes by parsing words into stems. /// This makes it possible for searches like 'Industry' to match series containing related words such as 'Industries'. /// Of course, you can search for multiple words like 'money' and 'stock'. Remember to url encode spaces (e.g. 'money%20stock'). /// 'series_id' performs a substring search on series IDs. Searching for 'ex' will find series containing 'ex' anywhere in /// a series ID. '*' can be used to anchor searches and match 0 or more of any character. Searching for 'ex*' will /// find series containing 'ex' at the beginning of a series ID. Searching for '*ex' will find series containing /// 'ex' at the end of a series ID. It's also possible to put an '*' in the middle of a string. 'm*sl' finds any /// series starting with 'm' and ending with 'sl'. /// optional, default: full_text.
return Task>

GetSeriesUpdates() public method

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/updates
public GetSeriesUpdates ( ) : IEnumerable
return IEnumerable

GetSeriesUpdates() public method

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server. Corresponds to http://api.stlouisfed.org/fred/series/updates
public GetSeriesUpdates ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100, int offset, Series filter = Series.UpdateFilterBy.All ) : IEnumerable
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 100, optional, default: 100
offset int non-negative integer, optional, default: 0
filter Series Limit results by geographic type of economic data series; namely 'macro', 'regional', and 'all'. /// String, optional, default: 'all' meaning no filter. /// One of the values: 'macro', 'regional', 'all' /// 'macro' limits results to macroeconomic data series. In other words, series representing the entire United States. /// 'regional' limits results to series for parts of the US; namely, series for US states, counties, and Metropolitan /// Statistical Areas (MSA). 'all' does not filter results.
return IEnumerable

GetSeriesUpdatesAsync() public method

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server using system defaults. Corresponds to http://api.stlouisfed.org/fred/series/updates
public GetSeriesUpdatesAsync ( ) : Task>
return Task>

GetSeriesUpdatesAsync() public method

Get economic data series sorted in descending order of when transactions to update data values where processed on the FRED® server. Corresponds to http://api.stlouisfed.org/fred/series/updates
public GetSeriesUpdatesAsync ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 100, int offset, Series filter = Series.UpdateFilterBy.All ) : Task>
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 100, optional, default: 100
offset int non-negative integer, optional, default: 0
filter Series Limit results by geographic type of economic data series; namely 'macro', 'regional', and 'all'. /// String, optional, default: 'all' meaning no filter. /// One of the values: 'macro', 'regional', 'all' /// 'macro' limits results to macroeconomic data series. In other words, series representing the entire United States. /// 'regional' limits results to series for parts of the US; namely, series for US states, counties, and Metropolitan /// Statistical Areas (MSA). 'all' does not filter results.
return Task>

GetSeriesVintageDates() public method

Get the dates in history when a series' data values were revised or new data values were released using system defaults. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates
public GetSeriesVintageDates ( string seriesId ) : IEnumerable
seriesId string The id for a series.
return IEnumerable

GetSeriesVintageDates() public method

Get the dates in history when a series' data values were revised or new data values were released. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates
public GetSeriesVintageDates ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 10000, int offset, SortOrder order = SortOrder.Ascending ) : IEnumerable
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 10000, optional, default: 10000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending vintage_date order.
return IEnumerable

GetSeriesVintageDatesAsync() public method

Get the dates in history when a series' data values were revised or new data values were released using system defaults. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates
public GetSeriesVintageDatesAsync ( string seriesId ) : Task>
seriesId string The id for a series.
return Task>

GetSeriesVintageDatesAsync() public method

Get the dates in history when a series' data values were revised or new data values were released. Vintage dates are the release dates for a series excluding release dates when the data for a series did not change. Corresponds to http://api.stlouisfed.org/fred/series/vintagedates
public GetSeriesVintageDatesAsync ( string seriesId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 10000, int offset, SortOrder order = SortOrder.Ascending ) : Task>
seriesId string The id for a series.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 10000, optional, default: 10000
offset int non-negative integer, optional, default: 0
order SortOrder Sort results is ascending or descending vintage_date order.
return Task>

GetSource() public method

Get a source of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/source
public GetSource ( int sourceId ) : Source
sourceId int The id for a source.
return Source

GetSource() public method

Get a source of economic data. Corresponds to http://api.stlouisfed.org/fred/source
public GetSource ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Source
sourceId int The id for a source.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Source

GetSourceAsync() public method

Get a source of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/source
public GetSourceAsync ( int sourceId ) : Task
sourceId int The id for a source.
return Task

GetSourceAsync() public method

Get a source of economic data. Corresponds to http://api.stlouisfed.org/fred/source
public GetSourceAsync ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task
sourceId int The id for a source.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
return Task

GetSourceReleases() public method

Get the releases for a source using system defaults. Corresponds to http://api.stlouisfed.org/fred/source/releases
public GetSourceReleases ( int sourceId ) : IEnumerable
sourceId int The id for a source.
return IEnumerable

GetSourceReleases() public method

Get the releases for a source. Corresponds to http://api.stlouisfed.org/fred/source/releases
public GetSourceReleases ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : IEnumerable
sourceId int The id for a source.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return IEnumerable

GetSourceReleasesAsync() public method

Get the releases for a source using system defaults. Corresponds to http://api.stlouisfed.org/fred/source/releases
public GetSourceReleasesAsync ( int sourceId ) : Task>
sourceId int The id for a source.
return Task>

GetSourceReleasesAsync() public method

Get the releases for a source. Corresponds to http://api.stlouisfed.org/fred/source/releases
public GetSourceReleasesAsync ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Release orderBy = Release.OrderBy.ReleaseId, SortOrder order = SortOrder.Ascending ) : Task>
sourceId int The id for a source.
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Release Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return Task>

GetSources() public method

Get all sources of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/sources
public GetSources ( ) : IEnumerable
return IEnumerable

GetSources() public method

Get all sources of economic data. Corresponds to http://api.stlouisfed.org/fred/sources
public GetSources ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Source orderBy = Source.OrderBy.SourceId, SortOrder order = SortOrder.Ascending ) : IEnumerable
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Source Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return IEnumerable

GetSources() public method

Get all sources of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/sources
public GetSources ( ) : Task>
return Task>

GetSources() public method

Get all sources of economic data. Corresponds to http://api.stlouisfed.org/fred/sources
public GetSources ( System.DateTime realtimeStart, System.DateTime realtimeEnd, int limit = 1000, int offset, Source orderBy = Source.OrderBy.SourceId, SortOrder order = SortOrder.Ascending ) : Task>
realtimeStart System.DateTime The start of the real-time period.
realtimeEnd System.DateTime The end of the real-time period.
limit int The maximum number of results to return. An integer between 1 and 1000, optional, default: 1000
offset int non-negative integer, optional, default: 0
orderBy Source Order results by values of the specified attribute.
order SortOrder Sort results is ascending or descending order for attribute values specified by order_by.
return Task>