Skip to content

Instantly share code, notes, and snippets.

@maxko87
Last active August 11, 2021 04:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxko87/2be916c25ba09bf43c011a94e0c84af9 to your computer and use it in GitHub Desktop.
Save maxko87/2be916c25ba09bf43c011a94e0c84af9 to your computer and use it in GitHub Desktop.
Top Github users in India, by number of followers
Run here: https://developer.github.com/v4/explorer/
query GetUsers{
search(query:"location:india", first: 100, type: USER, ) {
userCount
pageInfo {
endCursor
hasNextPage
}
edges {
node {
... on User {
email
login
location
url
followers() {
totalCount
}
}
}
}
}
}
Output (9/1/2018):
d = {
"data": {
"search": {
"userCount": 102932,
"pageInfo": {
"endCursor": "Y3Vyc29yOjEwMA==",
"hasNextPage": true
},
"edges": [
{
"node": {
"email": "",
"login": "amitshekhariitbhu",
"location": "New Delhi, India",
"url": "https://github.com/amitshekhariitbhu",
"followers": {
"totalCount": 3657
}
}
},
{
"node": {
"email": "",
"login": "in28minutes",
"location": "Hyderabad, India",
"url": "https://github.com/in28minutes",
"followers": {
"totalCount": 2968
}
}
},
{
"node": {
"email": "virtualadichat@gmail.com",
"login": "AdiChat",
"location": "❤️ Japan ✈︎ India",
"url": "https://github.com/AdiChat",
"followers": {
"totalCount": 2198
}
}
},
{
"node": {
"email": "hemanth.hm@gmail.com",
"login": "hemanth",
"location": "India ",
"url": "https://github.com/hemanth",
"followers": {
"totalCount": 1807
}
}
},
{
"node": {
"email": "ashish1294@gmail.com",
"login": "ashish1294",
"location": "Mangalore, India",
"url": "https://github.com/ashish1294",
"followers": {
"totalCount": 1596
}
}
},
{
"node": {
"email": "shekhargulati84@gmail.com",
"login": "shekhargulati",
"location": "India",
"url": "https://github.com/shekhargulati",
"followers": {
"totalCount": 1534
}
}
},
{
"node": {
"email": "aritra.roy.in@gmail.com",
"login": "aritraroy",
"location": "Bangalore, India",
"url": "https://github.com/aritraroy",
"followers": {
"totalCount": 1415
}
}
},
{
"node": {
"email": "dev@championswimmer.in",
"login": "championswimmer",
"location": "New Delhi, India",
"url": "https://github.com/championswimmer",
"followers": {
"totalCount": 1224
}
}
},
{
"node": {
"email": "threepointone@gmail.com",
"login": "threepointone",
"location": "Bangalore, India",
"url": "https://github.com/threepointone",
"followers": {
"totalCount": 1049
}
}
},
{
"node": {
"email": "namandwivedi14@gmail.com",
"login": "naman14",
"location": "New Delhi, India",
"url": "https://github.com/naman14",
"followers": {
"totalCount": 959
}
}
},
{
"node": {
"email": "sameer@damagehead.com",
"login": "sameersbn",
"location": "Goa, India",
"url": "https://github.com/sameersbn",
"followers": {
"totalCount": 940
}
}
},
{
"node": {
"email": "harshithdwivedi@gmail.com",
"login": "the-dagger",
"location": "New Delhi, India",
"url": "https://github.com/the-dagger",
"followers": {
"totalCount": 910
}
}
},
{
"node": {
"email": "hitesh@hiteshchoudhary.com",
"login": "hiteshchoudhary",
"location": "India",
"url": "https://github.com/hiteshchoudhary",
"followers": {
"totalCount": 819
}
}
},
{
"node": {
"email": "cjawahars@gmail.com",
"login": "csjaba",
"location": "chennai,tamil nadu,india",
"url": "https://github.com/csjaba",
"followers": {
"totalCount": 776
}
}
},
{
"node": {
"email": "ravi8x@gmail.com",
"login": "ravi8x",
"location": "India",
"url": "https://github.com/ravi8x",
"followers": {
"totalCount": 761
}
}
},
{
"node": {
"email": "ajin25@gmail.com",
"login": "ajinabraham",
"location": "Bangalore, India",
"url": "https://github.com/ajinabraham",
"followers": {
"totalCount": 753
}
}
},
{
"node": {
"email": "",
"login": "hackiftekhar",
"location": "Chandametta, Madhya Pradesh, India",
"url": "https://github.com/hackiftekhar",
"followers": {
"totalCount": 747
}
}
},
{
"node": {
"email": "janishar.ali@gmail.com",
"login": "janishar",
"location": "Gurgaon, India",
"url": "https://github.com/janishar",
"followers": {
"totalCount": 747
}
}
},
{
"node": {
"email": "",
"login": "suriyadeepan",
"location": "Chennai, India",
"url": "https://github.com/suriyadeepan",
"followers": {
"totalCount": 743
}
}
},
{
"node": {
"email": "arvind.ravulavaru@gmail.com",
"login": "arvindr21",
"location": "Hyderabad, India",
"url": "https://github.com/arvindr21",
"followers": {
"totalCount": 735
}
}
},
{
"node": {
"email": "",
"login": "siddharthkp",
"location": "Bangalore, India",
"url": "https://github.com/siddharthkp",
"followers": {
"totalCount": 701
}
}
},
{
"node": {
"email": "",
"login": "chinchang",
"location": "Delhi, India",
"url": "https://github.com/chinchang",
"followers": {
"totalCount": 656
}
}
},
{
"node": {
"email": "",
"login": "thetutlage",
"location": "India",
"url": "https://github.com/thetutlage",
"followers": {
"totalCount": 647
}
}
},
{
"node": {
"email": "farizrahman4u@gmail.com",
"login": "farizrahman4u",
"location": "Kochi, India",
"url": "https://github.com/farizrahman4u",
"followers": {
"totalCount": 635
}
}
},
{
"node": {
"email": "anandology@gmail.com",
"login": "anandology",
"location": "Visakhapatnam, India",
"url": "https://github.com/anandology",
"followers": {
"totalCount": 618
}
}
},
{
"node": {
"email": "",
"login": "kovidgoyal",
"location": "Mumbai, India",
"url": "https://github.com/kovidgoyal",
"followers": {
"totalCount": 592
}
}
},
{
"node": {
"email": "rohanrao88@gmail.com",
"login": "vopani",
"location": "Bengaluru, India",
"url": "https://github.com/vopani",
"followers": {
"totalCount": 582
}
}
},
{
"node": {
"email": "pareshmayani@gmail.com",
"login": "PareshMayani",
"location": "Ahmedabad, India",
"url": "https://github.com/PareshMayani",
"followers": {
"totalCount": 558
}
}
},
{
"node": {
"email": "mail@kushaldas.in",
"login": "kushaldas",
"location": "Pune, India",
"url": "https://github.com/kushaldas",
"followers": {
"totalCount": 558
}
}
},
{
"node": {
"email": "vishnu@zulipchat.com",
"login": "hackerkid",
"location": "Kochi, India",
"url": "https://github.com/hackerkid",
"followers": {
"totalCount": 553
}
}
},
{
"node": {
"email": "",
"login": "aviaryan",
"location": "Gurgaon, India",
"url": "https://github.com/aviaryan",
"followers": {
"totalCount": 548
}
}
},
{
"node": {
"email": "",
"login": "sanand0",
"location": "Bangalore, India",
"url": "https://github.com/sanand0",
"followers": {
"totalCount": 525
}
}
},
{
"node": {
"email": "manrajsinghgrover@gmail.com",
"login": "manrajgrover",
"location": "Bangalore, India",
"url": "https://github.com/manrajgrover",
"followers": {
"totalCount": 509
}
}
},
{
"node": {
"email": "apj@gmx.ru",
"login": "jarun",
"location": "Bangalore, India",
"url": "https://github.com/jarun",
"followers": {
"totalCount": 488
}
}
},
{
"node": {
"email": "yask123@gmail.com",
"login": "yask123",
"location": "New Delhi, India",
"url": "https://github.com/yask123",
"followers": {
"totalCount": 485
}
}
},
{
"node": {
"email": "dghosh@acm.org",
"login": "debasishg",
"location": "India",
"url": "https://github.com/debasishg",
"followers": {
"totalCount": 475
}
}
},
{
"node": {
"email": "",
"login": "kailashahirwar",
"location": "Bangalore India",
"url": "https://github.com/kailashahirwar",
"followers": {
"totalCount": 460
}
}
},
{
"node": {
"email": "harjot.oberai@gmail.com",
"login": "harjot-oberai",
"location": "Chandigarh, India",
"url": "https://github.com/harjot-oberai",
"followers": {
"totalCount": 436
}
}
},
{
"node": {
"email": "aayush113002@gmail.com",
"login": "aayusharora",
"location": "New Delhi, India",
"url": "https://github.com/aayusharora",
"followers": {
"totalCount": 430
}
}
},
{
"node": {
"email": "vishal.batchu@students.iiit.ac.in",
"login": "erilyth",
"location": "Hyderabad, Telangana, India",
"url": "https://github.com/erilyth",
"followers": {
"totalCount": 429
}
}
},
{
"node": {
"email": "",
"login": "OrkoHunter",
"location": "Kharagpur, India",
"url": "https://github.com/OrkoHunter",
"followers": {
"totalCount": 426
}
}
},
{
"node": {
"email": "i@thejeshgn.com [4096R/C06DD6B0]",
"login": "thejeshgn",
"location": "Bangalore, India",
"url": "https://github.com/thejeshgn",
"followers": {
"totalCount": 421
}
}
},
{
"node": {
"email": "",
"login": "ragunathjawahar",
"location": "Chennai, India",
"url": "https://github.com/ragunathjawahar",
"followers": {
"totalCount": 417
}
}
},
{
"node": {
"email": "nikitaraghunath@gmail.com",
"login": "nikhita",
"location": "Mumbai, India",
"url": "https://github.com/nikhita",
"followers": {
"totalCount": 410
}
}
},
{
"node": {
"email": "shyamseshadri@gmail.com",
"login": "shyamseshadri",
"location": "Navi Mumbai, India",
"url": "https://github.com/shyamseshadri",
"followers": {
"totalCount": 405
}
}
},
{
"node": {
"email": "aman.eureka@gmail.com",
"login": "amaneureka",
"location": "India",
"url": "https://github.com/amaneureka",
"followers": {
"totalCount": 401
}
}
},
{
"node": {
"email": "b.ghose@freegeek.in",
"login": "ghoseb",
"location": "San Francisco, CA / Pune, India",
"url": "https://github.com/ghoseb",
"followers": {
"totalCount": 379
}
}
},
{
"node": {
"email": "",
"login": "aciidb0mb3r",
"location": "Bhiwadi, India",
"url": "https://github.com/aciidb0mb3r",
"followers": {
"totalCount": 378
}
}
},
{
"node": {
"email": "hi@znck.me",
"login": "znck",
"location": "Bangalore, India",
"url": "https://github.com/znck",
"followers": {
"totalCount": 378
}
}
},
{
"node": {
"email": "",
"login": "amangoeliitb",
"location": "Mumbai, India",
"url": "https://github.com/amangoeliitb",
"followers": {
"totalCount": 374
}
}
},
{
"node": {
"email": "hello@rohanverma.net",
"login": "rhnvrm",
"location": "India",
"url": "https://github.com/rhnvrm",
"followers": {
"totalCount": 370
}
}
},
{
"node": {
"email": "",
"login": "swapagarwal",
"location": "Bangalore, India",
"url": "https://github.com/swapagarwal",
"followers": {
"totalCount": 359
}
}
},
{
"node": {
"email": "jace@pobox.com",
"login": "jace",
"location": "Bangalore, India",
"url": "https://github.com/jace",
"followers": {
"totalCount": 351
}
}
},
{
"node": {
"email": "callicoder@gmail.com",
"login": "callicoder",
"location": "Bangalore, India",
"url": "https://github.com/callicoder",
"followers": {
"totalCount": 344
}
}
},
{
"node": {
"email": "saptak013@gmail.com",
"login": "SaptakS",
"location": "India",
"url": "https://github.com/SaptakS",
"followers": {
"totalCount": 324
}
}
},
{
"node": {
"email": "sitaramc@gmail.com",
"login": "sitaramc",
"location": "Hyderabad, India",
"url": "https://github.com/sitaramc",
"followers": {
"totalCount": 320
}
}
},
{
"node": {
"email": "",
"login": "gokulkrishh",
"location": "Bangalore, India",
"url": "https://github.com/gokulkrishh",
"followers": {
"totalCount": 317
}
}
},
{
"node": {
"email": "amit@labnol.org",
"login": "labnol",
"location": "India",
"url": "https://github.com/labnol",
"followers": {
"totalCount": 315
}
}
},
{
"node": {
"email": "sudmishra01@gmail.com",
"login": "debugger22",
"location": "Mumbai, India",
"url": "https://github.com/debugger22",
"followers": {
"totalCount": 313
}
}
},
{
"node": {
"email": "phatak.dev@gmail.com",
"login": "phatak-dev",
"location": "India",
"url": "https://github.com/phatak-dev",
"followers": {
"totalCount": 311
}
}
},
{
"node": {
"email": "discuss@satwikkansal.xyz",
"login": "satwikkansal",
"location": "New Delhi, India",
"url": "https://github.com/satwikkansal",
"followers": {
"totalCount": 310
}
}
},
{
"node": {
"email": "",
"login": "CuriousLearner",
"location": "New Delhi, India",
"url": "https://github.com/CuriousLearner",
"followers": {
"totalCount": 309
}
}
},
{
"node": {
"email": "sajjad@developmentseed.org",
"login": "geohacker",
"location": "Bangalore, India",
"url": "https://github.com/geohacker",
"followers": {
"totalCount": 308
}
}
},
{
"node": {
"email": "me@kirang.in",
"login": "kirang89",
"location": "Chennai, Tamil Nadu, India",
"url": "https://github.com/kirang89",
"followers": {
"totalCount": 306
}
}
},
{
"node": {
"email": "info@algorithmica.co.in",
"login": "algorithmica-repository",
"location": "hyderabad, india",
"url": "https://github.com/algorithmica-repository",
"followers": {
"totalCount": 301
}
}
},
{
"node": {
"email": "tstream.h@outlook.com",
"login": "tstreamDOTh",
"location": "India",
"url": "https://github.com/tstreamDOTh",
"followers": {
"totalCount": 301
}
}
},
{
"node": {
"email": "amitkaps@gmail.com",
"login": "amitkaps",
"location": "Bangalore, India",
"url": "https://github.com/amitkaps",
"followers": {
"totalCount": 300
}
}
},
{
"node": {
"email": "prachi121096@gmail.com",
"login": "prachi1210",
"location": "New Delhi, India",
"url": "https://github.com/prachi1210",
"followers": {
"totalCount": 296
}
}
},
{
"node": {
"email": "",
"login": "aliHafizji",
"location": "India",
"url": "https://github.com/aliHafizji",
"followers": {
"totalCount": 287
}
}
},
{
"node": {
"email": "saurabh@saurabh-kumar.com",
"login": "theskumar",
"location": "New Delhi, India",
"url": "https://github.com/theskumar",
"followers": {
"totalCount": 286
}
}
},
{
"node": {
"email": "",
"login": "raisedadead",
"location": "Pune, India",
"url": "https://github.com/raisedadead",
"followers": {
"totalCount": 285
}
}
},
{
"node": {
"email": "dufferzafar0@gmail.com",
"login": "dufferzafar",
"location": "New Delhi, India",
"url": "https://github.com/dufferzafar",
"followers": {
"totalCount": 285
}
}
},
{
"node": {
"email": "saksham0808@gmail.com",
"login": "sakshamsharma",
"location": "IIT Kanpur, India",
"url": "https://github.com/sakshamsharma",
"followers": {
"totalCount": 284
}
}
},
{
"node": {
"email": "karthikb351@gmail.com",
"login": "karthikb351",
"location": "Bangalore, India",
"url": "https://github.com/karthikb351",
"followers": {
"totalCount": 283
}
}
},
{
"node": {
"email": "omkarpathak27@gmail.com",
"login": "OmkarPathak",
"location": "Pune, Maharashtra, India",
"url": "https://github.com/OmkarPathak",
"followers": {
"totalCount": 275
}
}
},
{
"node": {
"email": "sachingupta006@gmail.com",
"login": "sachingupta006",
"location": "Bangalore, India",
"url": "https://github.com/sachingupta006",
"followers": {
"totalCount": 273
}
}
},
{
"node": {
"email": "me@shashankmehta.in",
"login": "shashankmehta",
"location": "Bangalore, India",
"url": "https://github.com/shashankmehta",
"followers": {
"totalCount": 273
}
}
},
{
"node": {
"email": "i.nishantnikhil@gmail.com",
"login": "nishnik",
"location": "Kharagpur, India",
"url": "https://github.com/nishnik",
"followers": {
"totalCount": 270
}
}
},
{
"node": {
"email": "rushabh@erpnext.com",
"login": "rmehta",
"location": "Mumbai, India",
"url": "https://github.com/rmehta",
"followers": {
"totalCount": 268
}
}
},
{
"node": {
"email": "dynamitechetan@gmail.com",
"login": "dynamitechetan",
"location": "Chandigarh, India",
"url": "https://github.com/dynamitechetan",
"followers": {
"totalCount": 265
}
}
},
{
"node": {
"email": "",
"login": "tasdikrahman",
"location": "Bangalore, India",
"url": "https://github.com/tasdikrahman",
"followers": {
"totalCount": 265
}
}
},
{
"node": {
"email": "abhisekp@engineer.com",
"login": "abhisekp",
"location": "India",
"url": "https://github.com/abhisekp",
"followers": {
"totalCount": 264
}
}
},
{
"node": {
"email": "",
"login": "akshayejh",
"location": "Bangalore, India",
"url": "https://github.com/akshayejh",
"followers": {
"totalCount": 259
}
}
},
{
"node": {
"email": "ritiekmalhotra123@gmail.com",
"login": "ritiek",
"location": "Chandigarh, India",
"url": "https://github.com/ritiek",
"followers": {
"totalCount": 259
}
}
},
{
"node": {
"email": "sudar@sudarmuthu.com",
"login": "sudar",
"location": "Chennai, India",
"url": "https://github.com/sudar",
"followers": {
"totalCount": 259
}
}
},
{
"node": {
"email": "gophermonk@gmail.com",
"login": "shijuvar",
"location": "Kochi, India",
"url": "https://github.com/shijuvar",
"followers": {
"totalCount": 257
}
}
},
{
"node": {
"email": "nathvarun@hotmail.com",
"login": "nathvarun",
"location": "New Delhi, India",
"url": "https://github.com/nathvarun",
"followers": {
"totalCount": 251
}
}
},
{
"node": {
"email": "r.gautamkrishna@gmail.com",
"login": "gautamkrishnar",
"location": "Quilon, Kerala, India-691582",
"url": "https://github.com/gautamkrishnar",
"followers": {
"totalCount": 248
}
}
},
{
"node": {
"email": "",
"login": "prabhakar267",
"location": "Bengaluru, India",
"url": "https://github.com/prabhakar267",
"followers": {
"totalCount": 245
}
}
},
{
"node": {
"email": "",
"login": "binga",
"location": "Bengaluru, India",
"url": "https://github.com/binga",
"followers": {
"totalCount": 245
}
}
},
{
"node": {
"email": "hudixt@gmail.com",
"login": "himanshu-dixit",
"location": "India",
"url": "https://github.com/himanshu-dixit",
"followers": {
"totalCount": 244
}
}
},
{
"node": {
"email": "vikash.duliajan@gmail.com",
"login": "vi3k6i5",
"location": "Bangalore, India",
"url": "https://github.com/vi3k6i5",
"followers": {
"totalCount": 241
}
}
},
{
"node": {
"email": "anujgargcse@gmail.com",
"login": "KeenWarrior",
"location": "Delhi, India",
"url": "https://github.com/KeenWarrior",
"followers": {
"totalCount": 236
}
}
},
{
"node": {
"email": "vickychijwani@gmail.com",
"login": "vickychijwani",
"location": "India",
"url": "https://github.com/vickychijwani",
"followers": {
"totalCount": 234
}
}
},
{
"node": {
"email": "srinivasan.sekar1990@gmail.com",
"login": "SrinivasanTarget",
"location": "India",
"url": "https://github.com/SrinivasanTarget",
"followers": {
"totalCount": 233
}
}
},
{
"node": {
"email": "abidrahman2@gmail.com",
"login": "abidrahmank",
"location": "India",
"url": "https://github.com/abidrahmank",
"followers": {
"totalCount": 231
}
}
},
{
"node": {
"email": "amar.om1994@gmail.com",
"login": "amarlearning",
"location": "Chennai, India",
"url": "https://github.com/amarlearning",
"followers": {
"totalCount": 219
}
}
},
{
"node": {
"email": "",
"login": "NirantK",
"location": "Bengaluru, India",
"url": "https://github.com/NirantK",
"followers": {
"totalCount": 219
}
}
},
{
"node": {
"email": "dhanvicse@gmail.com",
"login": "dhanvi",
"location": "India",
"url": "https://github.com/dhanvi",
"followers": {
"totalCount": 218
}
}
},
{
"node": {
"email": "pranit@bauva.com",
"login": "pranitbauva1997",
"location": "Kharagpur, India",
"url": "https://github.com/pranitbauva1997",
"followers": {
"totalCount": 217
}
}
}
]
}
}
}
@RecoX
Copy link

RecoX commented Jan 8, 2019

How exactly this works? for example I tried to search for

query GetUsers{
  search(query:"login:recox", first: 100, type: USER, ) {
    userCount
    pageInfo {
      endCursor
      hasNextPage
    }
    edges {
      node {
        ... on User {
          email
          login
          location
          url
	  followers() {
            totalCount
	  }
        }
      }
    }
  }
}

To find myself but no luck, but if I do this yes i can find me, do you know why?

query GetUsers{
  search(query:"recox", first: 100, type: USER, ) {
    userCount
    pageInfo {
      endCursor
      hasNextPage
    }
    edges {
      node {
        ... on User {
          email
          login
          location
          url
	  followers() {
            totalCount
	  }
        }
      }
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment