IP Instant Answer

<hidden> anonymous
Created: 4 years and 2 months ago • Updated: 4 years and 2 months ago
Hi,

I'm looking for a Spice example of obtaining the users IP address for checking against an API.

I thought I'd start by looking at the "What is my IP" instant answer code, however this doesn't seem to be available in any of the following repository's

+ https://github.com/duckduckgo/zeroclicki...
+ https://github.com/duckduckgo/zeroclicki...

Is it possible to create a spice instant answer that can phrase and use the users IP address to produce a result?

Code:
Example: Check users IP address @ robtex https://www.robtex.com/ext/xapiq/?q=<USERS IP>&filter=none&r=json

Thanks

This forum has been archived

Thank you all for the many comments, questions and suggestions. Particular thanks go to user x.15a2 for constantly monitoring, replying and helping so many users here. To continue these discussions, please head over to the DuckDuckGo subreddit.


Jlg
Have you seen ? I use it a lot.
posted by Jlg Community Leader4 years and 2 months ago Link
anonymous
Sure there are plenty of API's that will serve up the ip address like however I'm wondering if there's a method that doesn't require an external API call.
posted by <hidden> • 4 years and 2 months ago Link
Jlg
To be honest I'm not that great of a programmer yet. So I wouldn't really know but maybe someone else does? ping @jbarrett
posted by Jlg Community Leader4 years and 2 months ago Link