Maome / ingress-bot

47 stars 31 forks source link

How to get the nemesis ID? #6

Open Maertuerer opened 10 years ago

Maertuerer commented 10 years ago

Would be great to know how to get the current nemesis ID! =)

Hope you can help, Dustin

duplicat commented 10 years ago

NemesisID is an encoded json string, representing two values passed in one parameter (json=), this is the decoded sample string: {"nemesisSoftwareVersion":"2013-11-05T00:10:10Z c0bfd67a2024 opt","deviceSoftwareVersion":"4.2.4"}

After you encode it with java.net.URLEncoder.encode, it should be something like: %7B%22nemesisSoftwareVersion%22%3A%222013-11-05T00%3A10%3A10Z%20c0bfd67a2024%20opt%22%2C%22deviceSoftwareVersion%22%3A%224.2.4%22%7D

Maertuerer commented 10 years ago

Thanks a lot, I got it to work =)

Maertuerer commented 10 years ago

Hey duplicat is there a way to write you a pm?

Thanks in advance!

duplicat commented 10 years ago

duplicat at gmx.com