Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

Full Encounter Response #263

Closed RedSparr0w closed 7 years ago

RedSparr0w commented 7 years ago

Get Full Pokemon data response when encountering a wild pokemon including

Example Response:

{
    "WildPokemon": {
        "EncounterId": {
            "low": 1929811629,
            "high": -1112951312,
            "unsigned": true
        },
        "LastModifiedMs": {
            "low": 1441925889,
            "high": 343,
            "unsigned": false
        },
        "Latitude": -36.276991062774776,
        "Longitude": 174.533891373355,
        "SpawnPointId": "6d0ce8da8c9",
        "pokemon": {
            "id": null,
            "pokemon_id": 10,
            "cp": 19,
            "stamina": 17,
            "stamina_max": 17,
            "move_1": 221,
            "move_2": 133,
            "deployed_fort_id": null,
            "owner_name": null,
            "is_egg": null,
            "egg_km_walked_target": null,
            "egg_km_walked_start": null,
            "origin": null,
            "height_m": 0.2770794928073883,
            "weight_kg": 2.614215612411499,
            "individual_attack": 14,
            "individual_defense": 14,
            "individual_stamina": 13,
            "cp_multiplier": 0.16639786958694458,
            "pokeball": null,
            "captured_cell_id": null,
            "battles_attacked": null,
            "battles_defended": null,
            "egg_incubator_id": null,
            "creation_time_ms": null,
            "num_upgrades": null,
            "additional_cp_multiplier": null,
            "favorite": null,
            "nickname": null,
            "from_fort": null
        },
        "TimeTillHiddenMs": 807523
    },
    "EncounterBackground": null,
    "EncounterStatus": 1
}
Metalick commented 7 years ago

Worked perfect! Thank you! Nice job btw!