API DOCUMENTATION
  
OAuth 1.0 Endpoints

 

Member API

 

Public API

 

Resources
Notifications

A user's notifications

URL

https://api.pwned.com/me/notifications

REQUEST METHODS

POST

RETURNED FORMATS

json

REQUIREMENTS

Valid OAuth Token

REQUEST PARAMETERS

  • Optional
    • start
      • Numeric value
        • Start parameter for paginated return values
    • limit
      • Numeric value
        • Returns the specified number of game shouts
    • type
      • Accepted Values
        • comment
        • message
        • friend

RETURNED VALUE

{
  "notifications":[
    {
      "type":"message",
      "link":"http://pwned.com/path/to/link",
      "timestamp":"2010-04-12 20:02:20",
      "userid":"10292",
      "username":"elementadio94",
      "displayname":"elementadio94",
      "name":"brandan",
      "avatar":"http:\/\/pwned.com\/userimages\/4-tdk.jpg",
      "userurl":"http:\/\/pwned.com\/elementadio94"
    },
    {
      "type":"comment",
      "link":"http://pwned.com/path/to/link",
      "timestamp":"2010-04-12 20:02:20",
      "userid":"1811",
      "username":"NintenDo_kid21",
      "displayname":"Delete
    }{
      3r0",
      "name":"Nate",
      "avatar":"http:\/\/pwned.com\/userimages\/1197817135-1197817091-punisherbig.jpg",
      "userurl":"http:\/\/pwned.com\/NintenDo_kid21"
    },
    {
      "type":"message",
      "link":"http://pwned.com/path/to/link",
      "timestamp":"2010-04-12 20:02:20",
      "userid":"9999",
      "username":"xxmithxx",
      "displayname":"xxMiTHxx",
      "name":"Timothy J",
      "avatar":"http:\/\/pwned.com\/userimages\/1215793480-1215793455-P6220017.JPG",
      "userurl":"http:\/\/pwned.com\/xxmithxx"
    },
    {
      "type":"friend",
      "link":"http://pwned.com/path/to/link",
      "timestamp":"2010-04-12 20:02:20",
      "userid":"10001",
      "username":"ZxxAssassinxxZ",
      "displayname":"ZxxAssassinxxZ",
      "name":"Shawn Walthall",
      "avatar":"http:\/\/pwned.com\/userimages\/1216022541-1216022521-M3.jpg",
      "userurl":"http:\/\/pwned.com\/ZxxAssassinxxZ"
    },
    {
      "type":"message",
      "link":"http://pwned.com/path/to/link",
      "timestamp":"2010-04-12 20:02:20",
      "userid":"1281",
      "username":"Electra",
      "displayname":"[
        AsY
      ] Electra-Kute",
      "name":"Dawn",
      "avatar":"http:\/\/pwned.com\/userimages\/1197172000-1197171950-electrasig.png",
      "userurl":"http:\/\/pwned.com\/Electra"
    }
  ]
}