How to get the list of site users through the Stack Overflow API?

1

I need to loop through the Stack Overflow API to generate data for all forum users, but I do not know how users' ids are generated at the time of registration. Does anyone know how user IDs are generated? They are not growing, I think.

    
asked by anonymous 23.07.2014 / 03:40

1 answer

2

To get the user list from one of the Stack Exchange sites:

http://api.stackexchange.com/2.2/users?site=[SiteDesejado]

Example: link

To get the total of users from one of the sites:

http://api.stackexchange.com/2.2/info?site=[SiteDesejado]

Example: link

Relevant element:

{  
   "items":[  
      {  
         "total_users":3321752
      }
   ],
}
    
23.07.2014 / 14:44