Crowous
    Preparing search index...

    Function getNewsFrom

    • Get all articles for a given identifier.

      Parameters

      • identifier: string

        Where we should look for articles.

      Returns Promise<Article[]>

      A list of all articles for a given identifier.

      const news = await getNewsFrom("bordeaux");

      for (const article of news) {
      console.log(article.category, article.title);
      }
      const feeds = await getFeeds();
      const news = await getNewsFrom(feeds[0].identifier);
      // ...