Skip to content

Instantly share code, notes, and snippets.

@maxko87
Last active August 11, 2021 04:03
Show Gist options
  • 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": "[email protected]",
"login": "AdiChat",
"location": "❤️ Japan ✈︎ India",
"url": "https://github.com/AdiChat",
"followers": {
"totalCount": 2198
}
}
},
{
"node": {
"email": "[email protected]",
"login": "hemanth",
"location": "India ",
"url": "https://github.com/hemanth",
"followers": {
"totalCount": 1807
}
}
},
{
"node": {
"email": "[email protected]",
"login": "ashish1294",
"location": "Mangalore, India",
"url": "https://github.com/ashish1294",
"followers": {
"totalCount": 1596
}
}
},
{
"node": {
"email": "[email protected]",
"login": "shekhargulati",
"location": "India",
"url": "https://github.com/shekhargulati",
"followers": {
"totalCount": 1534
}
}
},
{
"node": {
"email": "[email protected]",
"login": "aritraroy",
"location": "Bangalore, India",
"url": "https://github.com/aritraroy",
"followers": {
"totalCount": 1415
}
}
},
{
"node": {
"email": "[email protected]",
"login": "championswimmer",
"location": "New Delhi, India",
"url": "https://github.com/championswimmer",
"followers": {
"totalCount": 1224
}
}
},
{
"node": {
"email": "[email protected]",
"login": "threepointone",
"location": "Bangalore, India",
"url": "https://github.com/threepointone",
"followers": {
"totalCount": 1049
}
}
},
{
"node": {
"email": "[email protected]",
"login": "naman14",
"location": "New Delhi, India",
"url": "https://github.com/naman14",
"followers": {
"totalCount": 959
}
}
},
{
"node": {
"email": "[email protected]",
"login": "sameersbn",
"location": "Goa, India",
"url": "https://github.com/sameersbn",
"followers": {
"totalCount": 940
}
}
},
{
"node": {
"email": "[email protected]",
"login": "the-dagger",
"location": "New Delhi, India",
"url": "https://github.com/the-dagger",
"followers": {
"totalCount": 910
}
}
},
{
"node": {
"email": "[email protected]",
"login": "hiteshchoudhary",
"location": "India",
"url": "https://github.com/hiteshchoudhary",
"followers": {
"totalCount": 819
}
}
},
{
"node": {
"email": "[email protected]",
"login": "csjaba",
"location": "chennai,tamil nadu,india",
"url": "https://github.com/csjaba",
"followers": {
"totalCount": 776
}
}
},
{
"node": {
"email": "[email protected]",
"login": "ravi8x",
"location": "India",
"url": "https://github.com/ravi8x",
"followers": {
"totalCount": 761
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"login": "farizrahman4u",
"location": "Kochi, India",
"url": "https://github.com/farizrahman4u",
"followers": {
"totalCount": 635
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"login": "vopani",
"location": "Bengaluru, India",
"url": "https://github.com/vopani",
"followers": {
"totalCount": 582
}
}
},
{
"node": {
"email": "[email protected]",
"login": "PareshMayani",
"location": "Ahmedabad, India",
"url": "https://github.com/PareshMayani",
"followers": {
"totalCount": 558
}
}
},
{
"node": {
"email": "[email protected]",
"login": "kushaldas",
"location": "Pune, India",
"url": "https://github.com/kushaldas",
"followers": {
"totalCount": 558
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"login": "manrajgrover",
"location": "Bangalore, India",
"url": "https://github.com/manrajgrover",
"followers": {
"totalCount": 509
}
}
},
{
"node": {
"email": "[email protected]",
"login": "jarun",
"location": "Bangalore, India",
"url": "https://github.com/jarun",
"followers": {
"totalCount": 488
}
}
},
{
"node": {
"email": "[email protected]",
"login": "yask123",
"location": "New Delhi, India",
"url": "https://github.com/yask123",
"followers": {
"totalCount": 485
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"login": "harjot-oberai",
"location": "Chandigarh, India",
"url": "https://github.com/harjot-oberai",
"followers": {
"totalCount": 436
}
}
},
{
"node": {
"email": "[email protected]",
"login": "aayusharora",
"location": "New Delhi, India",
"url": "https://github.com/aayusharora",
"followers": {
"totalCount": 430
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected] [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": "[email protected]",
"login": "nikhita",
"location": "Mumbai, India",
"url": "https://github.com/nikhita",
"followers": {
"totalCount": 410
}
}
},
{
"node": {
"email": "[email protected]",
"login": "shyamseshadri",
"location": "Navi Mumbai, India",
"url": "https://github.com/shyamseshadri",
"followers": {
"totalCount": 405
}
}
},
{
"node": {
"email": "[email protected]",
"login": "amaneureka",
"location": "India",
"url": "https://github.com/amaneureka",
"followers": {
"totalCount": 401
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"login": "jace",
"location": "Bangalore, India",
"url": "https://github.com/jace",
"followers": {
"totalCount": 351
}
}
},
{
"node": {
"email": "[email protected]",
"login": "callicoder",
"location": "Bangalore, India",
"url": "https://github.com/callicoder",
"followers": {
"totalCount": 344
}
}
},
{
"node": {
"email": "[email protected]",
"login": "SaptakS",
"location": "India",
"url": "https://github.com/SaptakS",
"followers": {
"totalCount": 324
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"login": "labnol",
"location": "India",
"url": "https://github.com/labnol",
"followers": {
"totalCount": 315
}
}
},
{
"node": {
"email": "[email protected]",
"login": "debugger22",
"location": "Mumbai, India",
"url": "https://github.com/debugger22",
"followers": {
"totalCount": 313
}
}
},
{
"node": {
"email": "[email protected]",
"login": "phatak-dev",
"location": "India",
"url": "https://github.com/phatak-dev",
"followers": {
"totalCount": 311
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"login": "geohacker",
"location": "Bangalore, India",
"url": "https://github.com/geohacker",
"followers": {
"totalCount": 308
}
}
},
{
"node": {
"email": "[email protected]",
"login": "kirang89",
"location": "Chennai, Tamil Nadu, India",
"url": "https://github.com/kirang89",
"followers": {
"totalCount": 306
}
}
},
{
"node": {
"email": "[email protected]",
"login": "algorithmica-repository",
"location": "hyderabad, india",
"url": "https://github.com/algorithmica-repository",
"followers": {
"totalCount": 301
}
}
},
{
"node": {
"email": "[email protected]",
"login": "tstreamDOTh",
"location": "India",
"url": "https://github.com/tstreamDOTh",
"followers": {
"totalCount": 301
}
}
},
{
"node": {
"email": "[email protected]",
"login": "amitkaps",
"location": "Bangalore, India",
"url": "https://github.com/amitkaps",
"followers": {
"totalCount": 300
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"login": "dufferzafar",
"location": "New Delhi, India",
"url": "https://github.com/dufferzafar",
"followers": {
"totalCount": 285
}
}
},
{
"node": {
"email": "[email protected]",
"login": "sakshamsharma",
"location": "IIT Kanpur, India",
"url": "https://github.com/sakshamsharma",
"followers": {
"totalCount": 284
}
}
},
{
"node": {
"email": "[email protected]",
"login": "karthikb351",
"location": "Bangalore, India",
"url": "https://github.com/karthikb351",
"followers": {
"totalCount": 283
}
}
},
{
"node": {
"email": "[email protected]",
"login": "OmkarPathak",
"location": "Pune, Maharashtra, India",
"url": "https://github.com/OmkarPathak",
"followers": {
"totalCount": 275
}
}
},
{
"node": {
"email": "[email protected]",
"login": "sachingupta006",
"location": "Bangalore, India",
"url": "https://github.com/sachingupta006",
"followers": {
"totalCount": 273
}
}
},
{
"node": {
"email": "[email protected]",
"login": "shashankmehta",
"location": "Bangalore, India",
"url": "https://github.com/shashankmehta",
"followers": {
"totalCount": 273
}
}
},
{
"node": {
"email": "[email protected]",
"login": "nishnik",
"location": "Kharagpur, India",
"url": "https://github.com/nishnik",
"followers": {
"totalCount": 270
}
}
},
{
"node": {
"email": "[email protected]",
"login": "rmehta",
"location": "Mumbai, India",
"url": "https://github.com/rmehta",
"followers": {
"totalCount": 268
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"login": "ritiek",
"location": "Chandigarh, India",
"url": "https://github.com/ritiek",
"followers": {
"totalCount": 259
}
}
},
{
"node": {
"email": "[email protected]",
"login": "sudar",
"location": "Chennai, India",
"url": "https://github.com/sudar",
"followers": {
"totalCount": 259
}
}
},
{
"node": {
"email": "[email protected]",
"login": "shijuvar",
"location": "Kochi, India",
"url": "https://github.com/shijuvar",
"followers": {
"totalCount": 257
}
}
},
{
"node": {
"email": "[email protected]",
"login": "nathvarun",
"location": "New Delhi, India",
"url": "https://github.com/nathvarun",
"followers": {
"totalCount": 251
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"login": "himanshu-dixit",
"location": "India",
"url": "https://github.com/himanshu-dixit",
"followers": {
"totalCount": 244
}
}
},
{
"node": {
"email": "[email protected]",
"login": "vi3k6i5",
"location": "Bangalore, India",
"url": "https://github.com/vi3k6i5",
"followers": {
"totalCount": 241
}
}
},
{
"node": {
"email": "[email protected]",
"login": "KeenWarrior",
"location": "Delhi, India",
"url": "https://github.com/KeenWarrior",
"followers": {
"totalCount": 236
}
}
},
{
"node": {
"email": "[email protected]",
"login": "vickychijwani",
"location": "India",
"url": "https://github.com/vickychijwani",
"followers": {
"totalCount": 234
}
}
},
{
"node": {
"email": "[email protected]",
"login": "SrinivasanTarget",
"location": "India",
"url": "https://github.com/SrinivasanTarget",
"followers": {
"totalCount": 233
}
}
},
{
"node": {
"email": "[email protected]",
"login": "abidrahmank",
"location": "India",
"url": "https://github.com/abidrahmank",
"followers": {
"totalCount": 231
}
}
},
{
"node": {
"email": "[email protected]",
"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": "[email protected]",
"login": "dhanvi",
"location": "India",
"url": "https://github.com/dhanvi",
"followers": {
"totalCount": 218
}
}
},
{
"node": {
"email": "[email protected]",
"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