Skip to main content
Commonmark migration
Source Link

##C# / Soapi.CS

C# / Soapi.CS

##C# / Soapi.CS

C# / Soapi.CS

replaced http://stackapps.com/ with https://stackapps.com/
Source Link

using Soapi.CS

using Soapi.CS

Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60

##C# / Soapi.CS


using Soapi.CS


Questions

(from user in Context.Official.StackApps
     .Users.PageSize(100).PageCount(0)
 where user.QuestionCount > 0
 orderby user.QuestionCount descending
 select user)
 .ToList().ForEach(user =>
     Console.WriteLine("{0} - {1} [{2}]",
     user.QuestionCount, user.DisplayName, user.UserId));

Output:

95 - code poet [14]
56 - George Edison [18]
21 - S.Mark [40]
19 - systempuntoout [51]
14 - Felix [956]
13 - Kevin Montrose [2]
11 - Franci Penov [13]
11 - Jedi Master Spooky [192]
10 - Dave Swersky [29]
10 - Steffen Opel [377]
9 - carson [33]
9 - Bill the Lizard [9]
9 - ColinD [222]
7 - Dennis Williamson [171]
6 - Dave DeLong [448]
6 - jjnguy [39]
5 - TheHurt [17]
5 - SztupY [1265]
5 - radius [295]
5 - johnwards [638]
4 - Matt S. [30]
4 - Jason [19]
4 - Farseeker [816]
4 - Soviut [825]
4 - Yacoby [1049]
4 - Jonathan [938]
3 - Joel Potter [8]
3 - Adam Wright [5]
3 - Edan Maor [1241]
3 - codeka [1290]
3 - Mark Rushakoff [1048]
3 - Shay Erlichmen [614]
3 - swanson [839]
3 - Igor Zevaka [113]
3 - Adam [1395]
3 - Nick Presta [186]
3 - eWolf [664]
3 - Koning Baard [451]
3 - Peter Mourfield [424]
3 - phsr [693]
3 - Greg Bray [150]
3 - mlaw [2467]
2 - lfoust [11]
2 - Maxim Zaslavsky [32]
2 - Martin Plante [28]
2 - nabeelmukhtar [1026]
2 - Catchwa [700]
2 - Thomas McDonald [1031]
2 - Kyle Cronin [42]
2 - Ryan Brunner [1263]
2 - Robert Munteanu [358]
2 - Josh Kelley [2287]
2 - Peter Mortensen [151]
2 - mikej [339]
2 - svick [505]
2 - Shane [1270]
2 - Peter Ajtai [2618]
2 - Jim McKeeth [267]
2 - chanchal1987 [2951]
2 - TheKaptain [1232]
1 - Chacha102 [23]
1 - balpha [43]
1 - Ricky [199]
1 - Martijn Laarman [56]
1 - adrianbanks [127]
1 - AidenMontgomery [2894]
1 - voyager [20]
1 - Evan [26]
1 - Tim Post [52]
1 - scunliffe [37]
1 - Lucas Jones [570]
1 - Robert Cartaino [431]
1 - Jeff Atwood [4]
1 - InfinitiesLoop [1394]
1 - Heavy Bytes [939]
1 - Nathan Reed [680]
1 - RichH [757]
1 - Jan Fabry [1303]
1 - conmulligan [449]
1 - Bialecki [756]
1 - Michael B. [234]
1 - Riduidel [2192]
1 - Kevin [2296]
1 - James A. Rosen [140]
1 - Soldier.moth [91]
1 - Matthew Pelser [138]
1 - denny [553]
1 - iconiK [375]
1 - Chris S [1174]
1 - Nippysaurus [1221]
1 - jmoy [1978]
1 - Nathan Voxland [2442]
1 - Alexandre Rafalovitch [2883]
1 - Mark Hurd [44]
1 - Lucas McCoy [239]
1 - Cristian Castiblanco [109]
1 - Casebash [169]
1 - tonklon [2734]
1 - coobird [525]
1 - Robert Love [1578]
1 - Charles Stewart [2083]
1 - C.W.Holeman II [1942]
1 - Frank Krueger [2203]
1 - Roy Tang [2300]
1 - David [2118]
1 - ripper234 [298]
1 - Simon Brown [1177]
1 - Artefacto [1179]
1 - JL01 [1911]
1 - Shimmy [2134]
1 - Can Berk Güder [636]
1 - Fernando [1856]
1 - crucible [1986]
1 - Nicolas Raoul [2679]
1 - Vitaly Polonetsky [1771]
1 - ADB [705]
1 - Wei Hu [1230]
1 - stacker [1339]
1 - zengr [1416]
1 - Vicky [2139]
1 - Portman [168]
1 - Ngu Soon Hui [216]
1 - Dan Atkinson [587]
1 - chalup [892]
1 - Matt Huggins [1097]
1 - peter.newhook [1924]
1 - blork [1849]
1 - fukas78 [667]
1 - Joe [2418]
1 - John Bristowe [70]
1 - chenyuejie [2292]
1 - daltojr [1009]
1 - hvgotcodes [2532]
1 - arinte [2616]
1 - bpedro [2222]
1 - Fatal510 [866]
1 - magcius [1304]
1 - Matt Culbreth [2829]
1 - James Johnson [2517]
1 - tsudot [2662]
1 - pierocampanelli [1384]
1 - user1711 [1711]
1 - Michal [1918]
1 - DC01 [2603]
1 - Mattias Konradsson [564]
1 - Alienfluid [1044]
1 - theplic [2125]
1 - Dinis Cruz [1676]
1 - pufferfish [1689]
1 - RichOrr [1749]
1 - Bidhan Baruah [2735]

Requests generated

#   Result  Protocol    Host    URL Body    Caching Content-Type    Process Comments    Custom  
1   200 HTTP    api.stackapps.com   /1.0/users?pagesize=100&key=foo-bar-fu  34,619  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
2   200 HTTP    api.stackapps.com   /1.0/users?page=2&pagesize=100&key=foo-bar-fu   29,504  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
3   200 HTTP    api.stackapps.com   /1.0/users?page=3&pagesize=100&key=foo-bar-fu   25,439  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
4   200 HTTP    api.stackapps.com   /1.0/users?page=4&pagesize=100&key=foo-bar-fu   30,203  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
5   200 HTTP    api.stackapps.com   /1.0/users?page=5&pagesize=100&key=foo-bar-fu   25,291  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
6   200 HTTP    api.stackapps.com   /1.0/users?page=6&pagesize=100&key=foo-bar-fu   27,337  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
7   200 HTTP    api.stackapps.com   /1.0/users?page=7&pagesize=100&key=foo-bar-fu   26,923  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
8   200 HTTP    api.stackapps.com   /1.0/users?page=8&pagesize=100&key=foo-bar-fu   26,279  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
9   200 HTTP    api.stackapps.com   /1.0/users?page=9&pagesize=100&key=foo-bar-fu   24,423  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
10  200 HTTP    api.stackapps.com   /1.0/users?page=10&pagesize=100&key=foo-bar-fu  27,592  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
11  200 HTTP    api.stackapps.com   /1.0/users?page=11&pagesize=100&key=foo-bar-fu  25,372  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
12  200 HTTP    api.stackapps.com   /1.0/users?page=12&pagesize=100&key=foo-bar-fu  27,376  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
13  200 HTTP    api.stackapps.com   /1.0/users?page=13&pagesize=100&key=foo-bar-fu  26,468  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
14  200 HTTP    api.stackapps.com   /1.0/users?page=14&pagesize=100&key=foo-bar-fu  27,049  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
15  200 HTTP    api.stackapps.com   /1.0/users?page=15&pagesize=100&key=foo-bar-fu  25,316  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
16  200 HTTP    api.stackapps.com   /1.0/users?page=16&pagesize=100&key=foo-bar-fu  24,796  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
17  200 HTTP    api.stackapps.com   /1.0/users?page=17&pagesize=100&key=foo-bar-fu  23,601  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
18  200 HTTP    api.stackapps.com   /1.0/users?page=20&pagesize=100&key=foo-bar-fu  24,853  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
19  200 HTTP    api.stackapps.com   /1.0/users?page=18&pagesize=100&key=foo-bar-fu  25,322  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
20  200 HTTP    api.stackapps.com   /1.0/users?page=19&pagesize=100&key=foo-bar-fu  25,732  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
21  200 HTTP    api.stackapps.com   /1.0/users?page=21&pagesize=100&key=foo-bar-fu  20,858  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
22  200 HTTP    api.stackapps.com   /1.0/users?page=23&pagesize=100&key=foo-bar-fu  19,298  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
23  200 HTTP    api.stackapps.com   /1.0/users?page=22&pagesize=100&key=foo-bar-fu  19,569  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
24  200 HTTP    api.stackapps.com   /1.0/users?page=24&pagesize=100&key=foo-bar-fu  19,497  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
25  200 HTTP    api.stackapps.com   /1.0/users?page=25&pagesize=100&key=foo-bar-fu  21,228  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
26  200 HTTP    api.stackapps.com   /1.0/users?page=26&pagesize=100&key=foo-bar-fu  19,083  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
27  200 HTTP    api.stackapps.com   /1.0/users?page=29&pagesize=100&key=foo-bar-fu  17,666  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
28  200 HTTP    api.stackapps.com   /1.0/users?page=27&pagesize=100&key=foo-bar-fu  22,492  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
29  200 HTTP    api.stackapps.com   /1.0/users?page=28&pagesize=100&key=foo-bar-fu  20,669  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            
30  200 HTTP    api.stackapps.com   /1.0/users?page=30&pagesize=100&key=foo-bar-fu  6,871   private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:6452            


Answers

(from user in Context.Official.StackApps
     .Users.PageSize(100).PageCount(0)
 where user.AnswerCount > 0
 orderby user.AnswerCount descending
 select user)
 .ToList().ForEach(user =>
     Console.WriteLine("{0} - {1} [{2}]",
     user.AnswerCount, user.DisplayName, user.UserId));

Output:

204 - Kevin Montrose [2]
96 - code poet [14]
69 - George Edison [18]
34 - S.Mark [40]
19 - jjnguy [39]
18 - Chacha102 [23]
12 - lfoust [11]
12 - systempuntoout [51]
12 - Matt S. [30]
10 - Maxim Zaslavsky [32]
9 - Joel Potter [8]
8 - carson [33]
8 - Franci Penov [13]
8 - Bill the Lizard [9]
8 - Farseeker [816]
7 - Edan Maor [1241]
7 - Dennis Williamson [171]
6 - Dave Swersky [29]
6 - Soviut [825]
6 - Steffen Opel [377]
6 - codeka [1290]
6 - Igor Zevaka [113]
6 - ColinD [222]
5 - Catchwa [700]
5 - Jeff Atwood [4]
4 - Dave DeLong [448]
4 - TheHurt [17]
4 - Adam Wright [5]
4 - Lucas Jones [570]
4 - Jonathan [938]
4 - Greg Bray [150]
3 - Jason [19]
3 - Joel Spolsky [308]
3 - Geoff Dalgas [1]
3 - SztupY [1265]
3 - Robert Cartaino [431]
3 - Yacoby [1049]
3 - conmulligan [449]
3 - Riduidel [2192]
3 - Chris S [1174]
3 - badp [1165]
2 - nabeelmukhtar [1026]
2 - Tim Post [52]
2 - Felix [956]
2 - Jedi Master Spooky [192]
2 - Shay Erlichmen [614]
2 - swanson [839]
2 - Thomas McDonald [1031]
2 - Adam [1395]
2 - InfinitiesLoop [1394]
2 - Nathan Reed [680]
2 - Chris Lawlor [1029]
2 - Arjan [546]
2 - rockinthesixstring [1189]
2 - Simon Brown [1177]
2 - Sathya [74]
2 - Darren Newton [93]
2 - Prashant [1066]
2 - moberley [2789]
2 - daltojr [1009]
2 - Yuval Cohen [1532]
1 - balpha [43]
1 - adrianbanks [127]
1 - John Sheehan [21]
1 - RedFilter [10]
1 - Mef [53]
1 - Evan [26]
1 - Greg Roberts [61]
1 - Nick Craver [25]
1 - radius [295]
1 - Kyle Cronin [42]
1 - Nick Presta [186]
1 - eWolf [664]
1 - Ryan Brunner [1263]
1 - Heavy Bytes [939]
1 - ChrisF [440]
1 - Robert Munteanu [358]
1 - Koning Baard [451]
1 - Portman [168]
1 - Ngu Soon Hui [216]
1 - George Stocker [707]
1 - Daniel Ribeiro [815]
1 - Randolpho [470]
1 - Michael B. [234]
1 - CMS [209]
1 - John Siracusa [2277]
1 - rchern [2286]
1 - Alexandre Rafalovitch [2883]
1 - Lucas McCoy [239]
1 - Cristian Castiblanco [109]
1 - Yuval A [596]
1 - Greg Hurlman [1019]
1 - joshperry [1611]
1 - lexu [307]
1 - Oscar Reyes [75]
1 - C.W.Holeman II [1942]
1 - Brock Woolf [1695]
1 - Peter Ajtai [2618]
1 - Jared Harley [208]
1 - cyberzed [314]
1 - TWith2Sugars [597]
1 - Nick Bedford [823]
1 - dag729 [1034]
1 - ooo [1151]
1 - msorens [2067]
1 - Rox [2472]
1 - R. Bemrose [2896]
1 - slf [1172]
1 - Roger Pate [289]
1 - brheal [421]
1 - JonB [542]
1 - Tripp Lilley [1059]
1 - Lanny Heidbreder [2282]
1 - Toby Allen [1593]
1 - openfrog [1652]
1 - JR Lawhorne [2398]
1 - torbengb [2839]
1 - naugtur [2853]
1 - blork [1849]
1 - TheKaptain [1232]
1 - Joe [2418]
1 - mlaw [2467]
1 - jjesse [2648]
1 - tutuca [2765]
1 - Steven A. Lowe [2560]
1 - user2070 [2070]
1 - maco [2903]

Requests generated


#   Result  Protocol    Host    URL Body    Caching Content-Type    Process Comments    Custom  
1   200 HTTP    api.stackapps.com   /1.0/users?pagesize=100&key=foo-bar-fu  34,618  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
2   200 HTTP    api.stackapps.com   /1.0/users?page=2&pagesize=100&key=foo-bar-fu   29,504  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
3   200 HTTP    api.stackapps.com   /1.0/users?page=3&pagesize=100&key=foo-bar-fu   25,439  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
4   200 HTTP    api.stackapps.com   /1.0/users?page=4&pagesize=100&key=foo-bar-fu   30,203  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
5   200 HTTP    api.stackapps.com   /1.0/users?page=5&pagesize=100&key=foo-bar-fu   25,291  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
6   200 HTTP    api.stackapps.com   /1.0/users?page=6&pagesize=100&key=foo-bar-fu   27,337  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
7   200 HTTP    api.stackapps.com   /1.0/users?page=7&pagesize=100&key=foo-bar-fu   26,923  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
8   200 HTTP    api.stackapps.com   /1.0/users?page=8&pagesize=100&key=foo-bar-fu   26,279  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
9   200 HTTP    api.stackapps.com   /1.0/users?page=9&pagesize=100&key=foo-bar-fu   24,423  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
10  200 HTTP    api.stackapps.com   /1.0/users?page=10&pagesize=100&key=foo-bar-fu  27,592  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
11  200 HTTP    api.stackapps.com   /1.0/users?page=11&pagesize=100&key=foo-bar-fu  25,372  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
12  200 HTTP    api.stackapps.com   /1.0/users?page=12&pagesize=100&key=foo-bar-fu  27,376  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
13  200 HTTP    api.stackapps.com   /1.0/users?page=13&pagesize=100&key=foo-bar-fu  26,468  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
14  200 HTTP    api.stackapps.com   /1.0/users?page=14&pagesize=100&key=foo-bar-fu  27,049  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
15  200 HTTP    api.stackapps.com   /1.0/users?page=15&pagesize=100&key=foo-bar-fu  25,316  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
16  200 HTTP    api.stackapps.com   /1.0/users?page=16&pagesize=100&key=foo-bar-fu  24,796  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
17  200 HTTP    api.stackapps.com   /1.0/users?page=17&pagesize=100&key=foo-bar-fu  23,601  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
18  200 HTTP    api.stackapps.com   /1.0/users?page=19&pagesize=100&key=foo-bar-fu  25,732  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
19  200 HTTP    api.stackapps.com   /1.0/users?page=20&pagesize=100&key=foo-bar-fu  24,853  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
20  200 HTTP    api.stackapps.com   /1.0/users?page=21&pagesize=100&key=foo-bar-fu  20,858  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
21  200 HTTP    api.stackapps.com   /1.0/users?page=24&pagesize=100&key=foo-bar-fu  19,497  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
22  200 HTTP    api.stackapps.com   /1.0/users?page=18&pagesize=100&key=foo-bar-fu  25,322  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
23  200 HTTP    api.stackapps.com   /1.0/users?page=22&pagesize=100&key=foo-bar-fu  19,569  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
24  200 HTTP    api.stackapps.com   /1.0/users?page=25&pagesize=100&key=foo-bar-fu  21,228  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
25  200 HTTP    api.stackapps.com   /1.0/users?page=23&pagesize=100&key=foo-bar-fu  19,298  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
26  200 HTTP    api.stackapps.com   /1.0/users?page=26&pagesize=100&key=foo-bar-fu  19,083  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
27  200 HTTP    api.stackapps.com   /1.0/users?page=28&pagesize=100&key=foo-bar-fu  20,669  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
28  200 HTTP    api.stackapps.com   /1.0/users?page=27&pagesize=100&key=foo-bar-fu  22,492  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
29  200 HTTP    api.stackapps.com   /1.0/users?page=30&pagesize=100&key=foo-bar-fu  6,871   private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460            
30  200 HTTP    api.stackapps.com   /1.0/users?page=29&pagesize=100&key=foo-bar-fu  17,666  private     application/json; charset=utf-8 jetbrains.resharper.taskrunner.msil:7460