Follower counts and your relationship
GET
/v1/social/{type}/{key}
const url = 'https://api.gampeon.com/v1/social/user/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gampeon.com/v1/social/user/exampleCounts are public. With login, viewer describes your relationship (follow, friendship, block). Hidden studios and projects count as not found.
Not available with access tokens.
Authorizations
Section titled “Authorizations”- None
- session
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”type
required
string
user, studio or project
key
required
string
Handle (user) or slug (studio, project)
Responses
Section titled “Responses”Summary
Media typeapplication/json
object
type
required
string
key
required
string
name
required
string
followers
required
integer
following
Accounts only
integer
friends
Accounts only
integer
viewer
required
Example
{ "viewer": { "friend": "none" }}Error codes: token_not_allowed
Media typeapplication/json
object
error
required
Machine-readable error code, for example not_found or rate_limited.
string
message
Human-readable detail. Only present for some errors.
string
Example generated
{ "error": "example", "message": "example"}Error codes: not_found
Media typeapplication/json
object
error
required
Machine-readable error code, for example not_found or rate_limited.
string
message
Human-readable detail. Only present for some errors.
string
Example generated
{ "error": "example", "message": "example"}