Comments (13)
heartbeat is in development, so it doesnt work yet
from pokemon-go-node-api.
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.
@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.
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.
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.
@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.
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.
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.
I did it in the example :)
from pokemon-go-node-api.
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.
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.
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.
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)
- Cannot get coordinates of nearby/map pokemon
- [Question] How to get pokemon attacks ? HOT 3
- Cannot find module 'request' HOT 1
- Inventory parameter of GetInventory is null HOT 1
- EvolvePokemon : error regarding cp_multiplier HOT 2
- Refresh Token when user log in with Google HOT 2
- Launch Berry? HOT 2
- self.GetApiEndpoint doesn't work HOT 3
- Capture pokemon
- Unable to host project
- CatchPokemon return null!! HOT 1
- Error when building with webpack
- Get Pokemon Coords
- Wrong values in MapPokemon.ExpirationTimeMs
- api 0.39
- pogo.GetProfile throws exception after successful login HOT 2
- Cannot authenitcate with Google, even with App Password HOT 2
- Getting null/rpc
- maybe beginner's mistake HOT 1
- Translate Documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokemon-go-node-api.