Open
Conversation
added 3 commits
June 29, 2017 16:43
ghost
reviewed
Jun 30, 2017
| player_lng_degrees = self.location[1], | ||
| gym_lat_degrees=fort.latitude, | ||
| gym_lng_degrees=fort.longitude | ||
| ) |
There was a problem hiding this comment.
Question, is there some documentation on this method somewhere? I have been successfully calling:
request.gym_get_info(gym_id=fort.id)
Without the lat/long parameters and it was working fine. I'm not doubting you it means I was probably doing it wrong, but is there some documentation I can see where you see the way to do this?
Author
There was a problem hiding this comment.
There was a problem hiding this comment.
this is indeed the only reliable way I found for it a.t.m.
the pogodev API page isn't up to date, otherwise that could be used.
|
I believe this line needs to be removed in db.py Also occupied is how it is spelled, not ocuppied for time_occupied. Although that might be how Niantic is sending it to us? :) |
RobTwoThree
pushed a commit
to RobTwoThree/Monocle
that referenced
this pull request
Dec 25, 2017
escaped the "é" in "Pokémon"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New gym detail implementation with the lastest API
ALTER TABLE forts ADD COLUMN name VARCHAR(255) AFTER id;
DELETE FROM fort_sightings;
DELETE FROM forts;
And run scripts/create_db.py