iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
991 stars 552 forks source link

Niantic changes 11/06/2013 #631

Closed macrojames closed 10 years ago

macrojames commented 10 years ago

New version of intel, jarvis shards included. delivered by call "/artifacts"

macrojames commented 10 years ago

/r/artifacts parameters

23a6djyyieeaeduu: 0 // unknown?
54lh4o0q7nz7dao9: "370c0b4e160ed26c8c4ce40f10f546545730e1ef" // version: versionParameter
chwe3yko3xy0qlk3: 66 // unknown ? 
ebwfvri5io9q0tvu: 90000000 // Fìller/World
f31z3x27ua8i05cf: -90000000 // Fìller/World
imo60cdzkemxduub: "artifacts" // method
lfqzvpj92dp8uxo6: 180000000 // Fìller/World
t0rmob7f42c0w04r: -180000000 // Fìller/World
v5rzzxtg5rmry3dx: false // unknown?
zhjtsm2gw7w3b7mx: 1383772259260 // perhaps "lastUpdate"

Returns Array for target portals of both factions an Array of portals where shard are sitting

jonatkins commented 10 years ago

All the parameters, other than the standard imo60cdzkemxduub (the method name) and 54lh4o0q7nz7dao9 (the API version?) are junk added by nemesis.dashboard.requests.normalizeParamCount, and do not need to be sent.

See the code of the standard site - nemesis.dashboard.ArtifactInfoStore.prototype.maybeIssueRequest

jonatkins commented 10 years ago

The response to the 'artefacts' request is the following:

{
   "artifacts":[
      {
         "targetInfos":[
            {
               "portalInfo":{
                  "resonatorArray":{
                     "resonators":[
                        {
                           "slot":0,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":28,
                           "id":"78ba11c6-e523-4b0e-9beb-a09c1cc3ed69",
                           "ownerGuid":"a163b72aaffd4aacb39adb83be5102c1.c"
                        },
                        {
                           "slot":1,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":27,
                           "id":"c11fbe00-0eb6-4ccb-bfab-bd2001b72c92",
                           "ownerGuid":"a163b72aaffd4aacb39adb83be5102c1.c"
                        },
                        {
                           "slot":2,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":25,
                           "id":"30b3fbeb-25a8-404c-bc11-8b0420c97d0f",
                           "ownerGuid":"a163b72aaffd4aacb39adb83be5102c1.c"
                        },
                        {
                           "slot":3,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":27,
                           "id":"53b474c0-c130-448f-9f29-e3eef2b90721",
                           "ownerGuid":"a163b72aaffd4aacb39adb83be5102c1.c"
                        },
                        {
                           "slot":4,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":29,
                           "id":"80e7b850-9e10-4f28-ae80-3ca52470c945",
                           "ownerGuid":"122b4297537f4e7791253fdae868af9a.c"
                        },
                        {
                           "slot":5,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":28,
                           "id":"10c3e405-3dbc-4172-a892-fe062ed0752e",
                           "ownerGuid":"122b4297537f4e7791253fdae868af9a.c"
                        },
                        {
                           "slot":6,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":27,
                           "id":"6e69789b-ebe2-407c-a358-fa5a9bcb4489",
                           "ownerGuid":"3075aac9faf24d2db598c38095bd1533.c"
                        },
                        {
                           "slot":7,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":29,
                           "id":"1a6ad349-3e4b-4a86-86d3-bfb69a71abb2",
                           "ownerGuid":"3075aac9faf24d2db598c38095bd1533.c"
                        }
                     ]
                  },
                  "locationE6":{
                     "lngE6":-58372164,
                     "latE6":-34608403
                  },
                  "controllingTeam":{
                     "team":"ENLIGHTENED"
                  },
                  "portalV2":{
                     "linkedEdges":[
                        {
                           "otherPortalGuid":"db0a630591d640e5b071e98f77efbfd7.16",
                           "edgeGuid":"6ecd04df86f94c739a635312df15c76d.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"18a97af6747e495da1c3fe34c0967efd.16",
                           "edgeGuid":"392c0b4a576a46539f63f911ef5e717d.9",
                           "isOrigin":false
                        },
                        {
                           "otherPortalGuid":"943e023cfee34239b8947df3acfe906f.16",
                           "edgeGuid":"d6744f8a32684d7d9e51dc216e126b80.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"d70287c0a5af4c70b62c8ff763e769dd.11",
                           "edgeGuid":"dd1d3751f6544bcb92db22d9464c7fc0.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"480f2cfa1a664790803a412b7be499c1.16",
                           "edgeGuid":"2c6eb0b4d8184c07b65747454a9808cd.9",
                           "isOrigin":false
                        },
                        {
                           "otherPortalGuid":"13664aa6db994dc7a356aa29fecdb5da.16",
                           "edgeGuid":"d38a894f54fa4b5abf8b5b7cf33d2db3.9",
                           "isOrigin":true
                        }
                     ],
                     "linkedModArray":[
                        {
                           "installingUser":"a163b72aaffd4aacb39adb83be5102c1.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        },
                        {
                           "installingUser":"a163b72aaffd4aacb39adb83be5102c1.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        },
                        {
                           "installingUser":"3075aac9faf24d2db598c38095bd1533.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"10"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"COMMON"
                        },
                        {
                           "installingUser":"3075aac9faf24d2db598c38095bd1533.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"10"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"COMMON"
                        }
                     ],
                     "descriptiveText":{
                        "ATTRIBUTION_LINK":"http://www.panoramio.com/photo/10209810",
                        "TITLE":"Pir\u00e1mide de Mayo",
                        "ATTRIBUTION":"Draken",
                        "ADDRESS":"Reconquista 1, Buenos Aires, Autonomous City of Buenos Aires, Argentina"
                     }
                  },
                  "imageByUrl":{
                     "imageUrl":"http://www.panoramio.com/photos/small/10209810.jpg"
                  },
                  "captured":{
                     "capturedTime":"1383774306801",
                     "capturingPlayerId":"a163b72aaffd4aacb39adb83be5102c1.c"
                  }
               },
               "portalGuid":"6899fca3412a41fc97a509fa6030b0bf.12",
               "team":"RESISTANCE"
            },
            {
               "portalInfo":{
                  "resonatorArray":{
                     "resonators":[
                        {
                           "slot":0,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":25,
                           "id":"8225daec-3d61-4df6-8384-eec6c63c8ba3",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        },
                        {
                           "slot":1,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":25,
                           "id":"e1c7447a-74cd-4741-881a-daed231b76ad",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        },
                        {
                           "slot":2,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":27,
                           "id":"bb3c87c9-84e5-489c-ac9a-6208a5e989c7",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        },
                        {
                           "slot":3,
                           "level":4,
                           "energyTotal":2500,
                           "distanceToPortal":26,
                           "id":"d580158f-a29f-4d44-a573-e8ed59dc616b",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        },
                        {
                           "slot":4,
                           "level":4,
                           "energyTotal":2500,
                           "distanceToPortal":27,
                           "id":"68ae1e8b-057b-4832-960c-98ca741e5cef",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        },
                        {
                           "slot":5,
                           "level":5,
                           "energyTotal":3000,
                           "distanceToPortal":26,
                           "id":"368d358f-e582-457b-bf0c-5d971cfbd38d",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        },
                        {
                           "slot":6,
                           "level":5,
                           "energyTotal":3000,
                           "distanceToPortal":25,
                           "id":"5a525206-f135-46e0-969e-711855c03e9c",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        },
                        {
                           "slot":7,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":26,
                           "id":"72fdb1a8-0787-4bcc-9177-32b63c871392",
                           "ownerGuid":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                        }
                     ]
                  },
                  "locationE6":{
                     "lngE6":-122390014,
                     "latE6":37791541
                  },
                  "controllingTeam":{
                     "team":"ENLIGHTENED"
                  },
                  "portalV2":{
                     "linkedEdges":[
                        {
                           "otherPortalGuid":"aaa25500da604fd4b3ea44d8dcce7ad1.16",
                           "edgeGuid":"bb8c42e2d9004d8184563d5a2811a4b7.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"7ad00f57537e43368e2c8f03c26c03e5.11",
                           "edgeGuid":"9581c7496b4a4d29a89455896e441b63.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"ce5f6df683ba43628808682057988bea.12",
                           "edgeGuid":"bcffedf9186d43ff868fb7937a26a112.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"5e5b833fa03a4e278fb3e3a46c26b5fb.16",
                           "edgeGuid":"fb8b3884035743feab7455b31711a9de.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"4cfe5f9e5c9f4670a9425e2607b32a01.16",
                           "edgeGuid":"3d162db03b6e4c5b90e6d7215a2d74fb.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"f96f601cce4c448593fcddc682252029.16",
                           "edgeGuid":"28c83b8f603c4379b1f03202834f2107.9",
                           "isOrigin":true
                        }
                     ],
                     "linkedModArray":[
                        null,
                        {
                           "installingUser":"b26eae1f9dcd430c9a76df2feccbdc69.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"20"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"RARE"
                        },
                        {
                           "installingUser":"b26eae1f9dcd430c9a76df2feccbdc69.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"20"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"RARE"
                        },
                        null
                     ],
                     "descriptiveText":{
                        "ADDRESS":"241-325 The Embarcadero, San Francisco, CA",
                        "DESCRIPTION":"Created by Class Oldenburg and Coosje van Bruggen, the 64 foot high painted fiberglass and stainless steel sculpture represents a bow and arrow -- the traditional attributes of the imp of love -- shooting straight down into a sliver of pedestrian park.\nObservant passers-by will notice how it changes aspect with viewing angle and distance.  Up close, its taut bowstring and vertical arrow relate to the cables and towers of the Bay Bridge.  From a moderate distance, the bow, arrow and string suggest the hull, mast and rigging of a Spanish galleon -- the vessel of the colonizers -- a reading countered by the identification of bow and arrow with Native Americans -- the colonized.  One double reading of bow, of course, is as the bow, or front end of a ship.  Viewed from farther off, across the Embarcadero, the curves of Cupid's bow dovetail with the arching fronds of the palms that line the causeway and implicitly also with the swoop of the road itself.",
                        "TITLE":"Cupid's Span"
                     }
                  },
                  "imageByUrl":{
                     "imageUrl":"http://lh6.ggpht.com/xBckx2qeAv4kog4JQfUxzzq86OG0RYP2ccrQv05HOuMeqUWV2cGMWrBU27LZJKUCSNCdQVAt3eqtnBlPGhyB"
                  },
                  "captured":{
                     "capturedTime":"1383775076750",
                     "capturingPlayerId":"b26eae1f9dcd430c9a76df2feccbdc69.c"
                  }
               },
               "portalGuid":"9f2eaaa0c1ae4204a2ba5edd46ad4c95.12",
               "team":"ENLIGHTENED"
            }
         ],
         "fragmentInfos":[
            {
               "portalInfo":{
                  "resonatorArray":{
                     "resonators":[
                        {
                           "slot":0,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":36,
                           "id":"5a66315e-0b33-48ca-b7d8-0329e4580e07",
                           "ownerGuid":"d09c6277d0954a06be2682ef35305c33.c"
                        },
                        {
                           "slot":1,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":37,
                           "id":"8419cf1c-cb83-4d4f-af3b-2e52806c34e4",
                           "ownerGuid":"7058da9bd9734e14aad7bb3382c0b8a0.c"
                        },
                        {
                           "slot":2,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":37,
                           "id":"6980b488-647d-4c61-918d-6f9dcde4dd3d",
                           "ownerGuid":"d09c6277d0954a06be2682ef35305c33.c"
                        },
                        {
                           "slot":3,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":37,
                           "id":"6d24ced3-7f46-40c3-a45e-75922a20594b",
                           "ownerGuid":"d09c6277d0954a06be2682ef35305c33.c"
                        },
                        {
                           "slot":4,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":36,
                           "id":"9103b965-0c55-491b-9bbd-f6d86adc5727",
                           "ownerGuid":"7058da9bd9734e14aad7bb3382c0b8a0.c"
                        },
                        {
                           "slot":5,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":37,
                           "id":"4c383665-5126-4371-943e-0d2e2b32f596",
                           "ownerGuid":"7058da9bd9734e14aad7bb3382c0b8a0.c"
                        },
                        {
                           "slot":6,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":36,
                           "id":"5e7b562f-3b3a-4bff-8c83-8a3a81c969b8",
                           "ownerGuid":"d09c6277d0954a06be2682ef35305c33.c"
                        },
                        {
                           "slot":7,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":37,
                           "id":"4c3baaf4-1a8d-42f7-bf12-f75e7ea331ac",
                           "ownerGuid":"7058da9bd9734e14aad7bb3382c0b8a0.c"
                        }
                     ]
                  },
                  "locationE6":{
                     "lngE6":-74023834,
                     "latE6":40744380
                  },
                  "controllingTeam":{
                     "team":"RESISTANCE"
                  },
                  "portalV2":{
                     "linkedEdges":[

                     ],
                     "linkedModArray":[
                        {
                           "installingUser":"7058da9bd9734e14aad7bb3382c0b8a0.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"20"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"RARE"
                        },
                        {
                           "installingUser":"7058da9bd9734e14aad7bb3382c0b8a0.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"20"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"RARE"
                        },
                        {
                           "installingUser":"d09c6277d0954a06be2682ef35305c33.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        },
                        {
                           "installingUser":"d09c6277d0954a06be2682ef35305c33.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        }
                     ],
                     "descriptiveText":{
                        "TITLE":"Castle Point Lookout Stevens Institute of Technology",
                        "ADDRESS":"Frank Sinatra Drive, Stevens Institute of Technology, Hoboken, NJ 07030, USA"
                     }
                  },
                  "imageByUrl":{
                     "imageUrl":"http://lh6.ggpht.com/lzjE9YjiywAWvZwU9JQo-gXd2pR31jhpo0JO6cGBFN6uQMSbwgDDHunj4ZPh9V_1Y0lXaqVwxUob-vsx59pj"
                  },
                  "captured":{
                     "capturedTime":"1383770822616",
                     "capturingPlayerId":"7058da9bd9734e14aad7bb3382c0b8a0.c"
                  }
               },
               "fragments":[
                  1
               ],
               "portalGuid":"a8c6fd80edbd4fe79a66d6d26a5b9068.16"
            },
            {
               "portalInfo":{
                  "resonatorArray":{
                     "resonators":[
                        {
                           "slot":0,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":28,
                           "id":"c348424c-5ed8-42a7-9a99-cb7c47deab57",
                           "ownerGuid":"5a43ec5b5e724a8782f29f3c8ef56c56.c"
                        },
                        {
                           "slot":1,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":38,
                           "id":"f77378f2-ecfc-48e9-bd54-3361958b3345",
                           "ownerGuid":"262f5dee39e646e0894f0c1d025bce99.c"
                        },
                        {
                           "slot":2,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":29,
                           "id":"a0adb8e5-8459-4036-a7be-8c03281f776f",
                           "ownerGuid":"acd41e72094147b3ba81cc036131fb6c.c"
                        },
                        {
                           "slot":3,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":29,
                           "id":"ab3a91b0-d303-40ce-b7db-b550bb6dc98c",
                           "ownerGuid":"7af1670cd09e443a8e91d0a3ce8c9aeb.c"
                        },
                        {
                           "slot":4,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":28,
                           "id":"714dfbb3-7d26-4494-91b2-28e3701a750f",
                           "ownerGuid":"f3a3f3d0bd514530b96a22cc008b981c.c"
                        },
                        {
                           "slot":5,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":29,
                           "id":"122c84d4-82fb-4748-a9e2-85ab61d6959b",
                           "ownerGuid":"40ac2ce5c6044ec4b59f5736d9090ac1.c"
                        },
                        {
                           "slot":6,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":27,
                           "id":"d856557a-c958-43f3-9c10-bade1e3996f4",
                           "ownerGuid":"015db22c4f9b41dab6a10a76599366a4.c"
                        },
                        {
                           "slot":7,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":28,
                           "id":"09fa8250-6c76-4b67-b252-758dffdc451d",
                           "ownerGuid":"da784b31a4ce4303bcf12b9bbb31fa1a.c"
                        }
                     ]
                  },
                  "locationE6":{
                     "lngE6":13377708,
                     "latE6":52516240
                  },
                  "controllingTeam":{
                     "team":"RESISTANCE"
                  },
                  "portalV2":{
                     "linkedEdges":[
                        {
                           "otherPortalGuid":"1191237191bd4cf39332cbba18c2b0ab.12",
                           "edgeGuid":"ed42a975889a4c049d138dd3a3ca7b29.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"ad6c7bbe09ce47f1b55ed35de4f48b13.12",
                           "edgeGuid":"7618df0659514e64bb644140df04b739.9",
                           "isOrigin":true
                        }
                     ],
                     "linkedModArray":[
                        {
                           "installingUser":"55398e8d815a46708e5345bd3acaeb5a.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"10"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"COMMON"
                        },
                        {
                           "installingUser":"93d3c59b3f7c4b4e8e1d3e6d50ae146b.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        },
                        {
                           "installingUser":"f3a3f3d0bd514530b96a22cc008b981c.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        },
                        {
                           "installingUser":"40ac2ce5c6044ec4b59f5736d9090ac1.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        }
                     ],
                     "descriptiveText":{
                        "ATTRIBUTION_LINK":"http://www.panoramio.com/photo/10135770",
                        "ADDRESS":"Pariser Platz 1, 10117 Berlin, Germany",
                        "ATTRIBUTION":"LukasRamolla",
                        "TITLE":"Brandenburger Tor"
                     }
                  },
                  "imageByUrl":{
                     "imageUrl":"http://www.panoramio.com/photos/small/10135770.jpg"
                  },
                  "captured":{
                     "capturedTime":"1383775272498",
                     "capturingPlayerId":"5a43ec5b5e724a8782f29f3c8ef56c56.c"
                  }
               },
               "fragments":[
                  2
               ],
               "portalGuid":"8bda87242a1c491f8964324a374f9335.12"
            },
            {
               "portalInfo":{
                  "portalV2":{
                     "linkedEdges":[

                     ],
                     "linkedModArray":[
                        null,
                        null,
                        null,
                        null
                     ],
                     "descriptiveText":{
                        "TITLE":"\u5f35\u4fdd\u4ed4\u90ca\u91ce\u5340\u4f11\u606f\u4ead",
                        "ADDRESS":"Cheung Chau Family Walk, Cheung Chau, Hong Kong"
                     }
                  },
                  "resonatorArray":{
                     "resonators":[
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                     ]
                  },
                  "controllingTeam":{
                     "team":"NEUTRAL"
                  },
                  "imageByUrl":{
                     "imageUrl":"http://lh6.ggpht.com/ShFCGhSB0g6ZCicIo_ycLK6wRyIfx6dIfYC9_O3uVBhLJUgzJulI6d7M2cwhxV3G9EzUC2aiDLsuhxav4mI2mQ"
                  },
                  "locationE6":{
                     "lngE6":114018104,
                     "latE6":22200609
                  }
               },
               "fragments":[
                  4
               ],
               "portalGuid":"dc75e23348d84c7182e2c0a9498e594d.16"
            },
            {
               "portalInfo":{
                  "resonatorArray":{
                     "resonators":[
                        {
                           "slot":0,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":23,
                           "id":"65d14e49-a35c-409c-9441-636dbb6acd51",
                           "ownerGuid":"b42b0fd8cd8340d9965a5cdb0f8a21d1.c"
                        },
                        {
                           "slot":1,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":24,
                           "id":"d272497c-10c9-4528-b1af-78d0c07ed701",
                           "ownerGuid":"56673c7e14f14f7b806f620b4f579c32.c"
                        },
                        {
                           "slot":2,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":23,
                           "id":"3ed22757-e7d8-4fd1-a4b3-4b35fa6c0459",
                           "ownerGuid":"56673c7e14f14f7b806f620b4f579c32.c"
                        },
                        {
                           "slot":3,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":23,
                           "id":"a3dbcc70-ebf8-4ab0-bb0a-6eaabb2e1c7b",
                           "ownerGuid":"b42b0fd8cd8340d9965a5cdb0f8a21d1.c"
                        },
                        {
                           "slot":4,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":23,
                           "id":"156d8934-5bca-4fee-b6bb-895105aa58a8",
                           "ownerGuid":"3a5d28c0ee494c15badb120878bac9e0.c"
                        },
                        {
                           "slot":5,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":24,
                           "id":"612fb0f9-5a91-4872-83aa-352a35bd1515",
                           "ownerGuid":"0c8a6a02965b49d3aed29ed3b6cf0d5f.c"
                        },
                        {
                           "slot":6,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":23,
                           "id":"d9c6d60c-0286-4b81-904c-09b479566ccb",
                           "ownerGuid":"99710670e324419ea05a766f74436524.c"
                        },
                        {
                           "slot":7,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":24,
                           "id":"b49198de-88ce-45d2-9a96-ae30bd4aec91",
                           "ownerGuid":"99710670e324419ea05a766f74436524.c"
                        }
                     ]
                  },
                  "locationE6":{
                     "lngE6":37608400,
                     "latE6":55748972
                  },
                  "controllingTeam":{
                     "team":"ENLIGHTENED"
                  },
                  "portalV2":{
                     "linkedEdges":[
                        {
                           "otherPortalGuid":"418b4a753b7446b6934e4f551d9b28ea.12",
                           "edgeGuid":"d69fd5a631424189b54c5e971ff8f95c.9",
                           "isOrigin":true
                        }
                     ],
                     "linkedModArray":[
                        {
                           "installingUser":"56673c7e14f14f7b806f620b4f579c32.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"10"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"COMMON"
                        },
                        {
                           "installingUser":"56673c7e14f14f7b806f620b4f579c32.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"10"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"COMMON"
                        },
                        {
                           "installingUser":"0c8a6a02965b49d3aed29ed3b6cf0d5f.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        },
                        {
                           "installingUser":"0c8a6a02965b49d3aed29ed3b6cf0d5f.c",
                           "type":"RES_SHIELD",
                           "stats":{
                              "REMOVAL_STICKINESS":"0",
                              "MITIGATION":"30"
                           },
                           "displayName":"Portal Shield",
                           "rarity":"VERY_RARE"
                        }
                     ],
                     "descriptiveText":{
                        "ATTRIBUTION_LINK":"http://www.panoramio.com/photo/66492171",
                        "ADDRESS":"Ulitsa Znamenka, 3, Moscow, Russia, 119019",
                        "ATTRIBUTION":"Fanata",
                        "TITLE":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f \u0428\u0438\u043b\u043e\u0432\u0430"
                     }
                  },
                  "imageByUrl":{
                     "imageUrl":"http://www.panoramio.com/photos/small/66492171.jpg"
                  },
                  "captured":{
                     "capturedTime":"1383774529377",
                     "capturingPlayerId":"56673c7e14f14f7b806f620b4f579c32.c"
                  }
               },
               "fragments":[
                  5
               ],
               "portalGuid":"bec46bd03b664300b40b8d56c5672736.12"
            },
            {
               "portalInfo":{
                  "resonatorArray":{
                     "resonators":[
                        {
                           "slot":0,
                           "level":8,
                           "energyTotal":6000,
                           "distanceToPortal":36,
                           "id":"61e2e1e4-9896-4481-baa5-191903e374aa",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        },
                        {
                           "slot":1,
                           "level":5,
                           "energyTotal":3000,
                           "distanceToPortal":36,
                           "id":"1863ba42-3dfc-4ae2-8cf7-d628927f9f2d",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        },
                        {
                           "slot":2,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":37,
                           "id":"f5cf7604-2417-423d-906d-ec1618658ff4",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        },
                        {
                           "slot":3,
                           "level":4,
                           "energyTotal":2500,
                           "distanceToPortal":36,
                           "id":"72e6d5d7-e0e6-4f22-a71d-76c458c6d1e3",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        },
                        {
                           "slot":4,
                           "level":7,
                           "energyTotal":5000,
                           "distanceToPortal":37,
                           "id":"52a79cbb-5de4-45a2-8722-18520e041975",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        },
                        {
                           "slot":5,
                           "level":5,
                           "energyTotal":3000,
                           "distanceToPortal":36,
                           "id":"7aa8f768-a009-439b-8f9d-fe5035810beb",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        },
                        {
                           "slot":6,
                           "level":6,
                           "energyTotal":4000,
                           "distanceToPortal":37,
                           "id":"43d100e4-2328-4d08-85eb-8da93dfa122b",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        },
                        {
                           "slot":7,
                           "level":3,
                           "energyTotal":2000,
                           "distanceToPortal":36,
                           "id":"d7f17a35-abc3-42d0-a327-039fce018fee",
                           "ownerGuid":"3f00bf7296e8496b89f962715bae12b2.c"
                        }
                     ]
                  },
                  "locationE6":{
                     "lngE6":72833888,
                     "latE6":18922500
                  },
                  "controllingTeam":{
                     "team":"RESISTANCE"
                  },
                  "portalV2":{
                     "linkedEdges":[
                        {
                           "otherPortalGuid":"216575c2c6c1463a8d6445c5b55bd46b.12",
                           "edgeGuid":"829eb98af72a4bf380f69e90fc1f9a55.9",
                           "isOrigin":true
                        },
                        {
                           "otherPortalGuid":"1d90293f53eb404ba8937c6ac944e4ee.11",
                           "edgeGuid":"88237b403c544404b7174c5017f78b7c.9",
                           "isOrigin":false
                        }
                     ],
                     "linkedModArray":[
                        null,
                        null,
                        null,
                        null
                     ],
                     "descriptiveText":{
                        "TITLE":"Shivaji Statue, CST Portal",
                        "ADDRESS":"PJ Ramchandani Marg, Apollo Bandar, Mumbai, Maharashtra 400001, India"
                     }
                  },
                  "imageByUrl":{
                     "imageUrl":"http://lh4.ggpht.com/v2V3Sjt5CoLQ2Gw1LmUVOSE_9Hn7x46cDL6omOgUVzNF6dlhK_zwd3ZmFWk4A1DFPvZ7oL6ZVu7udDY5zBbwlLcWl1TTBHv6CdLaM5ZQVQSKvJA"
                  },
                  "captured":{
                     "capturedTime":"1383748357508",
                     "capturingPlayerId":"3f00bf7296e8496b89f962715bae12b2.c"
                  }
               },
               "fragments":[
                  3
               ],
               "portalGuid":"d6ebe3d940dc45ec86e324e49b3ee6be.11"
            }
         ],
         "artifactId":"jarvis"
      }
   ]
}
jonatkins commented 10 years ago

At the top level, there's an array of objects. This has artefactId: jarvis fragmentInfos: array targetInfos: array

For each menber of the fragmentInfos array, the object has: fragments: array of fragment IDs at this portal portalGuid: GUID of portal portalInfo: portal data

for each member of targetInfos: portalGuid: GUID of portal portalInfos: portal data team: which team this is a target for

Ideally anything we write to handle this is reasonably generic, to allow for future updates re-using this for other thing. Has anyone reverse-engineered the client apk to see if there's hints to other fragment types supported?

jonatkins commented 10 years ago

Heh - have had a look at the code from the stock site. That only handles the first entry in the top-level array, and doesn't even test the artefactId to see if it's jarvis.

jonatkins commented 10 years ago

6b5571b18ae42f0abc0ca548615387d5a66668ab adds the artifact markers to the map. image image

I'm just pointing to the URLs used by the standard intel site - if anyone wants to have a go at custom icons for these feel free. Currently, there's 14 versions of the target icon, with segments that fill showing how many shards are at the target portal.

I'll be adding the target+shard details to the portal info panel next.

macrojames commented 10 years ago

As the request delivers shard information world-wide regardless of your own position an overview list with links to the portals should be possible als well. Would you see this feature as a core component or a plugin?

jonatkins commented 10 years ago

core iitc now contains a brief portal list. all planned work is done