Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Groophy-Inc/Groophy.Batch-Man

Repository files navigation

Groophy.Batch-Man

NuGet version (Groophy.Batch-Man)

Source Code

Usage

using Groophy.Batch-Man;
using System.Collections.Generic; //If you're going to use a list, you need to add it.

Get article(s)

List<article> a = Batch_Man_API.Get();

or

article[] a = Batch_Man_API.Get().ToArray();

Example

            Stopwatch watcher = new Stopwatch(); //create timer
            watcher.Start(); //start timer
            List<article> a = Batch_Man_API.Get();
            watcher.Stop(); //stop timer

            Console.WriteLine("Article Count: " + a.Count + Environment.NewLine +
                "Ms: " + watcher.Elapsed.TotalMilliseconds + Environment.NewLine+
                "Example: " + Environment.NewLine +
                    "    Title: " + a[2].articletitle + "\n" +
                    "    Author: " + a[2].by + "\n" +
                    "    Categori: " + a[2].categorize + "\n" +
                    "    Date: " + a[2].date + "\n" +
                    "    Url: " + a[2].url + "\n" +
                    "    Desc: " + a[2].desc + "\n" +
                    "    GitHub Link: " + a[2].gitlink + "\n----------------------------------------\n");
  • the slowness is due to my internet speed

exa

Let's look at the whole list another way

            foreach (article b in a)
            {
                Console.WriteLine("Title: " + b.articletitle + "\n" +
                    "Author: " + b.by + "\n" +
                    "Categori:" + b.categorize + "\n" +
                    "Date: " + b.date + "\n" +
                    "Url: " + b.url + "\n" +
                    "Desc: " + b.desc + "\n" +
                    "GitHub Link: " + b.gitlink + "\n----------------------------------------\n");
            }

Console Output 1.0.1

Console Output 1.0.2


Change Logs

1.0.0

A basic start

1.0.1

&#8211;, &amp;, k\">, </a fixed.

1.0.2

&#8217; fixed. Multi page render added.

~Groophy Lifefor ' https://batch-man.com/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages