Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link

I'm working with the API for several weeks (see my app herehere) and I'm trying to get the username of a particular user from its Stack Exchange ID.

It's possible by querying /users/{ids} but it returns data from one website at a time, so it will require more requests to get data from multiple users if theirs accounts belong to different websites.

Example:

  1. Get the websites associated to my Account ID and store a website and its user_id
  2. Get the badges associated to my user_id (you may need to associate site_URL with api_site_parameter)

See how the network_user node is present in every badge.

If a global method (returning data from the Stack Exchange network) was available, it should require less requests since it would only take user ids and return only one note per user.

Am I missing something?

If this data is not available, is it possible to add a simple /users/{ids} which returns global data and not on a per-site basis?

Examples:

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.

It's possible by querying /users/{ids} but it returns data from one website at a time, so it will require more requests to get data from multiple users if theirs accounts belong to different websites.

Example:

  1. Get the websites associated to my Account ID and store a website and its user_id
  2. Get the badges associated to my user_id (you may need to associate site_URL with api_site_parameter)

See how the network_user node is present in every badge.

If a global method (returning data from the Stack Exchange network) was available, it should require less requests since it would only take user ids and return only one note per user.

Am I missing something?

If this data is not available, is it possible to add a simple /users/{ids} which returns global data and not on a per-site basis?

Examples:

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.

It's possible by querying /users/{ids} but it returns data from one website at a time, so it will require more requests to get data from multiple users if theirs accounts belong to different websites.

Example:

  1. Get the websites associated to my Account ID and store a website and its user_id
  2. Get the badges associated to my user_id (you may need to associate site_URL with api_site_parameter)

See how the network_user node is present in every badge.

If a global method (returning data from the Stack Exchange network) was available, it should require less requests since it would only take user ids and return only one note per user.

Am I missing something?

If this data is not available, is it possible to add a simple /users/{ids} which returns global data and not on a per-site basis?

Examples:

Added an example of the current method to retrieve an user's username
Source Link
A.L
  • 308
  • 1
  • 11

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.

It's possible by querying /users/{ids} but it returns data from one website at a time, so it will require more requests to get data from multiple users if theirs accounts belong to different websites.

Example:

  1. Get the websites associated to my Account ID and store a website and its user_id
  2. Get the badges associated to my user_id (you may need to associate site_URL with api_site_parameter)

See how the network_user node is present in every badge.

If a global method (returning data from the Stack Exchange network) was available, it should require less requests since it would only rely on thetake user ids and return only one note per user.

Am I missing something?

If this data is not available, is it possible to add a simple /users/{ids} which returns global data and not on a per-site basis?

Examples:

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.

It's possible by querying /users/{ids} but it returns data from one website at a time, so it will require more requests to get data from multiple users if theirs accounts belong to different websites. If a global method (returning data from the Stack Exchange network) was available, it should require less requests since it would only rely on the user ids.

Am I missing something?

If this data is not available, is it possible to add a simple /users/{ids} which returns global data and not on a per-site basis?

Examples:

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.

It's possible by querying /users/{ids} but it returns data from one website at a time, so it will require more requests to get data from multiple users if theirs accounts belong to different websites.

Example:

  1. Get the websites associated to my Account ID and store a website and its user_id
  2. Get the badges associated to my user_id (you may need to associate site_URL with api_site_parameter)

See how the network_user node is present in every badge.

If a global method (returning data from the Stack Exchange network) was available, it should require less requests since it would only take user ids and return only one note per user.

Am I missing something?

If this data is not available, is it possible to add a simple /users/{ids} which returns global data and not on a per-site basis?

Examples:

Source Link
A.L
  • 308
  • 1
  • 11

Getting global information (Stack Exchange) about a list of users

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.

It's possible by querying /users/{ids} but it returns data from one website at a time, so it will require more requests to get data from multiple users if theirs accounts belong to different websites. If a global method (returning data from the Stack Exchange network) was available, it should require less requests since it would only rely on the user ids.

Am I missing something?

If this data is not available, is it possible to add a simple /users/{ids} which returns global data and not on a per-site basis?

Examples: