C# Class Xaye.Fred.Fred

Afficher le fichier Open project: cuda/Xaye.Fred Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Clears the series and category caches.
public ClearCache ( ) : void
Résultat void

CstTime() public static méthode

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

Fred() public méthode

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.
Résultat System

Fred() public méthode

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.
Résultat System

Fred() public méthode

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.
Résultat System

GetCategory() public méthode

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

GetCategoryAsync() public méthode

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

GetCategoryChildern() public méthode

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.
Résultat IEnumerable

GetCategoryChildern() public méthode

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.
Résultat IEnumerable

GetCategoryChildernAsync() public méthode

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.
Résultat Task>

GetCategoryChildernAsync() public méthode

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.
Résultat Task>

GetCategoryRelated() public méthode

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.
Résultat IEnumerable

GetCategoryRelated() public méthode

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.
Résultat IEnumerable

GetCategoryRelatedAsync() public méthode

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.
Résultat Task>

GetCategoryRelatedAsync() public méthode

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.
Résultat Task>

GetCategorySeries() public méthode

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.
Résultat IEnumerable

GetCategorySeries() public méthode

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.
Résultat IEnumerable

GetCategorySeriesAsync() public méthode

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.
Résultat Task>

GetCategorySeriesAsync() public méthode

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.
Résultat Task>

GetRelease() public méthode

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.
Résultat Release

GetRelease() public méthode

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.
Résultat Release

GetReleaseAsync() public méthode

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.
Résultat Task

GetReleaseAsync() public méthode

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.
Résultat Task

GetReleaseDates() public méthode

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.
Résultat IEnumerable

GetReleaseDates() public méthode

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.
Résultat IEnumerable

GetReleaseDatesAsync() public méthode

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.
Résultat Task>

GetReleaseDatesAsync() public méthode

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.
Résultat Task>

GetReleaseSeries() public méthode

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.
Résultat IEnumerable

GetReleaseSeries() public méthode

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.
Résultat IEnumerable

GetReleaseSeriesAsync() public méthode

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.
Résultat Task>

GetReleaseSeriesAsync() public méthode

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.
Résultat Task>

GetReleaseSources() public méthode

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.
Résultat IEnumerable

GetReleaseSources() public méthode

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.
Résultat IEnumerable

GetReleaseSourcesAsync() public méthode

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.
Résultat Task>

GetReleaseSourcesAsync() public méthode

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.
Résultat Task>

GetReleases() public méthode

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

GetReleases() public méthode

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.
Résultat IEnumerable

GetReleasesAsync() public méthode

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

GetReleasesAsync() public méthode

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.
Résultat Task>

GetReleasesDates() public méthode

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
Résultat IEnumerable

GetReleasesDates() public méthode

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.
Résultat IEnumerable

GetReleasesDatesAsync() public méthode

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>
Résultat Task>

GetReleasesDatesAsync() public méthode

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.
Résultat Task>

GetSeries() public méthode

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.
Résultat Series

GetSeries() public méthode

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.
Résultat Series

GetSeriesAsync() public méthode

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.
Résultat Task

GetSeriesAsync() public méthode

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.
Résultat Task

GetSeriesCategories() public méthode

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.
Résultat IEnumerable

GetSeriesCategories() public méthode

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.
Résultat IEnumerable

GetSeriesCategoriesAsync() public méthode

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.
Résultat Task>

GetSeriesCategoriesAsync() public méthode

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.
Résultat Task>

GetSeriesObservations() public méthode

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 ///
Résultat IEnumerable

GetSeriesObservations() public méthode

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 ///
Résultat IEnumerable

GetSeriesObservations() public méthode

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 ///
Résultat IEnumerable

GetSeriesObservations() public méthode

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 ///
Résultat IEnumerable

GetSeriesObservations() public méthode

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 ///
Résultat IEnumerable

GetSeriesObservationsAsync() public méthode

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 ///
Résultat Task>

GetSeriesObservationsAsync() public méthode

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 ///
Résultat Task>

GetSeriesObservationsAsync() public méthode

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 ///
Résultat Task>

GetSeriesObservationsAsync() public méthode

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 ///
Résultat Task>

GetSeriesObservationsAsync() public méthode

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 ///
Résultat Task>

GetSeriesObservationsFile() public méthode

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.
Résultat void

GetSeriesObservationsFile() public méthode

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.
Résultat void

GetSeriesObservationsFile() public méthode

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 ///
Résultat void

GetSeriesObservationsStreamAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

GetSeriesObservationsStreamAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

GetSeriesObservationsStreamAsync() public méthode

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 ///
Résultat System.Threading.Tasks.Task

GetSeriesRelease() public méthode

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.
Résultat Release

GetSeriesRelease() public méthode

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.
Résultat Release

GetSeriesReleaseAsync() public méthode

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.
Résultat Task

GetSeriesReleaseAsync() public méthode

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.
Résultat Task

GetSeriesSearch() public méthode

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.
Résultat IEnumerable

GetSeriesSearch() public méthode

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.
Résultat IEnumerable

GetSeriesSearchAsync() public méthode

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.
Résultat Task>

GetSeriesSearchAsync() public méthode

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.
Résultat Task>

GetSeriesUpdates() public méthode

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
Résultat IEnumerable

GetSeriesUpdates() public méthode

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.
Résultat IEnumerable

GetSeriesUpdatesAsync() public méthode

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>
Résultat Task>

GetSeriesUpdatesAsync() public méthode

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.
Résultat Task>

GetSeriesVintageDates() public méthode

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.
Résultat IEnumerable

GetSeriesVintageDates() public méthode

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.
Résultat IEnumerable

GetSeriesVintageDatesAsync() public méthode

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.
Résultat Task>

GetSeriesVintageDatesAsync() public méthode

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.
Résultat Task>

GetSource() public méthode

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.
Résultat Source

GetSource() public méthode

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.
Résultat Source

GetSourceAsync() public méthode

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.
Résultat Task

GetSourceAsync() public méthode

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.
Résultat Task

GetSourceReleases() public méthode

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.
Résultat IEnumerable

GetSourceReleases() public méthode

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.
Résultat IEnumerable

GetSourceReleasesAsync() public méthode

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.
Résultat Task>

GetSourceReleasesAsync() public méthode

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.
Résultat Task>

GetSources() public méthode

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

GetSources() public méthode

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.
Résultat IEnumerable

GetSources() public méthode

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

GetSources() public méthode

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.
Résultat Task>