Zum Inhalt springen

Mitglied abrufen

GET/v1/members/{username}

Liefert das öffentliche Profil eines Mitglieds: Namen, Bilder, Bio, Abzeichen, Karma, Zahlen und welche Profilbereiche öffentlich sind.

Anfrage

Shell
curl -g "https://api.nogitsu.com/v1/members/{username}"

Parameter

  • username

    Pfaderforderlich

    Der Benutzername des Mitglieds.

    Text

Antwort

Eine erfolgreiche Anfrage antwortet mit 200 und diesem JSON:

  • usernameText
  • displayNameText
  • avatarUrlText (uri)kann null sein
  • bioTextkann null sein
  • coverUrlText (uri)kann null sein
  • coverPositionYGanzzahl

    Von 0 bis 100

  • isEmailVerifiedtrue oder false
  • badgesListe von Text
    Erlaubte Wertefounderstaffcommunity_moderatorreviewer
  • postKarmaGanzzahl

    Von -9007199254740991 bis 9007199254740991

  • commentKarmaGanzzahl

    Von -9007199254740991 bis 9007199254740991

  • followerCountGanzzahl

    Von 0 bis 9007199254740991

  • followingCountGanzzahl

    Von 0 bis 9007199254740991

  • hasPublicFavoritestrue oder false
  • hasPublicLibrarytrue oder false
  • hasPublicCommunitiestrue oder false
  • hasPublicActivitytrue oder false
  • dailyStreakGanzzahlkann null sein

    Von 0 bis 9007199254740991

  • pointTierTextkann null sein
    Erlaubte Werteipponmitsubagoninkyuubi
  • cosmeticsObjekt
    • avatarFrameTextkann null sein
      Erlaubte Wertefoxfire_ringmoon_ringshrine_ropenine_tailsdusk_lineriver_linetorii_linefoxfirecrescentleafshrine_bellsakurasnowflake
    • profileBorderTextkann null sein
      Erlaubte Wertefoxfire_ringmoon_ringshrine_ropenine_tailsdusk_lineriver_linetorii_linefoxfirecrescentleafshrine_bellsakurasnowflake
    • stickersListe von Text
      Erlaubte Wertefoxfire_ringmoon_ringshrine_ropenine_tailsdusk_lineriver_linetorii_linefoxfirecrescentleafshrine_bellsakurasnowflake
  • completedWorkCountGanzzahlkann null sein

    Von 0 bis 9007199254740991

  • postCountGanzzahl

    Von 0 bis 9007199254740991

  • commentCountGanzzahl

    Von 0 bis 9007199254740991

  • reviewCountGanzzahl

    Von 0 bis 9007199254740991

  • acceptedContributionCountGanzzahl

    Von 0 bis 9007199254740991

  • communityCountGanzzahlkann null sein

    Von 0 bis 9007199254740991

  • moderatedCommunityCountGanzzahlkann null sein

    Von 0 bis 9007199254740991

  • joinedAtText (date-time)

Fehler

Wie jede Operation kann auch diese mit 400 bei ungültigen Parametern antworten, mit 404, wenn nichts gefunden wird, und mit 429, wenn du zu viele Anfragen sendest. Alle Fehler haben dieselbe Form.

Mehr über Fehler