T44AFTDLSOJ7GS4CIZLVNJCX4F5GJSGFUXBI6OBLHNILYQLZCFWQC
pub fn category(category_id: usize) -> Categories {
serde_json::from_str(&response(
/// ```
/// for i in 0..100 {
/// match Fred::category(i) {
/// Ok(category) => println!("{}\n{}", i, category),
/// Err(json_err) => {},
/// }
/// }
/// ```
pub fn category(category_id: usize) -> Result<Categories, String> {
let response = response(
pub fn category_series(category_id: usize) -> CategorySeries {
serde_json::from_str(&response(
/// ```
/// match Fred::category_series(9) {
/// Ok(category_series) => println!("{}", category_series),
/// Err(serde_err) => println!("{}", serde_err),
/// };
/// ```
pub fn category_series(category_id: usize) -> Result<CategorySeries, String> {
let response = response(
pub fn category_related_tags(category_id: usize, tag_names: &str) -> CategoryRelatedTags {
serde_json::from_str(&response(
pub fn category_related_tags(category_id: usize, tag_names: &str) -> Result<CategoryRelatedTags, String> {
let response = response(
pub fn series_search_related_tags(series_search_text: &str, tag_names: &str) -> SeriesSearchRelatedTags {
serde_json::from_str(&response(
pub fn series_search_related_tags(series_search_text: &str, tag_names: &str) -> Result<SeriesSearchRelatedTags, String> {
let response = response(
pub fn series_tags(series_id: &str) -> SeriesTags {
serde_json::from_str(&response(
/// ```
/// match Fred::series_tags("JPNCPIALLMINMEI") {
/// Ok(series_tags) => println!("{}", series_tags),
/// Err(json_err) => println!("{}", json_err),
/// }
/// ```
pub fn series_tags(series_id: &str) -> Result<SeriesTags, String> {
let response = response(
pub fn tags_series(tag_names: &str) -> TagsSeries {
serde_json::from_str(&response(
/// ```
/// match Fred::tags_series("korea") {
/// Ok(tags_series) => println!("{}", tags_series),
/// Err(json_err) => println!("{}", json_err),
/// };
/// ```
pub fn tags_series(tag_names: &str) -> Result<TagsSeries, String> {
let response = response(