Skip to content

Instantly share code, notes, and snippets.

@mmrobins
Last active December 12, 2015 12:29
Show Gist options
  • Save mmrobins/4772199 to your computer and use it in GitHub Desktop.
Save mmrobins/4772199 to your computer and use it in GitHub Desktop.
% cookie=mycookieicopied
% token=mytokenicopied
% vim ingress_payload # paste in your payload data you copied and save
% curl -v -X POST -H "Cookie:$cookie" -H "X-CSRFToken:$token" --data @ingress_payload http://www.ingress.com/rpc/dashboard.getThinnedEntitiesV2
* About to connect() to www.ingress.com port 80 (#0)
* Trying 72.14.249.180... connected
* Connected to www.ingress.com (72.14.249.180) port 80 (#0)
> POST /rpc/dashboard.getThinnedEntitiesV2 HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: www.ingress.com
> Accept: */*
> Cookie:mycookieicopied
> X-CSRFToken:mytokenicopied
> Content-Length: 366
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 200 OK
< Content-Type: application/json
< Set-Cookie: cookiedata; expires=Tue, 26-Feb-2013 18:38:30 GMT; path=/; HttpOnly
< Vary: Accept-Encoding
< Date: Tue, 12 Feb 2013 18:38:30 GMT
< Pragma: no-cache
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Cache-Control: no-cache, must-revalidate
< Server: Google Frontend
< Transfer-Encoding: chunked
<
* Connection #0 to host www.ingress.com left intact
* Closing connection #0
{"result": {"map": {"0021230223121302030": {"deletedGameEntityGuids": ["b299f033f8d044f08c07ced44e5efd3e.9"], "gameEntities": [["96aebca6347b4c678e538bbc9e4e0837.9", 1360593796878, {"controllingTeam": {"team": "RESISTANCE"}, "creator": {"creatorGuid": "9cf5e0ed44ac459b963027918e800085.c", "creationTime": "1360593796625"}, "edge": {"destinationPortalGuid": "fce432ac6b2e417983e1768468401417.11", "originPortalLocation": {"lngE6": -122670217, "latE6": 45498412}, "destinationPortalLocation": {"lngE6": -122613283, "latE6": 45351999}, "originPortalGuid": "ee76a50932984b2396f7e24bf5100f20.12"}}], ["947f26c0f42142c6a051f9dd6a2a9d76.12", 1360642314888, {"turret": {}, "resonatorArray": {"resonators": [{"slot": 0, "level": 5, "energyTotal": 3000, "distanceToPortal": 33, "id": "55501bd0-813c-40f9-a1a0-ce59df8d6fae", "ownerGuid": "3c8f3a6cd4fc46b9b7d461c9d0b23d13.c"}, {"slot": 1, "level": 4, "energyTotal": 2500, "distanceToPortal": 33, "id": "fd62a8b0-81a0-41f4-a4a0-6a27a8f72209", "ownerGuid": "701bbf06a53e4f49b2bc7ff9dec00411.c"}, {"slot": 2, "level": 6, "energyTotal": 4000, "distanceToPortal": 33, "id": "c6454b11-ab1e-4656-90c4-1d5d58f1603b", "ownerGuid": "3c8f3a6cd4fc46b9b7d461c9d0b23d13.c"}, {"slot": 3, "level": 4, "energyTotal": 2500, "distanceToPortal": 33, "id": "d9d97a59-eaf9-4d3b-b3f8-225ba3a5fcb4", "ownerGuid": "701bbf06a53e4f49b2bc7ff9dec00411.c"}, {"slot": 4, "level": 5, "energyTotal": 3000, "distanceToPortal": 33, "id": "30035034-3e1c-4344-922a-ec434d979ebb", "ownerGuid": "3c8f3a6cd4fc46b9b7d461c9d0b23d13.c"}, {"slot": 5, "level": 4, "energyTotal": 2500, "distanceToPortal": 33, "id": "6bf1982a-9185-48bc-9022-f30b4932fa70", "ownerGuid": "701bbf06a53e4f49b2bc7ff9dec00411.c"}, {"slot": 6, "level": 6, "energyTotal": 4000, "distanceToPortal": 33, "id": "5128f269-53e1-453e-b2e1-b3aa626d3766", "ownerGuid": "3c8f3a6cd4fc46b9b7d461c9d0b23d13.c"}, {"slot": 7, "level": 4, "energyTotal": 2500, "distanceToPortal": 33, "id": "e96e9d6b-0df1-427b-94e0-811ad3781764", "ownerGuid": "701bbf06a53e4f49b2bc7ff9dec00411.c"}]}, "controllingTeam": {"team": "RESISTANCE"}, "defaultActionRange": {}, "portalV2": {"linkedEdges": [], "linkedModArray": [{"installingUser": "cdbeaba45ce046b1b439dee5cc0843c4.c", "type": "RES_SHIELD", "stats": {"MITIGATION": "10"}, "displayName": "Portal Shield", "rarity": "VERY_RARE"}, {"installingUser": "cdbeaba45ce046b1b439dee5cc0843c4.c", "type": "RES_SHIELD", "stats": {"MITIGATION": "6"}, "displayName": "Portal Shield", "rarity": "COMMON"}, {"installingUser": "cdbeaba45ce046b1b439dee5cc0843c4.c", "type": "RES_SHIELD", "stats": {"MITIGATION": "8"}, "displayName": "Portal Shield", "rarity": "RARE"}, {"installingUser": "cdbeaba45ce046b1b439dee5cc0843c4.c", "type": "RES_SHIELD", "stats": {"MITIGATION": "6"}, "displayName": "Portal Shield", "rarity": "COMMON"}], "descriptiveText": {"ADDRESS": "9836 Southeast Empire Court, Clackamas, OR 97015, United States", "TITLE": "US Post Office-Distribution Ce"}}, "locationE6": {"lngE6": -122560017, "latE6": 45419521}, "captured": {"capturedTime": "1360642156241", "capturingPlayerId": "cdbeaba45ce046b1b439dee5cc0843c4.c"}}]]}, "0021230223121302020": {"deletedGameEntityGuids": ["b299f033f8d044f08c07ced44e5efd3e.9"], "gameEntities": [["96aebca6347b4c678e538bbc9e4e0837.9", 1360593796878, {"controllingTeam": {"team": "RESISTANCE"}, "creator": {"creatorGuid": "9cf5e0ed44ac459b963027918e800085.c", "creationTime": "1360593796625"}, "edge": {"destinationPortalGuid": "fce432ac6b2e417983e1768468401417.11", "originPortalLocation": {"lngE6": -122670217, "latE6": 45498412}, "destinationPortalLocation": {"lngE6": -122613283, "latE6": 45351999}, "originPortalGuid": "ee76a50932984b2396f7e24bf5100f20.12"}}]]}}}}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment