1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

Grabbing a weapon image from API relating to an item_id?

Discussion in 'Census: Planetside 2' started by Mono, Dec 21, 2013.

  1. Mono

    Mono Guest

    Hi, I've been working on an android app but there is two things so far that have pretty much totally confused me.

    First confusion:
    I can pull all the weapon stats for a particular person, but I haven't yet figured out how to pull the image relating to the weapon down from the api.
    i.e. The serpent has item_id: "7214" but I can't figure out how this refers to the image https://census.daybreakgames.com/files/ps2/images/static/9715
    Could anyone shed some light on this for me?

    <span style="color: #ff0000">Edit: I did some more digging and found exactly what I wanted. <span style="color: #ff0000">https://census.daybreakgames.com/get/ps2/item/7214 returns the name, description and image path for the "item_id: 7214".

    Second confusion:
    I am currently running the "Paragon" title in game. According to the query, my title_id: "54". Is there a way to convert these title_id numbers into names/descriptions?
    Paragon also has the apparent item_id: "953"


    <span style="color: #ff0000">Edit: Still unsure about title_id

    Api query:
    https://census.daybreakgames.com/get/ps2/single_character_by_id?character_id=5428010618038027489&c:resolve=item(name.en,description.en)&c:resolve=stat&c:resolve=title_id

    Cheers in advance!
     
  2. airmetforums

    airmetforums Guest

    The missing title table was an oversight. Thanks for catching it! With the next ps2 game publish the title table will be added:
    http://census.daybreakgames.com/get/ps2/title?title_id=54
    {
    • internal: <span style="color: #b22222">true,
    • returned: <span style="color: blue">1,
    • timing:

      {
      • title-ms: <span style="color: blue">4,
      • total-ms: <span style="color: blue">4
      },
    • title_list:

      [

      • {
        • name:

          {
          • de: <span style="color: green">"Paragon",
          • en: <span style="color: green">"Paragon",
          • es: <span style="color: green">"Paragón",
          • fr: <span style="color: green">"Parangon",
          • it: <span style="color: green">"Campione",
          • tr: <span style="color: green">"Paragon"
          },
        • title_id: <span style="color: green">"54"
        }
      ]
    }
     

Share This Page