Giter VIP home page Giter VIP logo

Comments (13)

segura2010 avatar segura2010 commented on July 18, 2024

heartbeat is in development, so it doesnt work yet

from pokemon-go-node-api.

pogotracker1 avatar pogotracker1 commented on July 18, 2024

Should I close the issue then? Or should we keep it here until we know it's not working? Also if I can have some pointers I would gladly help in the development

from pokemon-go-node-api.

segura2010 avatar segura2010 commented on July 18, 2024

@pogotracker1 heartbeat is in development and doesnt work yet (https://github.com/Armax/Pokemon-GO-node-api/blob/master/poke.io.js#L233), but i dont know if it should return near pokemons, pokestops and/or forts, so i dont know if it is the function you should use to retrive this kind of data.

we can try to keep it opened and ask to @Armax what heartbeat do. Also, i would like to know if heartbeat will give us pokestops info and near pokemons info, and if they will add support to catch pokemons. (I would like to develop a web app bot)

from pokemon-go-node-api.

space87 avatar space87 commented on July 18, 2024

The heart beat is in dev and is working but the heart in the code only runs once at moment put it in a interval and youll see stuff come back as a temp fix

from pokemon-go-node-api.

benjdlambert avatar benjdlambert commented on July 18, 2024

It it not just rate-limiting? if you do setTimeout then do .Heartbeat it works.

It will only do the current cell from what I can see in the code though. It doesn't do multiple requests around you (I think)

from pokemon-go-node-api.

brettstack avatar brettstack commented on July 18, 2024

@benjdlambert you have it working with setTimeout? I've set coords for a known gym location and it's not coming back in Forts - I also set coords to a location where I knew a Pokemon was currently and it also did not return.

from pokemon-go-node-api.

happyDemon avatar happyDemon commented on July 18, 2024

using set timeout or set interval does return data, however I'm not sure how correct that data is if I compare it with different sites that got it working.

from pokemon-go-node-api.

havrylenkok avatar havrylenkok commented on July 18, 2024
heartbeat.cells[0].WildPokemon
heartbeat.cells[0].MapPokemon
heartbeat.cells[0].NearbyPokemon

But i'm not sure what will do return pokemon because when i'm trying to use Heartbeat each of those things is empty array.

from pokemon-go-node-api.

Armax avatar Armax commented on July 18, 2024

I did it in the example :)

from pokemon-go-node-api.

firanto avatar firanto commented on July 18, 2024

It seems that the object is scattered around cells. I've got 21 cells.

Some empty.
Some contain Fort (either PokeStop or Gym since it has both gym point and lure property).
Some contain NearbyPokemon (this should be ones which shows on the nearby window, since they only have fixed distance around 200m, three feet icon I guess)
But none of them contain MapPokemon and WildPokemon. So I don't know what these naming means.
And some contain SpawnPoint which only contain lat-long coordinate without any reference what is spawning in these coordinates.

Anyone has any reference to what these data is? I see at the python version that they can show information about certain pokemon spawned on exact location (lat-long).

from pokemon-go-node-api.

happyDemon avatar happyDemon commented on July 18, 2024

You need try the the CatchablePokemon instead of NearbyPokemon.
both return different pokemon for me.
however the ExpirationTimeMs is never null in CatchablePokemon

from pokemon-go-node-api.

firanto avatar firanto commented on July 18, 2024

Yup. I think it should be that. I didn't see that property (Catchable) on the cells though. Maybe I miss it. I'll look into it later.

EDIT: Ok. It seems that the CatchablePokemon property is missing from the cells in the heartbeat.

from pokemon-go-node-api.

brettstack avatar brettstack commented on July 18, 2024

I'm also not seeing a "CatchablePokemon" prop.

On Thu, 21 Jul 2016 at 08:07 Kerstens Maxim [email protected]
wrote:

You need try the the CatchablePokemon instead of NearbyPokemon.
both return different pokemon for me.
however the ExpirationTimeMs is never null in CatchablePokemon


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#41 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABy6l8HphqXz3qt692vCY7mhbFrqUJ3Uks5qX4nhgaJpZM4JQ6ak
.

from pokemon-go-node-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.