Skip to content

Instantly share code, notes, and snippets.

@codeeshop-oc
Last active January 20, 2023 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeeshop-oc/b16c6872ade8240e5ec1b690ff396061 to your computer and use it in GitHub Desktop.
Save codeeshop-oc/b16c6872ade8240e5ec1b690ff396061 to your computer and use it in GitHub Desktop.
query GetUsers {
  search(
    query: "location:india followers:>500 sort:followers"
    first: 25
    type: USER
  ) {
    userCount
    pageInfo {
      endCursor
      hasNextPage
    }
    edges {
      node {
        ... on User {
          email
          login
          name
          location
          url
          followers {
            totalCount
          }
          contributionsCollection {
            totalPullRequestContributions
            contributionCalendar {
              totalContributions
            }
          }
          avatarUrl
        }
      }
    }
  }
}

Result Data Used

https://gist.github.com/codeeshop-oc/a8ab52d1c8bee6307aedb90ec345df7d

Output (January 20, 2023): Fetched by Followers and Sorted By Contributtions

# User Contribs Location Picture
#1 akshaynarisetti (Akshay Narisetti) 18873 India
#2 kovidgoyal (Kovid Goyal) 4430 Mumbai, India
#3 theindianappguy (Sanskar Tiwari) 2470 India
#4 thetutlage (Harminder Virk) 2280 India
#5 Aakashdeveloper (Aakash ) 1569 India
#6 ValentineFernandes (Valentine Fernandes) 1542 Mumbai, India
#7 aryashah2k (Arya Shah) 1363 Mumbai, India
#8 vinitshahdeo (Vinit Shahdeo) 1261 Bangalore, India
#9 liyasthomas (Liyas Thomas) 1120 Kerala, India
#10 PatilShreyas (Shreyas Patil) 1041 Jalgaon, Maharashtra, India
#11 janishar (Janishar Ali) 847 New Delhi, India
#12 aritraroy (Aritra Roy) 808 Bangalore, India
#13 jishanshaikh4 (Jishan Shaikh) 768 Indore, India
#14 championswimmer (Arnav Gupta) 728 Bangalore, India
#15 amitshekhariitbhu (AMIT SHEKHAR) 697 New Delhi, India
#16 ravi8x (Ravi Tamada) 674 India
#17 adi1090x (Aditya Shakya) 654 India
#18 AkshatRastogi-1nC0re (AKSHAT RASTOGI) 636 India
#19 anuraghazra (Anurag Hazra) 614 India, West Bengal
#20 rajkumardusad (Rajkumar Dusad) 522 INDIA
#21 vivekweb2013 (vivekweb2013) 514 Pune, India
#22 abhisheknaiidu (Abhishek Naidu) 445 India
#23 in28minutes () 439 Hyderabad, India
#24 riti2409 (Riti Kumari) 293 Jharkhand India
#25 saviomartin (Savio Martin) 271 Kerala, India
#26 iampawan (Pawan Kumar) 257 Faridabad, India
#27 singhsanket143 (Sanket Singh) 240 India
#28 manjunath5496 (Manjunath.R) 223 Bangalore, India
#29 s0md3v (Somdev Sangwan) 201 India
#30 gautamkrishnar (Gautam krishna R) 191 Kerala, India
#31 Anuj-Kumar-Sharma (Anuj Kumar Sharma) 172 New Delhi, India
#32 kartik-v (Kartik Visweswaran) 146 India
#33 bhattbhavesh91 (Bhavesh Bhatt) 134 India
#34 callicoder (Rajeev Singh) 123 Bangalore, India
#35 hiteshchoudhary (Hitesh Choudhary) 121 India
#36 TheAppWizard (Shreyas Bhike ) 96 India
#37 chandrikadeb7 (Chandrika Deb) 69 Jamshedpur, India
#38 Hax4us (Lokesh Pandey) 67 India
#39 PoojaB26 (Pooja Bhaumik) 36 India
#40 akashyap2013 (Akshay Kashyap) 27 India
#41 ashishkumar30 (Ashish Kumar) 26 Delhi India
#42 tanaypratap (Tanay Pratap) 19 Bangalore, India
#43 Z4nzu (Hardik Zinzuvadiya) 15 Gujarat,india
#44 noob-hackers (N17R0) 9 india
#45 shekhargulati (Shekhar Gulati) 9 India
#46 shradha-khapra (Shradha Khapra) 4 New Delhi,India
#47 haris989 (Haris Ali Khan) 3 Kharagpur, India
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment