pogom icon indicating copy to clipboard operation
pogom copied to clipboard

Implementing the new api into the Scanner

Open Su9m7 opened this issue 8 years ago • 96 comments

Checklist

  • [ ] I have read the FAQ
  • [ ] I have checked if this issue already exists (both open and closed issues)
  • [ ] I am using the most recent version of pogom from the master branch
  • [ ] If this is an installation issue, I am posting my OS, OS version, python version, pip version
  • [ ] I'm posting the complete log
  • [ ] I'm using a descriptive title for this issue

My Issue

Is there anyway to implement the new api into the pogom scanner? My coding skills aren't high enough to understand the scanner's code or to edit the code.

...

Su9m7 avatar Oct 24 '16 19:10 Su9m7

Good question. Not sure by when the new API will be released, but is PoGoM still under development?

smartcuc avatar Oct 24 '16 19:10 smartcuc

I think so

CookiesOfficial avatar Oct 24 '16 19:10 CookiesOfficial

Would be great. I like PoGoM, is my favorit app.

smartcuc avatar Oct 24 '16 21:10 smartcuc

Wait it there a app for pogom

CookiesOfficial avatar Oct 24 '16 21:10 CookiesOfficial

the new api is live, lets hope it gets implemented soon!

HerrTapper avatar Nov 07 '16 14:11 HerrTapper

yes please, pogom is the best scanner out there

Brandje avatar Nov 10 '16 19:11 Brandje

If you are running on a 64bit version of linux, such as ubuntu, try this: https://github.com/PokeHunterProject/pogom-linux. It isn't using the latest api since no one has 0.45.0 re'd yet.

Paralysing avatar Nov 11 '16 23:11 Paralysing

Thx for that Paralysing, now just need to figure out how to get rid of the rate limited errors

Brandje avatar Nov 12 '16 21:11 Brandje

Already patched for 0.45.0, will apply a few patches that I use on my website to minimize empty responses. I would also recommend using a lot of accounts.

Paralysing avatar Nov 12 '16 21:11 Paralysing

Paralysing, a Windows version would be very nice. Would that be possible?

Su9m7 avatar Nov 12 '16 21:11 Su9m7

Yes, I'll see what I can do, shouldn't be too hard.

Paralysing avatar Nov 12 '16 21:11 Paralysing

@Su9m7 Could you try to use https://github.com/PokeHunterProject/pogom-windows?

Paralysing avatar Nov 12 '16 22:11 Paralysing

Yes, i will check it :)

Su9m7 avatar Nov 12 '16 22:11 Su9m7

Console crashes after starting it. Do I have to install the requirements.txt again or anything else?

Su9m7 avatar Nov 12 '16 23:11 Su9m7

Any specific error messages? Are you on a 64bit version of windows?

Paralysing avatar Nov 12 '16 23:11 Paralysing

Yes 64bit Windows. Tried it on 2 pc's. Cant read anything on the console, it crashes too fast

Su9m7 avatar Nov 12 '16 23:11 Su9m7

I'll check if there are any issues.

Paralysing avatar Nov 12 '16 23:11 Paralysing

Added a patch for library path, could you replace the contents of pogom/utils.py with https://github.com/PokeHunterProject/pogom-windows/blob/master/pogom/utils.py or pulling the latest version?

Paralysing avatar Nov 12 '16 23:11 Paralysing

Also, try running the program in cmd with the command "c:\python27\python.exe runserver.py" instead of double clicking.

Paralysing avatar Nov 12 '16 23:11 Paralysing

Windows instructions:

  1. Pull the latest verson from github
  2. Hold shift and right click in the main folder, click "Open command window here"
  3. In the command window, type "python runserver.py", if that doesn't work, try "c:\python27\python.exe runserver.py"

Paralysing avatar Nov 12 '16 23:11 Paralysing

Stuck at this https://picload.org/image/rdppridr/unbenannt.png

Su9m7 avatar Nov 12 '16 23:11 Su9m7

Go to localhost:5000 in a browser and configure the map, the rest is exactly the same as the old pogom.

Paralysing avatar Nov 12 '16 23:11 Paralysing

Working, thanks a lot, you legend

Su9m7 avatar Nov 12 '16 23:11 Su9m7

btw would it be possible to implement pushbullet notifications? https://github.com/favll/pogom/pull/317

Su9m7 avatar Nov 12 '16 23:11 Su9m7

Should be fine if you want to implement it yourself, that PR doesn't affect the api, so there shouldn't be any conflicts.

Paralysing avatar Nov 12 '16 23:11 Paralysing

It crashes after the changes, error message says its because of the changes in runserver.py. Do you have any idea how to solve that? :/

Su9m7 avatar Nov 13 '16 00:11 Su9m7

I'll implement it myself and check, might be because that PR is based off a very old version of pogom, but I'll need to test it first.

Paralysing avatar Nov 13 '16 00:11 Paralysing

I got a running application, but I don't have a pushbullet key, could you try the "pushbullet-test" tree (https://github.com/PokeHunterProject/pogom-windows/tree/pushbullet-test)?

Paralysing avatar Nov 13 '16 00:11 Paralysing

@Su9m7 Does the "pushbullet-test" branch work?

Paralysing avatar Nov 13 '16 00:11 Paralysing

Sorry, still testing, propably not

Su9m7 avatar Nov 13 '16 00:11 Su9m7