using Groophy.Batch-Man;
using System.Collections.Generic; //If you're going to use a list, you need to add it.
List<article> a = Batch_Man_API.Get();
or
article[] a = Batch_Man_API.Get().ToArray();
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
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");
}
A basic start
–
, &
, k\">
, </a
fixed.
’
fixed.
Multi page render added.
~Groophy Lifefor ' https://batch-man.com/